mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-06 21:35:13 +02:00
Metrics (#3)
* Basic metrics working * Add consumer & producer metrics * Grafana & Prometheus in docker compose
This commit is contained in:
parent
33b646eaec
commit
9ab7613e07
25 changed files with 888 additions and 327 deletions
35
prometheus/prometheus.yml
Normal file
35
prometheus/prometheus.yml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
global:
|
||||
|
||||
scrape_interval: 15s # By default, scrape targets every 15 seconds.
|
||||
|
||||
# Attach these labels to any time series or alerts when communicating with
|
||||
# external systems (federation, remote storage, Alertmanager).
|
||||
external_labels:
|
||||
monitor: 'trustgraph'
|
||||
|
||||
# A scrape configuration containing exactly one endpoint to scrape:
|
||||
# Here it's Prometheus itself.
|
||||
scrape_configs:
|
||||
|
||||
# The job name is added as a label `job=<job_name>` to any timeseries
|
||||
# scraped from this config.
|
||||
|
||||
- job_name: 'trustgraph'
|
||||
|
||||
# Override the global default and scrape targets from this job every
|
||||
# 5 seconds.
|
||||
scrape_interval: 5s
|
||||
|
||||
static_configs:
|
||||
- targets:
|
||||
- 'pdf-decoder:8000'
|
||||
- 'chunker:8000'
|
||||
- 'vectorize:8000'
|
||||
- 'embeddings:8000'
|
||||
- 'kg-extract-definitions:8000'
|
||||
- 'kg-extract-relationships:8000'
|
||||
- 'vector-write:8000'
|
||||
- 'graph-write:8000'
|
||||
- 'llm:8000'
|
||||
- 'graph-rag:8000'
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue