214
214
</template >
215
215
</el-row >
216
216
</template >
217
- <!-- OpenTelemetry -->
218
- <el-form-item v-if =" selectedPlatform === DATADOG" >
219
- <i18n-t keypath =" MonitoringIntegration.dataDogTip" tag =" p" class =" tip" >
220
- <template #docUse >
221
- <a :href =" docMap.documentation" target =" _blank" >{{ tl('thisDoc') }}</a >
222
- </template >
223
- <template #docIntegration >
224
- <a :href =" docMap.datadogIntegration" target =" _blank" >
225
- {{ tl('datadogIntegration') }}
226
- </a >
227
- </template >
228
- </i18n-t >
229
- </el-form-item >
230
217
<el-col class =" btn-col" :span =" 24" >
231
- <el-button
232
- type =" primary"
233
- :loading =" isSubmitting"
234
- :disabled =" selectedPlatform === DATADOG"
235
- @click =" submit"
236
- >
218
+ <el-button type =" primary" :loading =" isSubmitting" @click =" submit" >
237
219
{{ $t('Base.saveChanges') }}
238
220
</el-button >
239
221
<el-button v-if =" selectedPlatform === 'Prometheus'" @click =" showPromSetup = true" >
251
233
import { getOpenTelemetry , getPrometheus , setOpenTelemetry , setPrometheus } from ' @/api/common'
252
234
import opentelemetryImg from ' @/assets/img/opentelemetry.png'
253
235
import promImg from ' @/assets/img/prom.png'
254
- import dataDogImg from ' @/assets/img/datadog.png'
255
236
import { checkNOmitFromObj } from ' @/common/tools'
256
237
import FormItemLabel from ' @/components/FormItemLabel.vue'
257
238
import InfoTooltip from ' @/components/InfoTooltip.vue'
@@ -268,18 +249,14 @@ import { useStore } from 'vuex'
268
249
import HelpDrawer from ' ./components/HelpDrawer.vue'
269
250
import useSSL from ' @/hooks/useSSL'
270
251
import CommonTLSConfig from ' @/components/TLSConfig/CommonTLSConfig.vue'
271
- import useDocLink from ' @/hooks/useDocLink'
272
252
273
253
const PROMETHEUS = ' Prometheus'
274
254
const OPENTELEMETRY = ' OpenTelemetry'
275
- const DATADOG = ' Datadog'
276
255
277
256
const { tl, t } = useI18nTl (' MonitoringIntegration' )
278
257
const store = useStore ()
279
258
const { createSSLForm } = useSSL ()
280
259
281
- const { docMap } = useDocLink ()
282
-
283
260
const platformOpts = [
284
261
{
285
262
label: PROMETHEUS ,
@@ -291,11 +268,6 @@ const platformOpts = [
291
268
value: OPENTELEMETRY ,
292
269
img: opentelemetryImg ,
293
270
},
294
- {
295
- label: DATADOG ,
296
- value: DATADOG ,
297
- img: dataDogImg ,
298
- },
299
271
]
300
272
301
273
const selectedPlatform = ref (platformOpts [0 ].value )
0 commit comments