# Opentelemetry metrics can not display in kibana

**URL:** https://discuss.elastic.co/t/opentelemetry-metrics-can-not-display-in-kibana/364964
**Category:** Elastic Observability
**Created:** [August 15, 2024, 2:33pm UTC](https://discuss.elastic.co/t/opentelemetry-metrics-can-not-display-in-kibana/364964 "2024-08-15T14:33:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Rock\_You](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rock_you/32/136797_2.png) [@Rock\_You](https://discuss.elastic.co/u/Rock_You)
#### Post date: [August 15, 2024, 2:33pm UTC](https://discuss.elastic.co/t/opentelemetry-metrics-can-not-display-in-kibana/364964/1 "2024-08-15T14:33:05Z")

</div>

Hi all,

I use the APM Go with OpenTelemetry API as bellow link:

Agenthttps://www.elastic.co/guide/en/apm/agent/go/current/opentelemetry.html#opentelemetry-metrics-init

And I want to export my custom metric to kibana, but not found the metric, here codes as below:  
exporter, \_ := apmotel.NewGatherer()

```
// Configure OpenTelemetry
provider1 := metric.NewMeterProvider(metric.WithReader(exporter))
otel.SetMeterProvider(provider1)
// Configure the Elastic APM
apm.DefaultTracer().RegisterMetricsGatherer(exporter)

meter := provider1.Meter("my_application")
counter, _ := meter.Float64Counter("metric_called")
counter.Add(context.TODO(), 1)

```

the version info as below which i used:  
kibana v7.17.5 , elastic apm v7.17.5, Elasticsearch v7.17.5

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/e/ee5d188b75e7137338d30e1e19138767b7eef492.png)
