Skip to content

Add scrape_duration metric for scrapers #13059

@chenlujjj

Description

@chenlujjj

Component(s)

No response

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

Now for scrapers , there are otelcol_scraper_errored_metric_points_total and otelcol_scraper_scraped_metric_points_total metrics to observe their internal behavior. Better to have scrape_duration metric, so that we can know the scrape efficiency.

Describe the solution you'd like

Add a scrape_duration metric along with other otelcol_scraper_ metrics

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    collector-telemetryhealthchecker and other telemetry collection issuesenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions