opentelemetry-collector-contrib icon indicating copy to clipboard operation
opentelemetry-collector-contrib copied to clipboard

[receiver/purefa] Go metrics should be ignored

Open jpkrohling opened this issue 2 years ago • 13 comments

Component(s)

receiver/purefa

What happened?

Currently, the Go metrics are being included in the Pure FA receiver, but should be ignored.

Collector version

current main

Environment information

No response

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

cc @dgoscn

jpkrohling avatar Dec 12 '22 23:12 jpkrohling

We could consider creating a ‘include exporter go performance metrics if available’ configuration item that’s off by default.

The problem with these go metrics rarely have context like what endpoint was called since that’s not a label on the exporter.

I can also see a few cases where these metrics will no longer be exposed in the future.

If it’s going to take more than 15 minutes to implement the config item; it’s probably not worth it.

chrroberts-pure avatar Dec 13 '22 06:12 chrroberts-pure

go metrics rarely have context like what endpoint was called since that’s not a label on the exporter

We should be able to add more labels there.

jpkrohling avatar Jan 25 '23 14:01 jpkrohling

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

  • receiver/purefa: @jpkrohling @dgoscn @chrroberts-pure

See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] avatar Mar 27 '23 03:03 github-actions[bot]

go metrics rarely have context like what endpoint was called since that’s not a label on the exporter

We should be able to add more labels there.

Of course.

dgoscn avatar Mar 28 '23 02:03 dgoscn

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

  • receiver/purefa: @jpkrohling @dgoscn @chrroberts-pure

See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] avatar Jul 26 '23 03:07 github-actions[bot]

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

  • receiver/purefa: @jpkrohling @dgoscn @chrroberts-pure

See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] avatar Sep 25 '23 03:09 github-actions[bot]

@dgoscn, is this still in your radar?

jpkrohling avatar Sep 25 '23 15:09 jpkrohling

Hey @jpkrohling, yes, of course. I will keep you updated on this issue for this week.

dgoscn avatar Sep 25 '23 18:09 dgoscn

@dgoscn any progress on this?

Since Dynatrace are deprecating their own exporter in favour of the native otlphttp exporter the logs are full of errors relating to dropped go_ metrcis

2023-11-13T07:42:57.003-0500    error   exporterhelper/retry_sender.go:145      Exporting failed. The error is not retryable. Dropping data.    {"kind": "exporter", "data_type": "metrics", "name": "otlphttp", "error": "Permanent error: OTLP partial success: The following issues were encountered while ingesting OTLP metrics:\nErrors:\nUnsupported metric: 'go_memstats_mallocs_total' - Reason: UNSUPPORTED_METRIC_TYPE_MONOTONIC_CUMULATIVE_SUM\nUnsupported metric: 'go_gc_duration_seconds' - Reason: UNSUPPORTED_METRIC_TYPE_SUMMARY\nWarnings:\nMetric key too short - normalized from: 'up' to: 'up_' - Reason: METRIC_KEY_TOO_SHORT\n (2 rejected)", "dropped_items": 100}
go.opentelemetry.io/collector/exporter/exporterhelper.(*retrySender).send
        go.opentelemetry.io/collector/[email protected]/exporterhelper/retry_sender.go:145
go.opentelemetry.io/collector/exporter/exporterhelper.(*metricsSenderWithObservability).send
        go.opentelemetry.io/collector/[email protected]/exporterhelper/metrics.go:176
go.opentelemetry.io/collector/exporter/exporterhelper.(*queueSender).start.func1
        go.opentelemetry.io/collector/[email protected]/exporterhelper/queue_sender.go:126
go.opentelemetry.io/collector/exporter/exporterhelper/internal.(*boundedMemoryQueue).Start.func1

james-laing avatar Nov 13 '23 12:11 james-laing

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

  • receiver/purefa: @jpkrohling @dgoscn @chrroberts-pure

See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] avatar Jan 15 '24 03:01 github-actions[bot]

ping @dgoscn

jpkrohling avatar Jan 25 '24 15:01 jpkrohling

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

  • receiver/purefa: @jpkrohling @dgoscn @chrroberts-pure

See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] avatar Mar 27 '24 03:03 github-actions[bot]

I would like to take a look

claudiobastos avatar May 08 '24 10:05 claudiobastos

Hi! @claudiobastos this may be closed.

these metrics are now longer exported with the latest version of the Pure Storage exporter.

https://github.com/PureStorage-OpenConnect/pure-fa-openmetrics-exporter/commit/95c532b9c7f335a1aa083fff75ee8b40adaf12d3

chrroberts-pure avatar Jun 03 '24 21:06 chrroberts-pure