Altalogy / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

spike: collecting logs and allowing querying #209

Closed tarnas14 closed 2 years ago

tarnas14 commented 2 years ago

Description

how to use:

  1. run docker-compose -f docker-compose.loki.yml up -d in docker_rig
  2. start tari_launchpad
  3. start any container from launchpad
  4. see logs under http://localhost:3100/loki/api/v1/query_range?query={job=%22logstash%22}&start=1653823389381999872

Motivation and Context

206

this can allow our backend to provide an api endpoint to frontend for log querying (LogQL queries from frontend, based on labels setup in logstash)

How Has This Been Tested?

??

tarnas14 commented 2 years ago

closing, we will not use logspot/logstash, since the files are discoverable, they will be scraped with promtail and loki