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
rename Tags to Labels in SeriesData (simple) #16284
Conversation
Think this could a good change, the only reason I went with tags here is that backend model calls it Tags, https://github.com/grafana/grafana/blob/master/pkg/tsdb/models.go#L39 Graphite & InfluxDB as well. But the backend model should be able to change that without breaking changes as we only have internal data sources that use it. |
I just updated this to:
There is obviously no right answer on tags vs labels -- we just got to pick one :) Eventually I hope the backend has a SeriesData model, but since it does not match TimeSeries anyway, I don't think it matters |
* grafana/master: Fix: Bring back styles on Switch components when checked Update CHANGELOG.md Chore: breaks build if certain FrontEnd limits are exceeded (grafana#16301) Fix: Graphite query ast to string fix (grafana#16297) Fix: Template query editor this bind exception fix (grafana#16299) Fix: Alerting Notification channel http api fixes (grafana#16288) Refactor: Move LogLevel and Labels utils to @grafana/ui (grafana#16285) Refactor: Rename Tags to Labels in SeriesData (simple) (grafana#16284) Elasticsearch: Fix view percentiles metric in table without date histogram (grafana#15686) Configuration: Improve session_lifetime comments (grafana#16238) Alerting: Makes timeouts and retries configurable (grafana#16259)
…-scroll-again * grafana/master: Fix: Bring back styles on Switch components when checked Update CHANGELOG.md Chore: breaks build if certain FrontEnd limits are exceeded (grafana#16301) Fix: Graphite query ast to string fix (grafana#16297) Fix: Template query editor this bind exception fix (grafana#16299) Fix: Alerting Notification channel http api fixes (grafana#16288) Refactor: Move LogLevel and Labels utils to @grafana/ui (grafana#16285) Refactor: Rename Tags to Labels in SeriesData (simple) (grafana#16284) Elasticsearch: Fix view percentiles metric in table without date histogram (grafana#15686) Configuration: Improve session_lifetime comments (grafana#16238) Alerting: Makes timeouts and retries configurable (grafana#16259) Fix: Correct SnapshotData typing (grafana#16279) Feat: Angular panels & SeriesData to Table/TimeSeries (grafana#16266) Fix: React Graph & Show message on no data (grafana#16278)
* grafana/master: Fix: Bring back styles on Switch components when checked Update CHANGELOG.md Chore: breaks build if certain FrontEnd limits are exceeded (grafana#16301) Fix: Graphite query ast to string fix (grafana#16297) Fix: Template query editor this bind exception fix (grafana#16299) Fix: Alerting Notification channel http api fixes (grafana#16288) Refactor: Move LogLevel and Labels utils to @grafana/ui (grafana#16285) Refactor: Rename Tags to Labels in SeriesData (simple) (grafana#16284) Elasticsearch: Fix view percentiles metric in table without date histogram (grafana#15686) Configuration: Improve session_lifetime comments (grafana#16238) Alerting: Makes timeouts and retries configurable (grafana#16259) Fix: Correct SnapshotData typing (grafana#16279) Feat: Angular panels & SeriesData to Table/TimeSeries (grafana#16266) Fix: React Graph & Show message on no data (grafana#16278)
* grafana/master: (102 commits) Fix: Bring back styles on Switch components when checked Update CHANGELOG.md Chore: breaks build if certain FrontEnd limits are exceeded (grafana#16301) Fix: Graphite query ast to string fix (grafana#16297) Fix: Template query editor this bind exception fix (grafana#16299) Fix: Alerting Notification channel http api fixes (grafana#16288) Refactor: Move LogLevel and Labels utils to @grafana/ui (grafana#16285) Refactor: Rename Tags to Labels in SeriesData (simple) (grafana#16284) Elasticsearch: Fix view percentiles metric in table without date histogram (grafana#15686) Configuration: Improve session_lifetime comments (grafana#16238) Alerting: Makes timeouts and retries configurable (grafana#16259) Fix: Correct SnapshotData typing (grafana#16279) Feat: Angular panels & SeriesData to Table/TimeSeries (grafana#16266) Fix: React Graph & Show message on no data (grafana#16278) Feature: added actionable message in Explore when no datasource configured (grafana#16252) Feature: Case insensitive Loki search (grafana#15948) Feat: Singlestat panel react progress & refactorings (grafana#16039) Chore: Implement gosec (grafana#16261) Fix: Updated snapshot unit test that was failing Refactor: Theme & Removed the last rems (grafana#16245) ...
* grafana/master: Fix: Bring back styles on Switch components when checked Update CHANGELOG.md Chore: breaks build if certain FrontEnd limits are exceeded (grafana#16301) Fix: Graphite query ast to string fix (grafana#16297) Fix: Template query editor this bind exception fix (grafana#16299) Fix: Alerting Notification channel http api fixes (grafana#16288) Refactor: Move LogLevel and Labels utils to @grafana/ui (grafana#16285) Refactor: Rename Tags to Labels in SeriesData (simple) (grafana#16284) Elasticsearch: Fix view percentiles metric in table without date histogram (grafana#15686) Configuration: Improve session_lifetime comments (grafana#16238) Alerting: Makes timeouts and retries configurable (grafana#16259) Fix: Correct SnapshotData typing (grafana#16279) Feat: Angular panels & SeriesData to Table/TimeSeries (grafana#16266) Fix: React Graph & Show message on no data (grafana#16278)
…-srv * grafana/master: Fix: Bring back styles on Switch components when checked Update CHANGELOG.md Chore: breaks build if certain FrontEnd limits are exceeded (grafana#16301) Fix: Graphite query ast to string fix (grafana#16297) Fix: Template query editor this bind exception fix (grafana#16299) Fix: Alerting Notification channel http api fixes (grafana#16288) Refactor: Move LogLevel and Labels utils to @grafana/ui (grafana#16285) Refactor: Rename Tags to Labels in SeriesData (simple) (grafana#16284) Elasticsearch: Fix view percentiles metric in table without date histogram (grafana#15686) Configuration: Improve session_lifetime comments (grafana#16238) Alerting: Makes timeouts and retries configurable (grafana#16259) Fix: Correct SnapshotData typing (grafana#16279) Feat: Angular panels & SeriesData to Table/TimeSeries (grafana#16266) Fix: React Graph & Show message on no data (grafana#16278)
* grafana/master: Fix: Bring back styles on Switch components when checked Update CHANGELOG.md Chore: breaks build if certain FrontEnd limits are exceeded (grafana#16301) Fix: Graphite query ast to string fix (grafana#16297) Fix: Template query editor this bind exception fix (grafana#16299) Fix: Alerting Notification channel http api fixes (grafana#16288) Refactor: Move LogLevel and Labels utils to @grafana/ui (grafana#16285) Refactor: Rename Tags to Labels in SeriesData (simple) (grafana#16284) Elasticsearch: Fix view percentiles metric in table without date histogram (grafana#15686) Configuration: Improve session_lifetime comments (grafana#16238) Alerting: Makes timeouts and retries configurable (grafana#16259) Fix: Correct SnapshotData typing (grafana#16279) Feat: Angular panels & SeriesData to Table/TimeSeries (grafana#16266) Fix: React Graph & Show message on no data (grafana#16278)
* grafana/master: (608 commits) Fix: Bring back styles on Switch components when checked Update CHANGELOG.md Chore: breaks build if certain FrontEnd limits are exceeded (grafana#16301) Fix: Graphite query ast to string fix (grafana#16297) Fix: Template query editor this bind exception fix (grafana#16299) Fix: Alerting Notification channel http api fixes (grafana#16288) Refactor: Move LogLevel and Labels utils to @grafana/ui (grafana#16285) Refactor: Rename Tags to Labels in SeriesData (simple) (grafana#16284) Elasticsearch: Fix view percentiles metric in table without date histogram (grafana#15686) Configuration: Improve session_lifetime comments (grafana#16238) Alerting: Makes timeouts and retries configurable (grafana#16259) Fix: Correct SnapshotData typing (grafana#16279) Feat: Angular panels & SeriesData to Table/TimeSeries (grafana#16266) Fix: React Graph & Show message on no data (grafana#16278) Feature: added actionable message in Explore when no datasource configured (grafana#16252) Feature: Case insensitive Loki search (grafana#15948) Feat: Singlestat panel react progress & refactorings (grafana#16039) Chore: Implement gosec (grafana#16261) Fix: Updated snapshot unit test that was failing Refactor: Theme & Removed the last rems (grafana#16245) ...
I'm looking at loki and SeriesData... about to post a proposal :)
We added a
Tags
interface to SeriesData, but I think we should rename it toLabels
so it feels more natural for the prometheus/loki people and I don't think anyone really cares that it is called Tags