Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(encoding): add functions for individually encoding registry & EOF #205

Merged
merged 3 commits into from
Jul 7, 2024

Commits on Jul 3, 2024

  1. feat(encoding): add functions for individually encoding registry & EOF

    All credits on the initial idea, implementation, and testing belong to
    @amunra, who is the original author of this PR prometheus#154.
    
    From the original PR description:
    
    Adds new `encode_registry` and `encode_eof` functions to allow encoding
    of parts of the response.
    
    This is useful when there are multiple registries at play, or when
    composing metrics for a process that embeds Rust as part of its logic
    whilst serving metrics to Prometheus outside of Rust.
    
    Fixes: prometheus#153
    Refs: prometheus#154, prometheus#204
    
    Co-authored-by: amunra <cimarosti@gmail.com>
    Signed-off-by: tyrone-wu <wudevelops@gmail.com>
    tyrone-wu and amunra committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    7b7f1fb View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Update CHANGELOG.md

    Signed-off-by: Max Inden <mail@max-inden.de>
    mxinden authored Jul 7, 2024
    Configuration menu
    Copy the full SHA
    f4bdfa6 View commit details
    Browse the repository at this point in the history
  2. Update Cargo.toml

    Signed-off-by: Max Inden <mail@max-inden.de>
    mxinden authored Jul 7, 2024
    Configuration menu
    Copy the full SHA
    662c0d0 View commit details
    Browse the repository at this point in the history