You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 version ae1185dbcdc41d666f7e9f47474ea8996dbc8968)
What did you do?
Followed the instruction in README.md
npm install
npm run docker:start
npm run start:metrics
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 to collector-config.yaml, I see that metrics are received, but the data looks a bit weird.
Sent from metrics.js:
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
Neither of the counters expose metrics. However, the value recorder does work.
# HELP test_value_recorder Example of a ValueRecorder
# TYPE test_value_recorder histogram
test_value_recorder_bucket{environment="staging",pid="91681",le="+Inf"} 13
test_value_recorder_sum{environment="staging",pid="91681"} 5.192049108940445
test_value_recorder_count{environment="staging",pid="91681"} 13
Switching to PrometheusExporter give all the metrics:
# HELP requests Example of a Counter
# TYPE requests counter
requests{pid="102893",environment="staging"} 2 1622577824543
# HELP test_up_down_counter Example of a UpDownCounter
# TYPE test_up_down_counter gauge
test_up_down_counter{pid="102893",environment="staging"} 0 1622577824543
# HELP test_value_recorder Example of a ValueRecorder
# TYPE test_value_recorder histogram
test_value_recorder_count{pid="102893",environment="staging"} 2 1622577824543
test_value_recorder_sum{pid="102893",environment="staging"} 0.6842843667376255 1622577824543
test_value_recorder_bucket{pid="102893",environment="staging",le="+Inf"} 2 1622577824543
Counters using opentelementry-rust-otlp seem to work just fine.
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: