config updates (#1800)
* cleanup * update create plugin config and query help fix * query types file * Update docker-compose.yml Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com> * addressed review comments --------- Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
This commit is contained in:
@@ -4,7 +4,8 @@ import { DataSourceRef, dateMath, PanelProps } from '@grafana/data';
|
||||
import { getDataSourceSrv } from '@grafana/runtime';
|
||||
import { contextSrv } from 'grafana/app/core/core';
|
||||
import { ProblemsPanelOptions, RTResized } from './types';
|
||||
import { ProblemDTO, ZabbixMetricsQuery, ZBXQueryUpdatedEvent, ZBXTag } from '../datasource/types';
|
||||
import { ZabbixMetricsQuery } from '../datasource/types/query';
|
||||
import { ProblemDTO, ZBXQueryUpdatedEvent, ZBXTag } from '../datasource/types';
|
||||
import { APIExecuteScriptResponse } from '../datasource/zabbix/connectors/zabbix_api/types';
|
||||
import ProblemList from './components/Problems/Problems';
|
||||
import { AckProblemData } from './components/AckModal';
|
||||
|
||||
@@ -2,8 +2,7 @@ import React from 'react';
|
||||
import { Button } from '@grafana/ui';
|
||||
import { StandardEditorProps } from '@grafana/data';
|
||||
|
||||
type Props = StandardEditorProps<any>;
|
||||
export const ResetColumnsEditor = ({ onChange }: Props): JSX.Element => {
|
||||
export const ResetColumnsEditor = ({ onChange }: StandardEditorProps<any>) => {
|
||||
return (
|
||||
<Button variant="secondary" onClick={() => onChange([])}>
|
||||
Reset columns
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ from 'lodash';
|
||||
import { getNextRefIdChar } from './utils';
|
||||
import { ShowProblemTypes } from '../datasource/types';
|
||||
import { ShowProblemTypes } from '../datasource/types/query';
|
||||
import { ProblemsPanelOptions } from './types';
|
||||
import { PanelModel } from '@grafana/data';
|
||||
|
||||
|
||||
@@ -2,11 +2,10 @@
|
||||
"type": "panel",
|
||||
"name": "Zabbix Problems",
|
||||
"id": "alexanderzobnin-zabbix-triggers-panel",
|
||||
|
||||
"info": {
|
||||
"author": {
|
||||
"name": "Alexander Zobnin",
|
||||
"url": "https://github.com/alexanderzobnin/grafana-zabbix"
|
||||
"name": "Grafana Labs",
|
||||
"url": "https://grafana.com"
|
||||
},
|
||||
"logos": {
|
||||
"small": "img/icn-zabbix-problems-panel.svg",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import _ from 'lodash';
|
||||
import { DataQuery, dateMath } from '@grafana/data';
|
||||
import { dateMath } from '@grafana/data';
|
||||
import { DataQuery } from '@grafana/schema';
|
||||
import * as utils from '../datasource/utils';
|
||||
import { ProblemDTO } from 'datasource/types';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user