Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Provide Prometheus HTTP header #10

@KodyKantor

Description

@KodyKantor

Applications that expose Prometheus metrics are expected to include an HTTP header. The current header looks like this:

'Content-Type: text/plain; version=0.0.4'

artedi already has a global constant for specifying the Prometheus text format version, so we could also allow users to easily retrieve the HTTP header to include when they have their metrics endpoint scraped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions