From 75d58e2ee2f55e942856ca12914a5d8fde7bdb50 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Wed, 30 Aug 2023 15:04:32 +0800 Subject: [PATCH 01/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/_index.md | 1 + content/docs/2.12/operate/opentelemetry.md | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 content/docs/2.12/operate/opentelemetry.md diff --git a/content/docs/2.12/operate/_index.md b/content/docs/2.12/operate/_index.md index 5b8c5c3ef..993a28b25 100644 --- a/content/docs/2.12/operate/_index.md +++ b/content/docs/2.12/operate/_index.md @@ -11,4 +11,5 @@ We provide guidance & requirements around various areas to operate KEDA: - Kubernetes Events ([link](./events)) - KEDA Metrics Server ([link](./metrics-server)) - Integrate with Prometheus ([link](./prometheus)) +- Integrate with Opentelemetry ([link](./opentelemetry)) - Security ([link](./security)) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md new file mode 100644 index 000000000..66cbf7a3d --- /dev/null +++ b/content/docs/2.12/operate/opentelemetry.md @@ -0,0 +1,46 @@ +--- +title: "Integrate with OpenTelemetry Collector" +date: 2023-08-30T11:13:57+08:00 +draft: true +--- + +## Push Metrics to OpenTelemetry Collector + +### Operator + +The KEDA Operator supports outputting metrics to the OpenTelemetry collector using HTTP. The parameter "--enable-opentelemetry-metrics=true" needs to be set. KEDA will push metrics to the OpenTelemetry collector specified by the "OTEL_EXPORTER_OTLP_ENDPOINT" environment variable. Other environment variables in OpenTelemetry are also supported (https://opentelemetry.io/docs/concepts/sdk-configuration/otlp-exporter-configuration/). Here is an customize YAML example of Operator: +``` +apiVersion: apps/v1 +kind: Deployment +metadata: + name: keda-operator + ... + containers: + - name: keda-operator + image: ghcr.io/kedacore/keda:latest + command: + - /keda + args: + --enable-opentelemetry-metrics=true + ... + ... + env: + - name: OTEL_EXPORTER_OTLP_ENDPOINT + value: "http://opentelemetry-collector.default.svc.cluster.local:4318" +``` + + +The following metrics are being gathered: + +- `build.info` - Info metric, with static information about KEDA build like: version, git commit and Golang runtime info. +- `scaler.active` - This metric marks whether the particular scaler is active (value == 1) or in-active (value == 0). +- `scaler.metrics.value` - The current value for each scaler's metric that would be used by the HPA in computing the target average. +- `scaler.metrics.latency` - The latency of retrieving current metric from each scaler. +- `scaler.errors` - The number of errors that have occurred for each scaler. +- `scaler.errors.total` - The total number of errors encountered for all scalers. +- `scaled.object.errors` - The number of errors that have occurred for each ScaledObject. +- `resource.totals` - Total number of KEDA custom resources per namespace for each custom resource type (CRD). +- `trigger.totals` - Total number of triggers per trigger type. +- `internal.scale.loop.latency` - Total deviation (in milliseconds) between the expected execution time and the actual execution time for the scaling loop. This latency could be produced due to accumulated scalers latencies or high load. This is an internal metric. + + From 637dce331c9d408002a26b1e59f9c6d16b8ecddc Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Wed, 30 Aug 2023 16:12:39 +0800 Subject: [PATCH 02/22] Update content/docs/2.12/operate/opentelemetry.md Co-authored-by: Tom Kerkhove Signed-off-by: SpiritZhou --- content/docs/2.12/operate/opentelemetry.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md index 66cbf7a3d..ed1139d6b 100644 --- a/content/docs/2.12/operate/opentelemetry.md +++ b/content/docs/2.12/operate/opentelemetry.md @@ -8,7 +8,7 @@ draft: true ### Operator -The KEDA Operator supports outputting metrics to the OpenTelemetry collector using HTTP. The parameter "--enable-opentelemetry-metrics=true" needs to be set. KEDA will push metrics to the OpenTelemetry collector specified by the "OTEL_EXPORTER_OTLP_ENDPOINT" environment variable. Other environment variables in OpenTelemetry are also supported (https://opentelemetry.io/docs/concepts/sdk-configuration/otlp-exporter-configuration/). Here is an customize YAML example of Operator: +The KEDA Operator supports outputting metrics to the OpenTelemetry collector using HTTP. The parameter `--enable-opentelemetry-metrics=true` needs to be set. KEDA will push metrics to the OpenTelemetry collector specified by the `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable. Other environment variables in OpenTelemetry are also supported (https://opentelemetry.io/docs/concepts/sdk-configuration/otlp-exporter-configuration/). Here is an example configuration of the operator: ``` apiVersion: apps/v1 kind: Deployment From 6fafaff6ccdd9cdb1c44fcc37dde33e3dd727142 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Wed, 30 Aug 2023 16:12:49 +0800 Subject: [PATCH 03/22] Update content/docs/2.12/operate/opentelemetry.md Co-authored-by: Tom Kerkhove Signed-off-by: SpiritZhou --- content/docs/2.12/operate/opentelemetry.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md index ed1139d6b..fc7968bde 100644 --- a/content/docs/2.12/operate/opentelemetry.md +++ b/content/docs/2.12/operate/opentelemetry.md @@ -42,5 +42,3 @@ The following metrics are being gathered: - `resource.totals` - Total number of KEDA custom resources per namespace for each custom resource type (CRD). - `trigger.totals` - Total number of triggers per trigger type. - `internal.scale.loop.latency` - Total deviation (in milliseconds) between the expected execution time and the actual execution time for the scaling loop. This latency could be produced due to accumulated scalers latencies or high load. This is an internal metric. - - From 6e863e0f60010bbf4026b14d40957306348ba386 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Wed, 30 Aug 2023 16:13:02 +0800 Subject: [PATCH 04/22] Update content/docs/2.12/operate/_index.md Co-authored-by: Tom Kerkhove Signed-off-by: SpiritZhou --- content/docs/2.12/operate/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/_index.md b/content/docs/2.12/operate/_index.md index 993a28b25..d4740fd73 100644 --- a/content/docs/2.12/operate/_index.md +++ b/content/docs/2.12/operate/_index.md @@ -11,5 +11,5 @@ We provide guidance & requirements around various areas to operate KEDA: - Kubernetes Events ([link](./events)) - KEDA Metrics Server ([link](./metrics-server)) - Integrate with Prometheus ([link](./prometheus)) -- Integrate with Opentelemetry ([link](./opentelemetry)) +- Integrate with OpenTelemetry Collector ([link](./opentelemetry)) - Security ([link](./security)) From 77037c7ec55328902cfb5502b17c742193771966 Mon Sep 17 00:00:00 2001 From: Tom Kerkhove Date: Wed, 30 Aug 2023 13:45:56 +0200 Subject: [PATCH 05/22] Update content/docs/2.12/operate/_index.md Signed-off-by: Tom Kerkhove --- content/docs/2.12/operate/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/_index.md b/content/docs/2.12/operate/_index.md index d4740fd73..7028f1dc3 100644 --- a/content/docs/2.12/operate/_index.md +++ b/content/docs/2.12/operate/_index.md @@ -11,5 +11,5 @@ We provide guidance & requirements around various areas to operate KEDA: - Kubernetes Events ([link](./events)) - KEDA Metrics Server ([link](./metrics-server)) - Integrate with Prometheus ([link](./prometheus)) -- Integrate with OpenTelemetry Collector ([link](./opentelemetry)) +- Integrate with OpenTelemetry Collector ([link](opentelemetry)) - Security ([link](./security)) From 3f9750a42b083649a9d2bc93ca30c66993958c3c Mon Sep 17 00:00:00 2001 From: Tom Kerkhove Date: Wed, 30 Aug 2023 14:02:05 +0200 Subject: [PATCH 06/22] Update content/docs/2.12/operate/_index.md Signed-off-by: Tom Kerkhove --- content/docs/2.12/operate/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/_index.md b/content/docs/2.12/operate/_index.md index 7028f1dc3..6213c7224 100644 --- a/content/docs/2.12/operate/_index.md +++ b/content/docs/2.12/operate/_index.md @@ -11,5 +11,5 @@ We provide guidance & requirements around various areas to operate KEDA: - Kubernetes Events ([link](./events)) - KEDA Metrics Server ([link](./metrics-server)) - Integrate with Prometheus ([link](./prometheus)) -- Integrate with OpenTelemetry Collector ([link](opentelemetry)) +- Integrate with OpenTelemetry Collector ([link](/opentelemetry)) - Security ([link](./security)) From af048076c43335fa7f86b8c0ddf1d0faf3f6c980 Mon Sep 17 00:00:00 2001 From: Tom Kerkhove Date: Wed, 30 Aug 2023 14:02:19 +0200 Subject: [PATCH 07/22] Update content/docs/2.12/operate/_index.md Signed-off-by: Tom Kerkhove --- content/docs/2.12/operate/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/_index.md b/content/docs/2.12/operate/_index.md index 6213c7224..d4740fd73 100644 --- a/content/docs/2.12/operate/_index.md +++ b/content/docs/2.12/operate/_index.md @@ -11,5 +11,5 @@ We provide guidance & requirements around various areas to operate KEDA: - Kubernetes Events ([link](./events)) - KEDA Metrics Server ([link](./metrics-server)) - Integrate with Prometheus ([link](./prometheus)) -- Integrate with OpenTelemetry Collector ([link](/opentelemetry)) +- Integrate with OpenTelemetry Collector ([link](./opentelemetry)) - Security ([link](./security)) From e2c6ffcaddc118fe461efca00b9a9230309556e5 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Thu, 31 Aug 2023 16:52:01 +0800 Subject: [PATCH 08/22] Update content/docs/2.12/operate/opentelemetry.md Co-authored-by: Tom Kerkhove Signed-off-by: SpiritZhou --- content/docs/2.12/operate/opentelemetry.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md index fc7968bde..bf7f0f613 100644 --- a/content/docs/2.12/operate/opentelemetry.md +++ b/content/docs/2.12/operate/opentelemetry.md @@ -28,8 +28,6 @@ metadata: - name: OTEL_EXPORTER_OTLP_ENDPOINT value: "http://opentelemetry-collector.default.svc.cluster.local:4318" ``` - - The following metrics are being gathered: - `build.info` - Info metric, with static information about KEDA build like: version, git commit and Golang runtime info. From 5faca741e4e268522fc294ba4c6dcc8846e28e24 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Wed, 20 Sep 2023 15:56:43 +0800 Subject: [PATCH 09/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/events.md | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/content/docs/2.12/operate/events.md b/content/docs/2.12/operate/events.md index 41b396200..838f49c0d 100644 --- a/content/docs/2.12/operate/events.md +++ b/content/docs/2.12/operate/events.md @@ -28,3 +28,50 @@ KEDA emits the following [Kubernetes Events](https://kubernetes.io/docs/referenc | `TriggerAuthenticationDeleted` | `Normal` | When a TriggerAuthentication is deleted | | `ClusterTriggerAuthenticationAdded` | `Normal` | When a new ClusterTriggerAuthentication is added | | `ClusterTriggerAuthenticationDeleted` | `Normal` | When a ClusterTriggerAuthentication is deleted | + +## CloudEvent Support + +### CloudEvent Resource +`CloudEvent` resource now can be created in KEDA for emitting events to user's custom CloudEvent sink. Both Kubernetes Events and CloudEvents will be emitted if CloudEvent resource is created. This specification describes the `CloudEvent` Custom Resource definition: + +[`cloudevent_types.go`](https://github.com/kedacore/keda/blob/v1.4.0/pkg/apis/keda/v1alpha1/cloudevent_types.go) + +```yaml +apiVersion: keda.k8s.io/v1alpha1 +kind: CloudEvent +metadata: + name: {cloud-event-name} +spec: + clusterName: {cluster-name} #Optional. Will be used in source/subject + eventHandlers: + # {list of eventHandlers to handle emitting events} +``` + +In general, an event emitted by KEDA would fundamentally come down to the following structure: +```json +{ + "specversion" : "1.0", + "type" : "com.cloudevents.keda", + "source" : "/{cluster-name}/{namespace}/keda", + "subject" : "/{cluster-name}/{namespace}/workload/{scaledobject-name}", + "id" : "", + "time" : "2018-04-05T17:31:00Z", + "datacontenttype" : "application/json", + "data" : { + "reason":"", + "message":"" + } +} +``` + +### CloudEventHandlers +There will be multiple handlers to emit KEDA events. Nowadays an HTTP CloudEvent receiver is supported. +#### CloudEventHTTPHandler +```yaml + eventHandlers: + - type: cloud-event-http + name: "" #Optional. + metadata: + endPoint: "cloudevent-http-receiver-endpoint" #An http endpoint that can receive cloudevent +``` +The `cloud-event-http` handler can emit KEDA events to an CloudEvent HTTP receiver. \ No newline at end of file From e8b2e0ac9433de0bce1a157a3f6881308591ddbb Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Wed, 20 Sep 2023 16:03:29 +0800 Subject: [PATCH 10/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/opentelemetry.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md index bf7f0f613..b46c3fb3d 100644 --- a/content/docs/2.12/operate/opentelemetry.md +++ b/content/docs/2.12/operate/opentelemetry.md @@ -30,13 +30,15 @@ metadata: ``` The following metrics are being gathered: -- `build.info` - Info metric, with static information about KEDA build like: version, git commit and Golang runtime info. -- `scaler.active` - This metric marks whether the particular scaler is active (value == 1) or in-active (value == 0). -- `scaler.metrics.value` - The current value for each scaler's metric that would be used by the HPA in computing the target average. -- `scaler.metrics.latency` - The latency of retrieving current metric from each scaler. -- `scaler.errors` - The number of errors that have occurred for each scaler. -- `scaler.errors.total` - The total number of errors encountered for all scalers. -- `scaled.object.errors` - The number of errors that have occurred for each ScaledObject. -- `resource.totals` - Total number of KEDA custom resources per namespace for each custom resource type (CRD). -- `trigger.totals` - Total number of triggers per trigger type. -- `internal.scale.loop.latency` - Total deviation (in milliseconds) between the expected execution time and the actual execution time for the scaling loop. This latency could be produced due to accumulated scalers latencies or high load. This is an internal metric. +| Metric | Description | +| ------ | ----------- | +| `build.info` | Info metric, with static information about KEDA build like: version, git commit and Golang runtime info. | +| `scaler.active` | This metric marks whether the particular scaler is active (value == 1) or in|active (value == 0). | +| `scaler.metrics.value` | The current value for each scaler's metric that would be used by the HPA in computing the target average. | +| `scaler.metrics.latency` | The latency of retrieving current metric from each scaler. | +| `scaler.errors` | The number of errors that have occurred for each scaler. | +| `scaler.errors.total` | The total number of errors encountered for all scalers. | +| `scaled.object.errors` | The number of errors that have occurred for each ScaledObject. | +| `resource.totals` | Total number of KEDA custom resources per namespace for each custom resource type (CRD). | +| `trigger.totals` | Total number of triggers per trigger type. | +| `internal.scale.loop.latency` | Total deviation (in milliseconds) between the expected execution time and the actual execution time for the scaling loop. This latency could be produced due to accumulated scalers latencies or high load. This is an internal metric. | From 15ed225ac3b257850eb4dccb86217d9178402ec2 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Wed, 20 Sep 2023 16:07:19 +0800 Subject: [PATCH 11/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/opentelemetry.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md index b46c3fb3d..aef895572 100644 --- a/content/docs/2.12/operate/opentelemetry.md +++ b/content/docs/2.12/operate/opentelemetry.md @@ -1,8 +1,8 @@ ---- ++++ title: "Integrate with OpenTelemetry Collector" -date: 2023-08-30T11:13:57+08:00 -draft: true ---- +description = "Detail of integrating OpenTelemetry Collector in KEDA" +weight = 100 ++++ ## Push Metrics to OpenTelemetry Collector From ea0e6d9cce8a5934aa1c63f195d009c856d5bc6f Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Thu, 21 Sep 2023 13:58:27 +0800 Subject: [PATCH 12/22] Update Signed-off-by: SpiritZhou --- .htmltest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.htmltest.yml b/.htmltest.yml index 6061eafab..867a9b0c7 100644 --- a/.htmltest.yml +++ b/.htmltest.yml @@ -5,3 +5,4 @@ IgnoreAltMissing: true IgnoreEmptyHref: true IgnoreInternalURLs: - /docs/2.11/scalers/gcp-cloud-tasks/ + - /docs/2.11/operate/opentelemetry/ From c16f3b7f24cd523de434589181c2c2d9fcf87b73 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Thu, 21 Sep 2023 14:03:27 +0800 Subject: [PATCH 13/22] Update Signed-off-by: SpiritZhou --- .htmltest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htmltest.yml b/.htmltest.yml index 867a9b0c7..fe2e89ee8 100644 --- a/.htmltest.yml +++ b/.htmltest.yml @@ -5,4 +5,4 @@ IgnoreAltMissing: true IgnoreEmptyHref: true IgnoreInternalURLs: - /docs/2.11/scalers/gcp-cloud-tasks/ - - /docs/2.11/operate/opentelemetry/ + - /docs/2.12/operate/opentelemetry/ From f590ddf8b9c477c58b86edd567a5e2ed97109a92 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Thu, 21 Sep 2023 14:08:39 +0800 Subject: [PATCH 14/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/opentelemetry.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md index aef895572..fd6586768 100644 --- a/content/docs/2.12/operate/opentelemetry.md +++ b/content/docs/2.12/operate/opentelemetry.md @@ -1,6 +1,6 @@ +++ -title: "Integrate with OpenTelemetry Collector" -description = "Detail of integrating OpenTelemetry Collector in KEDA" +title= "Integrate with OpenTelemetry Collector" +description= "Detail of integrating OpenTelemetry Collector in KEDA" weight = 100 +++ From 87441fc2f8b33951e1bde3233e0ee752ed05de77 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Thu, 21 Sep 2023 14:10:48 +0800 Subject: [PATCH 15/22] Update Signed-off-by: SpiritZhou --- .htmltest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htmltest.yml b/.htmltest.yml index fe2e89ee8..867a9b0c7 100644 --- a/.htmltest.yml +++ b/.htmltest.yml @@ -5,4 +5,4 @@ IgnoreAltMissing: true IgnoreEmptyHref: true IgnoreInternalURLs: - /docs/2.11/scalers/gcp-cloud-tasks/ - - /docs/2.12/operate/opentelemetry/ + - /docs/2.11/operate/opentelemetry/ From 681095a03bbb484afdf276bb7596ff371e44dbfa Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Thu, 21 Sep 2023 14:33:55 +0800 Subject: [PATCH 16/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/events.md | 49 +---------------------------- 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/content/docs/2.12/operate/events.md b/content/docs/2.12/operate/events.md index 838f49c0d..ae1319dbc 100644 --- a/content/docs/2.12/operate/events.md +++ b/content/docs/2.12/operate/events.md @@ -27,51 +27,4 @@ KEDA emits the following [Kubernetes Events](https://kubernetes.io/docs/referenc | `TriggerAuthenticationAdded` | `Normal` | When a new TriggerAuthentication is added | | `TriggerAuthenticationDeleted` | `Normal` | When a TriggerAuthentication is deleted | | `ClusterTriggerAuthenticationAdded` | `Normal` | When a new ClusterTriggerAuthentication is added | -| `ClusterTriggerAuthenticationDeleted` | `Normal` | When a ClusterTriggerAuthentication is deleted | - -## CloudEvent Support - -### CloudEvent Resource -`CloudEvent` resource now can be created in KEDA for emitting events to user's custom CloudEvent sink. Both Kubernetes Events and CloudEvents will be emitted if CloudEvent resource is created. This specification describes the `CloudEvent` Custom Resource definition: - -[`cloudevent_types.go`](https://github.com/kedacore/keda/blob/v1.4.0/pkg/apis/keda/v1alpha1/cloudevent_types.go) - -```yaml -apiVersion: keda.k8s.io/v1alpha1 -kind: CloudEvent -metadata: - name: {cloud-event-name} -spec: - clusterName: {cluster-name} #Optional. Will be used in source/subject - eventHandlers: - # {list of eventHandlers to handle emitting events} -``` - -In general, an event emitted by KEDA would fundamentally come down to the following structure: -```json -{ - "specversion" : "1.0", - "type" : "com.cloudevents.keda", - "source" : "/{cluster-name}/{namespace}/keda", - "subject" : "/{cluster-name}/{namespace}/workload/{scaledobject-name}", - "id" : "", - "time" : "2018-04-05T17:31:00Z", - "datacontenttype" : "application/json", - "data" : { - "reason":"", - "message":"" - } -} -``` - -### CloudEventHandlers -There will be multiple handlers to emit KEDA events. Nowadays an HTTP CloudEvent receiver is supported. -#### CloudEventHTTPHandler -```yaml - eventHandlers: - - type: cloud-event-http - name: "" #Optional. - metadata: - endPoint: "cloudevent-http-receiver-endpoint" #An http endpoint that can receive cloudevent -``` -The `cloud-event-http` handler can emit KEDA events to an CloudEvent HTTP receiver. \ No newline at end of file +| `ClusterTriggerAuthenticationDeleted` | `Normal` | When a ClusterTriggerAuthentication is deleted | \ No newline at end of file From 360904e7230d3e783e0d6e8d2152048210b73551 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Thu, 21 Sep 2023 14:36:06 +0800 Subject: [PATCH 17/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/events.md b/content/docs/2.12/operate/events.md index ae1319dbc..52df2c6b5 100644 --- a/content/docs/2.12/operate/events.md +++ b/content/docs/2.12/operate/events.md @@ -27,4 +27,4 @@ KEDA emits the following [Kubernetes Events](https://kubernetes.io/docs/referenc | `TriggerAuthenticationAdded` | `Normal` | When a new TriggerAuthentication is added | | `TriggerAuthenticationDeleted` | `Normal` | When a TriggerAuthentication is deleted | | `ClusterTriggerAuthenticationAdded` | `Normal` | When a new ClusterTriggerAuthentication is added | -| `ClusterTriggerAuthenticationDeleted` | `Normal` | When a ClusterTriggerAuthentication is deleted | \ No newline at end of file +| `ClusterTriggerAuthenticationDeleted` | `Normal` | When a ClusterTriggerAuthentication is deleted | \ No newline at end of file From ffdeaab60cfc33a32d01e659cc1cf41db1abe22c Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Thu, 21 Sep 2023 14:45:05 +0800 Subject: [PATCH 18/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/events.md b/content/docs/2.12/operate/events.md index 52df2c6b5..41b396200 100644 --- a/content/docs/2.12/operate/events.md +++ b/content/docs/2.12/operate/events.md @@ -27,4 +27,4 @@ KEDA emits the following [Kubernetes Events](https://kubernetes.io/docs/referenc | `TriggerAuthenticationAdded` | `Normal` | When a new TriggerAuthentication is added | | `TriggerAuthenticationDeleted` | `Normal` | When a TriggerAuthentication is deleted | | `ClusterTriggerAuthenticationAdded` | `Normal` | When a new ClusterTriggerAuthentication is added | -| `ClusterTriggerAuthenticationDeleted` | `Normal` | When a ClusterTriggerAuthentication is deleted | \ No newline at end of file +| `ClusterTriggerAuthenticationDeleted` | `Normal` | When a ClusterTriggerAuthentication is deleted | From 2a8f515a80d8476aa5e09bc9c73bd9d7fdbfe0ac Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Wed, 27 Sep 2023 18:01:50 +0800 Subject: [PATCH 19/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/opentelemetry.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md index fd6586768..b9359640c 100644 --- a/content/docs/2.12/operate/opentelemetry.md +++ b/content/docs/2.12/operate/opentelemetry.md @@ -32,13 +32,13 @@ The following metrics are being gathered: | Metric | Description | | ------ | ----------- | -| `build.info` | Info metric, with static information about KEDA build like: version, git commit and Golang runtime info. | -| `scaler.active` | This metric marks whether the particular scaler is active (value == 1) or in|active (value == 0). | -| `scaler.metrics.value` | The current value for each scaler's metric that would be used by the HPA in computing the target average. | -| `scaler.metrics.latency` | The latency of retrieving current metric from each scaler. | -| `scaler.errors` | The number of errors that have occurred for each scaler. | -| `scaler.errors.total` | The total number of errors encountered for all scalers. | -| `scaled.object.errors` | The number of errors that have occurred for each ScaledObject. | -| `resource.totals` | Total number of KEDA custom resources per namespace for each custom resource type (CRD). | -| `trigger.totals` | Total number of triggers per trigger type. | -| `internal.scale.loop.latency` | Total deviation (in milliseconds) between the expected execution time and the actual execution time for the scaling loop. This latency could be produced due to accumulated scalers latencies or high load. This is an internal metric. | +| `keda.build.info` | Info metric, with static information about KEDA build like: version, git commit and Golang runtime info. | +| `keda.scaler.active` | This metric marks whether the particular scaler is active (value == 1) or in|active (value == 0). | +| `keda.scaler.metrics.value` | The current value for each scaler's metric that would be used by the HPA in computing the target average. | +| `keda.scaler.metrics.latency` | The latency of retrieving current metric from each scaler. | +| `keda.scaler.errors` | The number of errors that have occurred for each scaler. | +| `keda.scaler.errors.total` | The total number of errors encountered for all scalers. | +| `keda.scaled.object.errors` | The number of errors that have occurred for each ScaledObject. | +| `keda.resource.totals` | Total number of KEDA custom resources per namespace for each custom resource type (CRD). | +| `keda.trigger.totals` | Total number of triggers per trigger type. | +| `keda.internal.scale.loop.latency` | Total deviation (in milliseconds) between the expected execution time and the actual execution time for the scaling loop. This latency could be produced due to accumulated scalers latencies or high load. This is an internal metric. | From e6d16e59beb3ccf963bb251bd2c84db25d541ef6 Mon Sep 17 00:00:00 2001 From: SpiritZhou Date: Wed, 27 Sep 2023 22:05:45 +0800 Subject: [PATCH 20/22] Update Signed-off-by: SpiritZhou --- content/docs/2.12/operate/opentelemetry.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md index b9359640c..c9f32c174 100644 --- a/content/docs/2.12/operate/opentelemetry.md +++ b/content/docs/2.12/operate/opentelemetry.md @@ -4,7 +4,7 @@ description= "Detail of integrating OpenTelemetry Collector in KEDA" weight = 100 +++ -## Push Metrics to OpenTelemetry Collector +## Push Metrics to OpenTelemetry Collector (Experimental) ### Operator From 4f7281ccf9c694de11b320be0382bffd48314576 Mon Sep 17 00:00:00 2001 From: Tom Kerkhove Date: Wed, 27 Sep 2023 16:17:58 +0200 Subject: [PATCH 21/22] Update content/docs/2.12/operate/opentelemetry.md Signed-off-by: Tom Kerkhove --- content/docs/2.12/operate/opentelemetry.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/opentelemetry.md b/content/docs/2.12/operate/opentelemetry.md index c9f32c174..5d02babda 100644 --- a/content/docs/2.12/operate/opentelemetry.md +++ b/content/docs/2.12/operate/opentelemetry.md @@ -1,5 +1,5 @@ +++ -title= "Integrate with OpenTelemetry Collector" +title= "Integrate with OpenTelemetry Collector (Experimental)" description= "Detail of integrating OpenTelemetry Collector in KEDA" weight = 100 +++ From 6bf2286e1db1c6ada5ba0be043810458c87a7460 Mon Sep 17 00:00:00 2001 From: Zbynek Roubalik Date: Wed, 27 Sep 2023 16:36:00 +0200 Subject: [PATCH 22/22] Update content/docs/2.12/operate/_index.md Signed-off-by: Zbynek Roubalik --- content/docs/2.12/operate/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.12/operate/_index.md b/content/docs/2.12/operate/_index.md index d4740fd73..e7604a0cf 100644 --- a/content/docs/2.12/operate/_index.md +++ b/content/docs/2.12/operate/_index.md @@ -11,5 +11,5 @@ We provide guidance & requirements around various areas to operate KEDA: - Kubernetes Events ([link](./events)) - KEDA Metrics Server ([link](./metrics-server)) - Integrate with Prometheus ([link](./prometheus)) -- Integrate with OpenTelemetry Collector ([link](./opentelemetry)) +- Integrate with OpenTelemetry Collector (Experimental) ([link](./opentelemetry)) - Security ([link](./security))