From 975b9059993b1f3f4616c3b8a0ef128ad7931258 Mon Sep 17 00:00:00 2001 From: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com> Date: Wed, 9 Aug 2023 14:36:19 +0530 Subject: [PATCH] console: update openTelemetry docs link from console PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10012 GitOrigin-RevId: b804d84f53ffbee23b5a2c2f490d065bd0552031 --- .../OpenTelemetry/components/Form/Form.tsx | 10 +++++----- .../components/Header/Hero/HeroDisabled.tsx | 2 +- .../components/Header/Hero/HeroEnabled.tsx | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/libs/console/legacy-ce/src/lib/features/OpenTelemetry/OpenTelemetry/components/Form/Form.tsx b/frontend/libs/console/legacy-ce/src/lib/features/OpenTelemetry/OpenTelemetry/components/Form/Form.tsx index 1389e0a2066..d123e16ad98 100644 --- a/frontend/libs/console/legacy-ce/src/lib/features/OpenTelemetry/OpenTelemetry/components/Form/Form.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/features/OpenTelemetry/OpenTelemetry/components/Form/Form.tsx @@ -66,7 +66,7 @@ export function Form(props: FormProps) { label="Traces Endpoint" placeholder="Your OpenTelemetry traces endpoint" tooltip="OpenTelemetry-compliant traces receiver endpoint URL(At the moment, only HTTP is supported). This usually ends in /v1/traces" - learnMoreLink="https://hasura.io/docs/latest/enterprise/opentelemetry/#endpoint" + learnMoreLink="https://hasura.io/docs/latest/observability/opentelemetry/#endpoint" clearButton loading={skeletonMode} className="pr-4" @@ -90,7 +90,7 @@ export function Form(props: FormProps) { label="Metrics Endpoint" placeholder="Your OpenTelemetry metrics endpoint" tooltip="OpenTelemetry-compliant metrics receiver endpoint URL(At the moment, only HTTP is supported). This usually ends in /v1/metrics. Metrics will be sampled and exported every 15 seconds." - learnMoreLink="https://hasura.io/docs/latest/enterprise/opentelemetry/#endpoint" + learnMoreLink="https://hasura.io/docs/latest/observability/opentelemetry/#endpoint" clearButton loading={skeletonMode} disabled={!metricsType} @@ -115,7 +115,7 @@ export function Form(props: FormProps) { label="Batch Size" placeholder="A number between 1 and 512" tooltip="The maximum number of data points in an export request. The value should be between 1-512. Default value is 512." - learnMoreLink="https://hasura.io/docs/latest/enterprise/opentelemetry/#batch-size" + learnMoreLink="https://hasura.io/docs/latest/observability/opentelemetry/#batch-size" clearButton loading={skeletonMode} /> @@ -123,7 +123,7 @@ export function Form(props: FormProps) { inputFieldName="headers" label="Headers" tooltip="Additional custom headers added to export request." - learnMoreLink="https://hasura.io/docs/latest/enterprise/opentelemetry/#headers" + learnMoreLink="https://hasura.io/docs/latest/observability/opentelemetry/#headers" loading={skeletonMode} > {/* No need to redact the input fields since Heap avoid recording the input field values by default */} @@ -133,7 +133,7 @@ export function Form(props: FormProps) { inputFieldName="attributes" label="Attributes" tooltip="Additional custom tags added to export request." - learnMoreLink="https://hasura.io/docs/latest/enterprise/opentelemetry/#attributes" + learnMoreLink="https://hasura.io/docs/latest/observability/opentelemetry/#attributes" loading={skeletonMode} > {/* No need to redact the input fields since Heap avoid recording the input field values by default */} diff --git a/frontend/libs/console/legacy-ce/src/lib/features/OpenTelemetry/OpenTelemetry/components/Header/Hero/HeroDisabled.tsx b/frontend/libs/console/legacy-ce/src/lib/features/OpenTelemetry/OpenTelemetry/components/Header/Hero/HeroDisabled.tsx index 05b46744dbc..83138796303 100644 --- a/frontend/libs/console/legacy-ce/src/lib/features/OpenTelemetry/OpenTelemetry/components/Header/Hero/HeroDisabled.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/features/OpenTelemetry/OpenTelemetry/components/Header/Hero/HeroDisabled.tsx @@ -276,7 +276,7 @@ export function HeroDisabled() { />