Skip to content

Not able to find PrometheusExporter class in Prometheus Exporter #908

@debasis09

Description

@debasis09

There are documentation available in the net that we need PrometheusExporter class object to Export the metrics which will be scraped by Prometheus server.
Even found the sample code like

address = "localhost:8080";
PrometheusExporter exporter{address};
//.......prepare metrices then
exporter.Export(collection);

But when I downloaded the opentelemetry-cpp repo I did not find any prometheus_exporter.h or prometheus_exporter.cc in the repo.

Can you plz tell me where to find PrometheusExporter class or how to export the "collection" without PrometheusExporter class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions