Skip to content

Commit

Permalink
development: update grafana agent flow setup (#6610)
Browse files Browse the repository at this point in the history
Enable sending exemplars from the Agent
Enable receiving exemplars in Mimir
Fix command line option for agent flow

Signed-off-by: György Krajcsovits <[email protected]>
  • Loading branch information
krajorama authored Nov 10, 2023
1 parent dbc941a commit e6a9483
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ prometheus.remote_write "mimir" {
endpoint {
url = "http://mimir-1:8001/api/v1/push"
send_native_histograms = true
send_exemplars = true
}
}
1 change: 1 addition & 0 deletions development/mimir-monolithic-mode/config/mimir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ ruler_storage:

limits:
native_histograms_ingestion_enabled: true
max_global_exemplars_per_user: 100000

runtime_config:
file: ./config/runtime.yaml
2 changes: 1 addition & 1 deletion development/mimir-monolithic-mode/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ services:
image: grafana/agent:v0.37.3
environment:
- AGENT_MODE=flow
command: ["run", "--server.http.address=0.0.0.0:9092", "/etc/agent/config.river"]
command: ["run", "--server.http.listen-addr=0.0.0.0:9092", "/etc/agent/config.river"]
volumes:
- ./config/grafana-agent.river:/etc/agent/config.river
ports:
Expand Down

0 comments on commit e6a9483

Please sign in to comment.