Loki/Prometheus: updates addLabelToQuery method to prevent it from adding labels outside of selector when using Loki datasource (#25059) * Chore: updates add label to query method in prometheus datasource to fix loki label insert * Chore: adds addLabelToQuery test covering differences between adding label to loki vs non-loki queries * Chore: adds an additional comment to addLabelToQuery * Chore: renames isLokiDatasource to hasNoMetrics in addLabelToQuery
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
components | Loading commit data... | |
configuration | Loading commit data... | |
dashboards | Loading commit data... | |
img | Loading commit data... | |
partials | Loading commit data... | |
README.md | Loading commit data... | |
add_label_to_query.test.ts | Loading commit data... | |
add_label_to_query.ts | Loading commit data... | |
datasource.test.ts | Loading commit data... | |
datasource.ts | Loading commit data... | |
language_provider.test.ts | Loading commit data... | |
language_provider.ts | Loading commit data... | |
language_utils.test.ts | Loading commit data... | |
language_utils.ts | Loading commit data... | |
metric_find_query.d.ts | Loading commit data... | |
metric_find_query.test.ts | Loading commit data... | |
metric_find_query.ts | Loading commit data... | |
module.test.ts | Loading commit data... | |
module.ts | Loading commit data... | |
plugin.json | Loading commit data... | |
promql.test.ts | Loading commit data... | |
promql.ts | Loading commit data... | |
query_hints.test.ts | Loading commit data... | |
query_hints.ts | Loading commit data... | |
result_transformer.test.ts | Loading commit data... | |
result_transformer.ts | Loading commit data... | |
types.ts | Loading commit data... |