Skip to content

Conversation

@flaneur2020
Copy link
Member

@flaneur2020 flaneur2020 commented Apr 21, 2025

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

prometheus hates labels with high cardinalities.

this pr removes two high cardinality labels:

  1. table_id label in the table locks metrics, users may have thousands of tables
  2. root label in opendal access metrics, users may have thousands of stages

Tests

  • No Test - improve metrics

Type of change

  • Other (please describe): metrics enhancement

This change is Reviewable

@github-actions github-actions bot added the pr-bugfix this PR patches a bug in codebase label Apr 21, 2025
@zhang2014 zhang2014 merged commit 3547bee into main Apr 21, 2025
221 of 226 checks passed
@zhang2014 zhang2014 deleted the fix-metrics branch April 21, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix this PR patches a bug in codebase

3 participants