Pyroscope: Remove "phlare" from variable, types, strings etc (#75140)

This commit is contained in:
Andrej Ocenas
2023-09-20 16:31:22 +02:00
committed by GitHub
parent d1296f7213
commit 15e54df9f2
29 changed files with 143 additions and 148 deletions

View File

@ -4,10 +4,10 @@ import { QueryEditorProps, SelectableValue } from '@grafana/data';
import { InlineField, InlineFieldRow, LoadingPlaceholder, Select } from '@grafana/ui';
import { ProfileTypesCascader, useProfileTypes } from './QueryEditor/ProfileTypesCascader';
import { PhlareDataSource } from './datasource';
import { PyroscopeDataSource } from './datasource';
import { Query, VariableQuery } from './types';
export function VariableQueryEditor(props: QueryEditorProps<PhlareDataSource, Query, {}, VariableQuery>) {
export function VariableQueryEditor(props: QueryEditorProps<PyroscopeDataSource, Query, {}, VariableQuery>) {
return (
<>
<InlineFieldRow>
@ -87,7 +87,7 @@ export function VariableQueryEditor(props: QueryEditorProps<PhlareDataSource, Qu
}
function LabelRow(props: {
datasource: PhlareDataSource;
datasource: PyroscopeDataSource;
value?: string;
profileTypeId?: string;
from: number;
@ -128,7 +128,7 @@ function LabelRow(props: {
}
function ProfileTypeRow(props: {
datasource: PhlareDataSource;
datasource: PyroscopeDataSource;
onChange: (val: string) => void;
initialValue?: string;
}) {