// Code generated - EDITING IS FUTILE. DO NOT EDIT. // // Generated by: // public/app/plugins/gen.go // Using jennies: // TSTypesJenny // PluginTSTypesJenny // // Run 'make gen-cue' from repository root to regenerate. import * as common from '@grafana/schema'; export type PyroscopeQueryType = ('metrics' | 'profile' | 'both'); export const defaultPyroscopeQueryType: PyroscopeQueryType = 'both'; export interface GrafanaPyroscope extends common.DataQuery { /** * Allows to group the results. */ groupBy: Array; /** * Specifies the query label selectors. */ labelSelector: string; /** * Sets the maximum number of nodes in the flamegraph. */ maxNodes?: number; /** * Specifies the type of profile to query. */ profileTypeId: string; /** * Specifies the query span selectors. */ spanSelector?: Array; } export const defaultGrafanaPyroscope: Partial = { groupBy: [], labelSelector: '{}', spanSelector: [], };