Dears,
I’m trying to test Grafana Mimir for potential use in monitoring some servers and services in the future.
My test environment consists of the following:
- Instance1: A Vagrant virtual machine with Prometheus and Grafana Mimir installed.
- Instance2: A Vagrant virtual machine running node_exporter. Prometheus installed on Machine 1 collects data from it.
- Instance3: A Vagrant virtual machine running Telegraf, which sends data to the Prometheus installed on Machine 1.
The problem:
Everything seems to be working okay. When I access Prometheus via http://Instance1:9090, I can query it normally. When I access the others instances (on port 9100 and 9273), I can see the metrics collected for Prometheus. However, when I try to access Grafana Mimir at http://Instance1:9009/prometheus, I receive a “404 page not found” error.
- My configuration:
On Instance1
Prometheus:
[…]
scrape_configs:
- job_name: “prometheus”
static_configs:
- targets: [“localhost:9090”]
- job_name: ‘node_exporter’
file_sd_configs:
- files:
- node_exporter/nodes.json
scrape_interval: 5s- job_name: ‘telegraf’
static_configs:
- targets: [‘intancia3:9273’]
remote_write:- url: My_IP_Here:9009/api/v1/push
Grafana Mimir:
multitenancy_enabled: false
blocks_storage:
backend: filesystem
bucket_store:
sync_dir: /tmp/mimir/tsdb-sync
filesystem:
dir: /tmp/mimir/data/tsdb
tsdb:
dir: /tmp/mimir/tsdbcompactor:
data_dir: /tmp/mimir/compactor
sharding_ring:
kvstore:
store: memberlistdistributor:
ring:
instance_addr: 127.0.0.1
kvstore:
store: memberlistingester:
ring:
instance_addr: 127.0.0.1
kvstore:
store: memberlist
replication_factor: 1ruler_storage:
backend: filesystem
filesystem:
dir: /tmp/mimir/rulesserver:
http_listen_port: 9009
log_level: errorstore_gateway:
sharding_ring:
replication_factor: 1
Of course, I plan to apply a more suitable configuration in production, but for initial tests, all I wanted was to see Grafana Mimir working so that I could then expand the testing.
What might be wrong in this case? Could someone help me ?
Thanks.