You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dynatrace/README.adoc
+117-1Lines changed: 117 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,130 @@ To collect metrics in Dynatrace from Redis Enterprise Software or Redis Cloud, u
16
16
17
17
== Installation
18
18
19
-
The Dyntrace v2.0 Extensions support Prometheus metrics, and as such we have created the necessary extension file and dashboards so that this option is available. At this time Dynatrace are still testing their signing mechanism so that this extension is not available directly from them, but will have to be built and signed according to their instructions. They have indicated that they will sign 3rd party extensions starting in Q1 2024, at which point this process will no longer be necessary.
19
+
The Dynatrace v2.0 Extensions support Prometheus metrics, and as such we have created the necessary extension file and dashboards so that this option is available. At this time Dynatrace are still testing their signing mechanism so that this extension is not available directly from them, but will have to be built and signed according to their instructions. They have indicated that they will sign 3rd party extensions starting in Q1 2024, at which point this process will no longer be necessary.
20
20
21
21
Clone the repository and cd into its root folder ('redis-enterprise-dynatrace-observability'). The contents are already in the required format; a 'src' directory containing a .yml file and a folder containing .json dashboard files.
**Important:** The Dynatrace Kubernetes operator is not compatible with the Extensions V2 framework. If you're running Redis Enterprise in Kubernetes, you have two alternative options:
30
+
31
+
==== Option 1: Kubernetes Service with Dynatrace Annotations
32
+
33
+
This approach creates a new service within your Kubernetes cluster with Dynatrace annotations for Prometheus scraping.
34
+
35
+
===== Prerequisites
36
+
* Dynatrace Kubernetes operator installed in your cluster
37
+
* Prometheus scraping enabled in Dynatrace Kubernetes settings
38
+
39
+
===== Steps
40
+
41
+
1. **Install Dynatrace Operator**
42
+
+
43
+
Follow the official Dynatrace operator installation guide:
44
+
+
45
+
[source,bash]
46
+
----
47
+
# Install Dynatrace operator according to Dynatrace documentation
Create a NodePort service to expose the redis-enterprise-cluster-prom service:
115
+
+
116
+
[source,yaml]
117
+
----
118
+
apiVersion: v1
119
+
kind: Service
120
+
metadata:
121
+
name: redis-metrics-external
122
+
namespace: redis-enterprise
123
+
spec:
124
+
type: NodePort
125
+
selector:
126
+
app: redis-enterprise
127
+
redis.io/role-master: "1"
128
+
ports:
129
+
- name: metrics
130
+
port: 8070
131
+
targetPort: 8070
132
+
nodePort: 30070 # Choose an available port in the NodePort range
133
+
----
134
+
135
+
3. **Configure ActiveGate**
136
+
+
137
+
Configure your ActiveGate to scrape metrics from the exposed NodePort service using the external IP of your Kubernetes nodes and the NodePort (e.g., `https://KUBERNETES_NODE_IP:30070/metrics`).
138
+
139
+
4. **Setup Extension**
140
+
+
141
+
Follow the standard extension setup process using the External VM's ActiveGate.
142
+
27
143
== Dashboards
28
144
29
145
This respository includes sample Dynatrace dashboards for monitoring your Redis deplyoment. See the link:/dynatrace/dashboards[dashboards] folder for the available set of dashboards.
If you have an Active-Active Redis Enterprise deployment in GCP, you can use our Terraform scripts to automate the entire process. See the `terraform/gcp` directory for configuration details.
100
100
101
+
=== Kubernetes Deployments
102
+
103
+
**Important:** The Dynatrace Kubernetes operator is not compatible with the Extensions V2 framework. If you're running Redis Enterprise in Kubernetes, you have two alternative options:
104
+
105
+
==== Option 1: Kubernetes Service with Dynatrace Annotations
106
+
107
+
This approach creates a new service within your Kubernetes cluster with Dynatrace annotations for Prometheus scraping.
108
+
109
+
===== Prerequisites
110
+
* Dynatrace Kubernetes operator installed in your cluster
111
+
* Prometheus scraping enabled in Dynatrace Kubernetes settings
112
+
113
+
===== Steps
114
+
115
+
1. **Install Dynatrace Operator**
116
+
+
117
+
Follow the official Dynatrace operator installation guide:
118
+
+
119
+
[source,bash]
120
+
----
121
+
# Install Dynatrace operator according to Dynatrace documentation
Create a NodePort service to expose the redis-enterprise-cluster-prom service:
188
+
+
189
+
[source,yaml]
190
+
----
191
+
apiVersion: v1
192
+
kind: Service
193
+
metadata:
194
+
name: redis-metrics-external
195
+
namespace: redis-enterprise
196
+
spec:
197
+
type: NodePort
198
+
selector:
199
+
app: redis-enterprise
200
+
redis.io/role-master: "1"
201
+
ports:
202
+
- name: metrics
203
+
port: 8070
204
+
targetPort: 8070
205
+
nodePort: 30070 # Choose an available port in the NodePort range
206
+
----
207
+
208
+
3. **Configure ActiveGate**
209
+
+
210
+
Configure your ActiveGate to scrape metrics from the exposed NodePort service using the external IP of your Kubernetes nodes and the NodePort (e.g., `https://KUBERNETES_NODE_IP:30070/v2`).
211
+
212
+
4. **Setup Extension**
213
+
+
214
+
Follow the standard extension setup process using the External VM's ActiveGate.
215
+
101
216
== Dashboards
102
217
103
218
This repository includes sample Dynatrace dashboards for monitoring your Redis deployment. See the
0 commit comments