chore: update name to Metrics Drilldown

pull/101062/head
Nick Richmond 10 months ago
parent 16fda6f686
commit a14dd12cfb
  1. 2
      packages/grafana-prometheus/src/index.ts
  2. 4
      public/app/features/trails/Integrations/dashboardIntegration.ts
  3. 2
      public/app/features/trails/MetricSelect/AddToExplorationsButton.tsx
  4. 4
      public/app/features/trails/helpers/MetricDatasourceHelper.ts
  5. 2
      public/app/features/trails/otel/util.ts

@ -86,7 +86,7 @@ export {
} from './types'; } from './types';
export { PrometheusVariableSupport } from './variables'; export { PrometheusVariableSupport } from './variables';
// For explore metrics // For Grafana Metrics Drilldown
export { default as PromQlLanguageProvider } from './language_provider'; export { default as PromQlLanguageProvider } from './language_provider';
export { getPrometheusTime } from './language_utils'; export { getPrometheusTime } from './language_utils';
export { isValidLegacyName, utf8Support, wrapUtf8Filters } from './utf8_support'; export { isValidLegacyName, utf8Support, wrapUtf8Filters } from './utf8_support';

@ -61,7 +61,7 @@ export async function addDataTrailPanelAction(dashboard: DashboardScene, panel:
if (subMenu.length > 0) { if (subMenu.length > 0) {
items.push({ items.push({
text: 'Explore metrics', text: 'Metrics drilldown',
iconClassName: 'code-branch', iconClassName: 'code-branch',
subMenu: getUnique(subMenu), subMenu: getUnique(subMenu),
}); });
@ -109,7 +109,7 @@ function createCommonEmbeddedTrailStateProps(item: QueryMetric, dashboard: Dashb
const commonProps = { const commonProps = {
scene: embeddedTrail, scene: embeddedTrail,
title: 'Explore metrics', title: 'Metrics drilldown',
}; };
return commonProps; return commonProps;

@ -80,7 +80,7 @@ export class AddToExplorationButton extends SceneObjectBase<AddToExplorationButt
return; return;
} }
const ctx = { const ctx = {
origin: 'Explore Metrics', origin: 'Metrics Drilldown',
type: 'timeseries', type: 'timeseries',
queries, queries,
timeRange: { ...timeRange.state.value }, timeRange: { ...timeRange.state.value },

@ -154,7 +154,7 @@ export class MetricDatasourceHelper {
} }
/** /**
* Used for additional filtering for adhoc vars labels in Explore metrics. * Used for additional filtering for adhoc vars labels in Grafana Metrics Drilldown.
* @param options * @param options
* @returns * @returns
*/ */
@ -170,7 +170,7 @@ export class MetricDatasourceHelper {
} }
/** /**
* Used for additional filtering for adhoc vars label values in Explore metrics. * Used for additional filtering for adhoc vars label values in Grafana Metrics Drilldown.
* @param options * @param options
* @returns * @returns
*/ */

@ -548,7 +548,7 @@ function checkLabelPromotion(filters: AdHocVariableFilter[], nonPromotedOtelReso
* Once we know this, we can add the selected filter to either the * Once we know this, we can add the selected filter to either the
* VAR_OTEL_RESOURCES or VAR_FILTERS variable. * VAR_OTEL_RESOURCES or VAR_FILTERS variable.
* *
* When the correct variable is updated, the rest of the explore metrics behavior will remain the same. * When the correct variable is updated, the rest of the Grafana Metrics Drilldown behavior will remain the same.
* *
* @param newStateFilters * @param newStateFilters
* @param prevStateFilters * @param prevStateFilters

Loading…
Cancel
Save