mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ExploreMetrics: Prefer underscores for events (#96938)
refactor: event casing
This commit is contained in:
parent
4ea15f2f2c
commit
8a006dd4b6
@ -136,7 +136,7 @@ const actionViewsDefinitions: ActionViewDefinition[] = [
|
|||||||
if (relatedLogsFeatureEnabled) {
|
if (relatedLogsFeatureEnabled) {
|
||||||
actionViewsDefinitions.push({
|
actionViewsDefinitions.push({
|
||||||
displayName: 'Related logs',
|
displayName: 'Related logs',
|
||||||
value: 'related-logs',
|
value: 'related_logs',
|
||||||
getScene: buildRelatedLogsScene,
|
getScene: buildRelatedLogsScene,
|
||||||
description: 'Relevant logs based on current label filters and time range',
|
description: 'Relevant logs based on current label filters and time range',
|
||||||
});
|
});
|
||||||
|
@ -2,7 +2,7 @@ import { BusEventBase, BusEventWithPayload } from '@grafana/data';
|
|||||||
import { ConstantVariable, SceneObject } from '@grafana/scenes';
|
import { ConstantVariable, SceneObject } from '@grafana/scenes';
|
||||||
import { VariableHide } from '@grafana/schema';
|
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 {
|
export interface ActionViewDefinition {
|
||||||
displayName: string;
|
displayName: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user