Skip to content

Filter scrape_errors_total per job #903

@TommieGrove

Description

@TommieGrove

Is your feature request related to a problem? Please describe.
My exporter config consists of multiple jobs, each job is configured for a single target/sql instance. scrape_configs is configured to scrape each job separately. Each job contains all the scrape errors for the exporter.

Describe the solution you'd like
scrape_errors_total should be specific to the job being scraped.

Describe alternatives you've considered
scrape_error_drop_interval and honor_labels. Not sure if these would work.

Additional context

mssql_test.collector.yml

sql_exporter.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions