You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for this awesome plugin. Helped me to get rid of logspout, logstash and statsd.
But some small clarifications.
is it possible to get custom metrics( like per path or incoming ip/server)
Is it possible to gather metrics with methods(GET, POST, OPTIONS)
and one doubt,
while looking at nginx_http_requests_total I saw
nginx_http_requests_total{host="xxx.yyy.com",instance="10.0.0.156:9145",job="nginx_prom",status="200"} 58408
and nginx_http_requests_total{instance="10.0.0.156:9145",job="nginx_prom",status="200"} 138
one with instance and one without. What's this?
I am running nginx in docker swarm, with 6 replicas, and prometheus dns_sd to discover nodes.
--
Thank you.
The text was updated successfully, but these errors were encountered:
I found the solution. Thank you for the awesome plugin once again. Preparing documentation, How I did it for nginx running in a swarm. If you're interested I can raise PR. It'll be an honor.
A time series in Prometheus is identified by a metric name and a combination of labels, so it's completely normal to have several metrics with the same name and different labels.
In your example it seems like you either added or removed the host label at some point.
Hi,
Thank you for this awesome plugin. Helped me to get rid of logspout, logstash and statsd.
But some small clarifications.
and one doubt,
while looking at
nginx_http_requests_total
I sawnginx_http_requests_total{host="xxx.yyy.com",instance="10.0.0.156:9145",job="nginx_prom",status="200"} 58408
and
nginx_http_requests_total{instance="10.0.0.156:9145",job="nginx_prom",status="200"} 138
one with instance and one without. What's this?
I am running nginx in docker swarm, with 6 replicas, and prometheus
dns_sd
to discover nodes.--
Thank you.
The text was updated successfully, but these errors were encountered: