Skip to content

Support ingesting gcp metrics with value type being Distribution #39600

Open
@karan-statsig

Description

@karan-statsig

Component(s)

receiver/googlecloudmonitoring

Is your feature request related to a problem? Please describe.

Of the different Value types documented in the Google Cloud Monitoring API, the googlecloudmonitoring receiver currently supports INT64 and DOUBLE, and gives an info level log for others, eg
Unhandled metric value type: {"Type": {"DistributionValue":{REDACTED} and pushes the metric along in the pipeline, without a valid value.

Distribution Value Type is the 3rd most common type in the list of metrics published by GCP (~227 metric matches), and only slightly behind DOUBLE (~417 metric matches). It is also the type on metrics which are very desirable to monitor, such as system latency.

Describe the solution you'd like

Support for the Distribution Value Type.

Describe alternatives you've considered

Not aware of what alternatives exist - with this component dropping all data of the unsupported Distribution type, there's also no way to process it downstream and make those metrics usable before full support is added.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions