Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consul-exporter is not exposing full metrics #297

Open
hanumank8 opened this issue Feb 15, 2024 · 0 comments
Open

consul-exporter is not exposing full metrics #297

hanumank8 opened this issue Feb 15, 2024 · 0 comments

Comments

@hanumank8
Copy link

hanumank8 commented Feb 15, 2024

I am using consul_exporter in ec2 vm instance, consul_exporter-0.11.0.linux-amd64, Noticed that we are not getting all metrics and the following metrics only showing in Prometheus. Furthermore, consul_up gives 1.

consul_raft_peers
consul_serf_lan_members
consul_catalog_services
consul_catalog_service_node_healthy
consul_health_node_status
consul_health_service_status

I am running

systemctl status consul_exporter.service
● consul_exporter.service - Consul Exporter
Loaded: loaded (/etc/systemd/system/consul_exporter.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2024-02-15 09:28:25 UTC; 13min ago
Main PID: 11770 (consul_exporter)
CGroup: /system.slice/consul_exporter.service
└─11770 /usr/local/bin/consul_exporter

Feb 15 09:28:25 xxx.net systemd[1]: Started Consul Exporter.
Feb 15 09:28:25 xxxx.net consul_exporter[11770]: ts=2024-02-15T09:28:25.863Z caller=consul_exporter.go:82 level=info msg="Starting consul_exporter" vers...8160ee8)"
Feb 15 09:28:25 xxx.net consul_exporter[11770]: ts=2024-02-15T09:28:25.863Z caller=consul_exporter.go:83 level=info build_context="(go=go1.21.5, platfo...unknown)"
Feb 15 09:28:25 xxx.net consul_exporter[11770]: ts=2024-02-15T09:28:25.863Z caller=tls_config.go:274 level=info msg="Listening on" address=[::]:9107
Feb 15 09:28:25 xxx.net consul_exporter[11770]: ts=2024-02-15T09:28:25.863Z caller=tls_config.go:277 level=info msg="TLS is disabled." http2=false addr...[::]:9107

in Prometheus I have belowconfig

  • job_name: 'consul_exporter'
    scrape_interval: 5s
    static_configs:
    • targets: ['11.0.0.1:9107']

in Prometheus targets http://11.0.0.1:9107:9107/metrics not working. Can you help me know on this once? to get all metrics.

Thanks,
.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant