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
I want to use Prometheus as a datasource (if possible) because from my research it will work better with my stack.
For starters I am just trying to add manually some static values on Prometheus that will then be passes to Grafrana to be and there I would like to see the data and then of course graph it.
I am trying to add this to Prometheus at this moment
http_requests_total{country_code="US"} = 1
I am using prometheus_client from Python
But I am not sure of what the script needs to to exactly to show that data on the server's endpoint.
But then once I got that data on the server endpoint how do I get Grafrana to show the data based on labels?
And is possible could someone advise on how do I do to parse the old logs BUT also update new entries added to the logs?
Hi,
I am to get this working.
I have not previous experience with Grafana.
And no experience with Prometheus either.
I want to use Prometheus as a datasource (if possible) because from my research it will work better with my stack.
For starters I am just trying to add manually some static values on Prometheus that will then be passes to Grafrana to be and there I would like to see the data and then of course graph it.
I am trying to add this to Prometheus at this moment
http_requests_total{country_code="US"} = 1
I am using prometheus_client from Python
But I am not sure of what the script needs to to exactly to show that data on the server's endpoint.
But then once I got that data on the server endpoint how do I get Grafrana to show the data based on labels?
And is possible could someone advise on how do I do to parse the old logs BUT also update new entries added to the logs?
I am working with Nginx
I tried playing around with the following link and use it as a reference but I have desisted as it apered to be outdated and it wont work straight away also that uses influxDB which I would have then have to adapt to prometheus anyway.
https://medium.com/faun/total-nginx-monitoring-with-application-performance-and-a-bit-more-using-8fc6d731051b
Any advise would be appreciated.
Thanks,
\M
The text was updated successfully, but these errors were encountered: