David Ashpole
David Ashpole
We should actually replace semconvgen with weaver. @jsuereth 's PoC: https://github.com/open-telemetry/opentelemetry-go/pull/5793 Part of https://github.com/open-telemetry/weaver/issues/227
> Are Scope attributes considered a completely different namespace from the other attributes? I.e. can I have a Scope attribute http.host that has a completely different meaning from the Span...
I suspect these are opencensus metrics. Is the OC bridge still used when metrics level is set to none?
nevermind. OC grpc metrics have a different name: https://github.com/census-instrumentation/opencensus-go/blob/01e6da5fc01c42aca1e0ce315f41744876e9fcbb/plugin/ocgrpc/server_metrics.go#L16
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...
Were you able to check this? > Can you look at the up, and scrape_* metrics to see if any targets are failing to be scraped, or any metrics are...
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...
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...
> I browsed the log detailly but still anything contains error or drop. May I send you an email with my remote peer endpoint ? No, sorry. Please don't email...
My best guess is that we don't apply the config to the discovery manager here: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/8477a83afdfc8750d471cdb5b4af2fb227bc8423/receiver/prometheusreceiver/metrics_receiver.go#L366 We iterate over `cfg.ScrapeConfigs`, rather than `cfg.GetScrapeConfigs()`, which incorporates configuration from scrape_config_files. We should...