Skip to content

feat: allow display_hint config for indexes#1610

Open
jonaskuske wants to merge 1 commit intoprometheus:mainfrom
jonaskuske:feat/display-hints-for-index-oid-strings
Open

feat: allow display_hint config for indexes#1610
jonaskuske wants to merge 1 commit intoprometheus:mainfrom
jonaskuske:feat/display-hints-for-index-oid-strings

Conversation

@jonaskuske
Copy link
Copy Markdown
Contributor

In #1549, support for DISPLAY-HINT was added for metrics/lookups. However, this does not cover labels/strings coming from Index OIDs.

This PR extends the Index type and indexOidsAsString function to also handle display hints. This allows e.g. cases where IP addresses are used as index in OctetString format.

I was not sure how to best integrate this into the generator and its config, so I've left this part out of the PR for now. Happy to receive some pointers on how this could be integrated into the generator step, otherwise this could be merged as-is and require manual config adjustment for now, and generator functionality could come later?

Signed-off-by: Jonas Kuske <mail@jonaskuske.com>
@jonaskuske jonaskuske force-pushed the feat/display-hints-for-index-oid-strings branch from 4041cd7 to accdeab Compare April 17, 2026 10:35
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