From db906b443f81524775e03ee3b2e0fa57aba4a2d1 Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Wed, 26 Jun 2024 17:55:24 +0545 Subject: [PATCH] docs(checks): prometheus auth --- canary-checker/docs/reference/1-http.mdx | 2 +- .../docs/reference/1-prometheus.mdx | 54 +++++++++++++++---- 2 files changed, 44 insertions(+), 12 deletions(-) diff --git a/canary-checker/docs/reference/1-http.mdx b/canary-checker/docs/reference/1-http.mdx index cd97389e..1f2ce0b0 100644 --- a/canary-checker/docs/reference/1-http.mdx +++ b/canary-checker/docs/reference/1-http.mdx @@ -47,7 +47,7 @@ spec: ]}/>
-

You can specify either the ca or the pair of cert & key

+

You can specify either the ca or the pair of client cert & key

diff --git a/canary-checker/docs/reference/1-prometheus.mdx b/canary-checker/docs/reference/1-prometheus.mdx index 87eaa2e9..2c302213 100644 --- a/canary-checker/docs/reference/1-prometheus.mdx +++ b/canary-checker/docs/reference/1-prometheus.mdx @@ -7,21 +7,53 @@ sidebar_class_name: popular The Prometheus Check connects to the Prometheus host, performs the desired query, and displays the results. - ```yaml title="prometheus.yaml" file=../../../modules/canary-checker/fixtures/datasources/prometheus.yaml + ``` - + +## OAuth + + - - ## Result Variables -| Name | Description | Scheme | -| ------------ | ----------------------- | -------------------------- | -| `value` | | *float* | -| `firstValue` | Number of rows returned | *int* | -| `results` | A list of results | *[]map[string]interface{ }* | +| Name | Description | Scheme | +| ------------ | ----------------------- | --------------------------- | +| `value` | | _float_ | +| `firstValue` | Number of rows returned | _int_ | +| `results` | A list of results | _[]map[string]interface{ }_ |