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

Lag in messages per follower replica is giving 404 #2873

Closed
nivedithag13 opened this issue May 31, 2017 · 6 comments
Closed

Lag in messages per follower replica is giving 404 #2873

nivedithag13 opened this issue May 31, 2017 · 6 comments
Labels
discussion Topics for discussion help wanted Request for community participation, code, contribution

Comments

@nivedithag13
Copy link

trying to fetch metrics for kafka
One of the metrics as mentioned below
Lag in messages per follower replica

kafka.server:type=FetcherLagMetrics,name=ConsumerLag,clientId=([-.\w]+),topic=([-.\w]+),partition=([0-9]+)

is giving me following response when I run the telegraf.conf file
Error handling response: Not expected status value in response body: 404

Entry in the telegraf.conf file is as follows
[[inputs.jolokia.metrics]]
name = "processor_avg_idle_percent"
mbean = "kafka.server:type={Produce|Fetch},user=([-.\w]+),client-id=([-.\w]+)"
attribute = "byte-rate,throttle-time"

@danielnelson
Copy link
Contributor

What is the expected result?

@nivedithag13
Copy link
Author

expected result should give us the metrics

@nivedithag13
Copy link
Author

can someone look into this or suggest how can I fetchlag metrics for Consumer w.r.to client and topics

@danielnelson danielnelson added help wanted Request for community participation, code, contribution discussion Topics for discussion labels Jun 5, 2017
@danielnelson
Copy link
Contributor

danielnelson commented Nov 7, 2017

@nivedithag13 In the 1.5 release, coming out in about a month, there is a replacement plugin called jolokia2 with a different configuration format, you can try it out using the nightly builds.

Can you try this out and let me know if you are able to get it working?

@danielnelson
Copy link
Contributor

We can reopen if the jolokia2 input does not solve the issue. You can now use the latest release candidate.

https://github.com/influxdata/telegraf/releases

@danielnelson
Copy link
Contributor

Perhaps this pull request would be of interest for the lag metrics: #3489

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Topics for discussion help wanted Request for community participation, code, contribution
Projects
None yet
Development

No branches or pull requests

2 participants