mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* Add phlare datasource * Rename * Add parca * Add self field to parca * Make sure phlare works with add to dashboard flow * Add profiling category and hide behind feature flag * Update description and logos * Update phlare icon * Cleanup logging * Clean up logging * Fix for shift+enter * onRunQuery to set label * Update type naming * Fix lint * Fix test and quality issues Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
11 lines
434 B
TypeScript
11 lines
434 B
TypeScript
import { DataSourcePlugin } from '@grafana/data';
|
|
|
|
import { ConfigEditor } from './ConfigEditor';
|
|
import { QueryEditor } from './QueryEditor/QueryEditor';
|
|
import { ParcaDataSource } from './datasource';
|
|
import { Query, ParcaDataSourceOptions } from './types';
|
|
|
|
export const plugin = new DataSourcePlugin<ParcaDataSource, Query, ParcaDataSourceOptions>(ParcaDataSource)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setQueryEditor(QueryEditor);
|