-
Notifications
You must be signed in to change notification settings - Fork 792
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
Collector-exporter-node example is not working, no metrics are exposed #1587
Comments
I guess you are probably using the latest docker with collector 0.12 which is using proto ver. 0.5.0. If that is the case then you can either use ver 0.6 of collector or wait until this is going to be reviewed, merged and released -> #1588 |
I think there may still be an issue.
Neither of the counters expose metrics. However, the value recorder does work.
Switching to PrometheusExporter give all the metrics:
Counters using opentelementry-rust-otlp seem to work just fine. |
This is the old SDK with old examples. Everything has been changed since this issue |
Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
0.11.0
What version of Node are you using?
v12.18.2
Please provide the code you used to setup the OpenTelemetry SDK
opentelemetry-js\examples\collector-exporter-node
(current git versionae1185dbcdc41d666f7e9f47474ea8996dbc8968
)What did you do?
Followed the instruction in
README.md
What did you expect to see?
Metrics to be visible at
http://localhost:9464/metrics
What did you see instead?
The response is HTTP 200, but no metrics are exposed.
I see, that metrics are sent from
metrics.js
. If I apply logging exporter tocollector-config.yaml
, I see that metrics are received, but the data looks a bit weird.Sent from metrics.js:
Logged in collector:
No errors, but descriptor details are missing and no metrics info. Maybe this is ok, but still nothing is exposed over
http://localhost:9464/metrics
The text was updated successfully, but these errors were encountered: