Prometheus: Fix docs link in config page (#109385)

fix docs link
This commit is contained in:
Gareth
2025-08-14 10:10:02 +01:00
committed by GitHub
parent 7e925a718c
commit 96c2f48ad5
3 changed files with 3 additions and 3 deletions
@@ -30,7 +30,7 @@ export const ConfigEditor = (props: PrometheusConfigProps) => {
)}
<DataSourceDescription
dataSourceName="Prometheus"
docsLink="https://grafana.com/docs/grafana/latest/datasources/prometheus/configure-prometheus-data-source/"
docsLink="https://grafana.com/docs/grafana/latest/datasources/prometheus/configure/"
/>
<hr className={`${styles.hrTopSpace} ${styles.hrBottomSpace}`} />
<DataSourceHttpSettingsOverhaul
@@ -10,7 +10,7 @@ import { FieldValidationMessage, TextLink } from '@grafana/ui';
* @returns
*/
export function docsTip(url?: string) {
const docsUrl = 'https://grafana.com/docs/grafana/latest/datasources/prometheus/configure-prometheus-data-source/';
const docsUrl = 'https://grafana.com/docs/grafana/latest/datasources/prometheus/configure/';
return (
<TextLink href={url ? url : docsUrl} external>
@@ -39,7 +39,7 @@ export const ConfigEditor = (props: Props) => {
)}
<DataSourceDescription
dataSourceName="Prometheus"
docsLink="https://grafana.com/docs/grafana/latest/datasources/prometheus/configure-prometheus-data-source/"
docsLink="https://grafana.com/docs/grafana/latest/datasources/prometheus/configure/"
/>
<hr className={`${styles.hrTopSpace} ${styles.hrBottomSpace}`} />
<DataSourcehttpSettingsOverhaul