ExploreMetrics: Prefer underscores for events (#96938)

refactor: event casing
This commit is contained in:
Nick Richmond 2024-11-22 15:18:27 -05:00 committed by GitHub
parent 4ea15f2f2c
commit 8a006dd4b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ const actionViewsDefinitions: ActionViewDefinition[] = [
if (relatedLogsFeatureEnabled) {
actionViewsDefinitions.push({
displayName: 'Related logs',
value: 'related-logs',
value: 'related_logs',
getScene: buildRelatedLogsScene,
description: 'Relevant logs based on current label filters and time range',
});

View File

@ -2,7 +2,7 @@ import { BusEventBase, BusEventWithPayload } from '@grafana/data';
import { ConstantVariable, SceneObject } from '@grafana/scenes';
import { VariableHide } from '@grafana/schema';
export type ActionViewType = 'overview' | 'breakdown' | 'label-breakdown' | 'related-logs' | 'related';
export type ActionViewType = 'overview' | 'breakdown' | 'related_logs' | 'related';
export interface ActionViewDefinition {
displayName: string;