opentelemetry-go icon indicating copy to clipboard operation
opentelemetry-go copied to clipboard

otel-collector example does not use metrics

Open mx-psi opened this issue 2 years ago • 5 comments

Description

The example/otel-collector example mentions metrics on its README but it does not have any metrics export code since #1990.

Expected behavior

The example would either document how to use metrics or it would remove any mention of metrics from its description.

mx-psi avatar Aug 04 '21 15:08 mx-psi

It looks like the metrics part of the example was removed when we were splitting up the OTLP exporter and never added back. We should probably create a separate example for metrics as we have included this example in the stable version set and cannot take a metrics dependency there until metrics are stable.

Aneurysm9 avatar Sep 08 '21 01:09 Aneurysm9

I'm new on OpenTelemetry, and when I search for demo examples, I found this issue. If this issue still need help, I've love to help with this. Is this ok for you? @Aneurysm9 @MrAlias

fatsheep9146 avatar Apr 02 '22 04:04 fatsheep9146

That would be great, @fatsheep9146. I'll assign this issue to you.

Aneurysm9 avatar Apr 04 '22 18:04 Aneurysm9

I've already tested the demo code for metrics otel-collector locally, but I'm not sure how to write this doc is the best.

  1. Modify this existing 'otel-collector' example, complement with metric part
  2. Add a new folder which name is 'otel-collector-for-metric' and put the code right there.

Which one do you suggest? @Aneurysm9

fatsheep9146 avatar Apr 17 '22 06:04 fatsheep9146

I have already make a seperate demo for otel-colletor and metric data. @mx-psi @Aneurysm9 @MrAlias

fatsheep9146 avatar Apr 19 '22 05:04 fatsheep9146