Hi all,

I would like to suggest removing the "realm_id" metric tag entirely.

My concern is that this tag has the potential for high cardinality, which
is generally considered a bad practice when dealing with metrics. High
cardinality can lead to performance issues and increased memory usage.

Granted, the default realm resolver in Polaris is tailored for just a
handful of realms, but nothing prevents users from declaring hundreds of
realms.

I believe we can still effectively monitor Polaris servers without this
specific tag, since the realm ID is also propagated in traces emitted by
Polaris. Tracing is a much better fit for high-cardinality domains.

I'm open to discussing this further; a potential alternative would be to
introduce a flag to disable this specific metric tag, but I feel like
removing it would be a much cleaner approach.

Let me know your thoughts.

Thanks,

Alex

Reply via email to