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... | |
img | Loading commit data... | |
partials | Loading commit data... | |
LokiAnnotationsQueryCtrl.tsx | Loading commit data... | |
README.md | 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... | |
live_streams.test.ts | Loading commit data... | |
live_streams.ts | Loading commit data... | |
mocks.ts | Loading commit data... | |
module.ts | Loading commit data... | |
plugin.json | Loading commit data... | |
query_utils.test.ts | Loading commit data... | |
query_utils.ts | Loading commit data... | |
result_transformer.test.ts | Loading commit data... | |
result_transformer.ts | Loading commit data... | |
syntax.test.ts | Loading commit data... | |
syntax.ts | Loading commit data... | |
types.ts | Loading commit data... |