Thanos Compactor is working but prometheus job failing

20 views
Skip to first unread message

venkat raman

unread,
Oct 9, 2021, 2:15:25 PM10/9/21
to Prometheus Users

Hi Team,

We are running thanos compactor in one VM it is up and running fine when we check the status. But it is not showing metrics in prometheus and job shows as connection refused.

image

image

Thanos Compactor Configuration: thanos:v0.21.1

This is the configuration

compactor:
image: thanosio/thanos:v0.21.1
container_name: compactor
command:
- "compact"
- "--log.level=info"
- "--data-dir=/data"
- "--objstore.config-file=/Bucket.yml"
- "--http-address=0.0.0.0:10902"
- "--http-grace-period=2m"
- "--consistency-delay=30m"
- "--wait"
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "2"
ports:
- 10902:10902
volumes:
- ./Bucket.yml:/Bucket.yml
- /etc/hosts:/etc/hosts
- ../data/:/data
networks:
- thanos

 Could you please help to sort out urgently because this issue happening in our live environment.?

Thanks,
Venkatraman N

Reply all
Reply to author
Forward
0 new messages