-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Prometheus receiver miss some metrics #34727
Comments
Pinging code owners for receiver/prometheus: @Aneurysm9 @dashpole. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Do you see anything in the logs? Can you enable debug logging, and let us know if there are any scrape failures, etc? can you share the full scrape response for that metric? Can you look at the |
Hi, Thank you for the reply.
These are some parts of my log.
|
@dashpole Hi, I found this issue was assigned. If any detail should I provide, please ping me. |
Were you able to check this?
|
Hi, I did not find some error. did you mean config the receivers to get the scrape log? sorry I don't know how to do it, could you give me some advice?
|
You should get additional metrics with names "up", and "scrape_series_added", and a few other scrape_.* metrics. The scrape.* metrics let you know if any metrics were dropped or rejected by Prometheus |
Hi,I filter the metrics
|
Right, you will need to look at the values of those metrics to see if any are being dropped, or if the target is down. Otherwise, if you can provide the full output of the prometheus endpoint (e.g. using curl), we can try to reproduce. |
I browsed the log detailly but still found nothing contains error or drop. May I send you an email with my remote peer |
No, sorry. Please don't email me links. I also don't actually need your logs--I need the metrics scrape response. |
Hi, I found nothing drop or error in the metrics scrape response. But it overlooked some certain segments
Above There are the scrape log
|
I will have a try to debug the code |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Component(s)
cmd/otelcontribcol
What happened?
Description
When I use
prometheus receiver
to grab metrics, I foundotel
miss someone, but it could grab othermertics which have the similar structure.
Steps to Reproduce
Expected Result
orginal data
Actual Result
Only get
ipCount
Collector version
v0.107.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: