Skip to content

feat(encoding): Expose encode_descriptor and encode_metric#299

Open
patrick-ogrady wants to merge 1 commit intoprometheus:masterfrom
patrick-ogrady:expose-encoders
Open

feat(encoding): Expose encode_descriptor and encode_metric#299
patrick-ogrady wants to merge 1 commit intoprometheus:masterfrom
patrick-ogrady:expose-encoders

Conversation

@patrick-ogrady
Copy link
Copy Markdown

For callers implementing their own Registry (commonwarexyz/monorepo#3664), exposing access to more encode_* primitives (like encode_eof) avoids some hairy workarounds downstream.

Signed-off-by: Patrick O'Grady <me@patrickogrady.xyz>
Comment thread src/encoding/text.rs
name,
unit,
const_labels,
family_labels: None,
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could expose both prefix/family_labels here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant