Comments (7)
Please post in English.
from prometheus-nginxlog-exporter.
Can you provide the json file of this nginx exporter performance in grafana ,Thank you !
My English is not Good!
from prometheus-nginxlog-exporter.
My English is not Good!
...but still better than my Chinese. :)
I'm not entirely sure which Grafana dashboard you're referring to; are you referring to the one shown in my blog article on this exporter? I don't have the JSON for that dashboard at hand right now, because it's running in a private network. But at least you can find the PromQL queries for getting the raw data out of Prometheus in that article:
The diagrams in the screenshot above were generated from the following Prometheus queries:
- Average response time:
sum(rate(app_http_response_time_seconds_sum[5m])) by (instance) / sum(rate(app_http_response_time_seconds_count[5m])) by (instance)
- Requests per second:
sum(rate(app_http_response_time_seconds_count[1m])) by (instance)
- Response time (90% quantile):
app_http_response_time_seconds{quantile="0.9",method="GET",status="200"}
- HTTP traffic:
sum(rate(app_http_response_size_bytes[5m])) by (instance)
- Status codes per second:
sum(rate(app_http_response_count_total[1m])) by (status)
Let me know if that helps.
from prometheus-nginxlog-exporter.
Thanks for your answer !
I have read your blog and did them but I can't get the values
I use the same configuration as yours
from prometheus-nginxlog-exporter.
And I created a graph in grafana to show the data ,But it didn't work !
like this picture
Then I wanted to show the data:
sum(rate(app_http_response_time_seconds_sum[5m])) by (instance) / sum(rate(app_http_response_time_seconds_count[5m])) by (instance)
But there was no data like this
I guess maybe the the grammar of query is not correct or can't match
Can you help me ?
And now the place where you live maybe is night, I am sorry to bother you !
and if you can find the json file, can you provide it for me?
from prometheus-nginxlog-exporter.
Could you share your confiuration file (if you're using one) and the command-line flags you're starting the exporter with?
Keep in mind that the metrics are not necessarily named app_*
like in my examples, but might be named differently depending on configuration (something that was already requested to be changed in #13).
from prometheus-nginxlog-exporter.
Closing for now. I've added a FAQ section to the README that contains some common issues and their causes that you might want to check. Feel free to re-open this issue, should your problem persist.
from prometheus-nginxlog-exporter.
Related Issues (20)
- no metrics but all nginx log parameters appear HOT 1
- join two labells HOT 1
- RPM package start,Memory continues to grow and never stops
- 404 error at startup HOT 2
- error while parsing $upstream_response_time: value '"0.001"' could not be parsed into float HOT 1
- Add `unmatch` for the `relabel` processor. HOT 2
- Metrics persistence HOT 4
- Unable to parse logs with common log format HOT 2
- Unable to open file /var/log/nginx/access.log: open /var/log/nginx/access.log: permission denied HOT 4
- No metrics prometheus-nginxlog-exporter! HOT 3
- Expose metrics using https
- Missing metrics
- match replacement rule is incorrect.
- not working HOT 1
- could not be parsed into float HOT 1
- Something wrong with relabel match regexp | not working in some cases
- prometheus-nginxlog-exporter made wrong regex for given format
- example json pasrsing HOT 1
- Relabel from path
- cannot read file nginxlog-exporter.conf
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheus-nginxlog-exporter.