diff --git a/public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx b/public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx index f14848e20cf..e91ab6eb329 100644 --- a/public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx +++ b/public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx @@ -3,6 +3,7 @@ import { InlineFormLabel, LegacyForms } from '@grafana/ui'; const { Select, Input } = LegacyForms; import { DataSourceSettings, SelectableValue } from '@grafana/data'; import { OpenTsdbOptions } from '../types'; +import { useUniqueId } from '../../influxdb/components/useUniqueId'; const tsdbVersions = [ { label: '<=2.1', value: 1 }, @@ -23,12 +24,17 @@ interface Props { export const OpenTsdbDetails = (props: Props) => { const { onChange, value } = props; + const idSuffix = useUniqueId(); + return ( <>
OpenTSDB settings
- Version + + Version + { />
- Lookup limit + + Lookup limit +
- @@ -62,9 +63,10 @@
-