mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Remove jenny_ts_resources and use jenny_ts_types for all cases
* Unify TS generated files into one jenny
* Add missing imports to versioned files
* Update Parca plugin
* Fix loki
* Use LokiQuery
* Fix pyroscope tests
* Fix prettier
* 😒 fix default pyroscope value name
* Set the LokiQuery
* Update Elasticsearch and TestData
* Missed files from testdata
* Order imports
45 lines
1.0 KiB
TypeScript
45 lines
1.0 KiB
TypeScript
// 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 GrafanaPyroscopeDataQuery extends common.DataQuery {
|
|
/**
|
|
* Allows to group the results.
|
|
*/
|
|
groupBy: Array<string>;
|
|
/**
|
|
* 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<string>;
|
|
}
|
|
|
|
export const defaultGrafanaPyroscopeDataQuery: Partial<GrafanaPyroscopeDataQuery> = {
|
|
groupBy: [],
|
|
labelSelector: '{}',
|
|
spanSelector: [],
|
|
};
|