Skip to content

Commit 5cda2f4

Browse files
committed
Updated config and samples for 0.10.7 release
1 parent 1739f7b commit 5cda2f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3254
-219
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center"><img src="/images/icons/Redis Connect Banner.png" alt="Redis Connect" width = "100%" title="Redis Connect"></p>
22

33
**Redis Connect** :rocket: is a distributed platform that enables real-time event streaming, transformation, and propagation of
4-
changed-data events from heterogeneous data platforms to [Redis Stack](https://redis.io/docs/stack/), [Redis Cloud](https://redis.com/redis-enterprise-cloud/overview/), and [Redis Enterprise](https://redis.com/redis-enterprise-software/overview/).
4+
changed-data events from heterogeneous data platforms to [Azure Cache for Redis](https://azure.microsoft.com/en-us/products/cache/), [Redis Cloud](https://redis.com/redis-enterprise-cloud/overview/), and [Redis Enterprise](https://redis.com/redis-enterprise-software/overview/).
55
<br><br> :white_check_mark: No Code :white_check_mark: Seamless Integration :white_check_mark: Multi-Tenancy :white_check_mark: Linear-Scalability :white_check_mark: High-Availability :white_check_mark: Support
66
<br><br>
77

@@ -86,7 +86,7 @@ changed-data events from heterogeneous data platforms to [Redis Stack](https://r
8686

8787
### Runtime requirements
8888

89-
* JRE 11+ e.g. [Azul OpenJDK](https://www.azul.com/downloads/?package=jdk#download-openjdk)
89+
* JRE 11+ (JRE 17+ version 0.10.7 onwards) e.g. [Azul OpenJDK](https://www.azul.com/downloads/?package=jdk#download-openjdk)
9090

9191
## Quick Start
9292

examples/oracle/demo/config/samples/dashboard/datasource.yml renamed to dashboard/datasource.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,36 @@ apiVersion: 1
33
datasources:
44
- name: JobManager
55
type: redis-datasource
6-
url: redis://host.docker.internal:14001
6+
url: redis://<REDIS_DB_ENDPOINT>:<REDIS_DB_PORT>
77
jsonData:
88
client: standalone
99
poolSize: 5
1010
timeout: 10
1111
pingInterval: 0
1212
pipelineWindow: 0
1313
acl: true
14-
user: redisconnect
14+
user: <REDIS_DB_USERNAME>
1515
editable: true
1616
secureJsonData:
17-
password: Redis123
17+
password: <REDIS_DB_PASSWORD>
1818
access: proxy
1919
orgId: 1
2020
isDefault: false
2121
version: 1
2222
- name: Target
2323
type: redis-datasource
24-
url: redis://host.docker.internal:14000
24+
url: redis://<REDIS_DB_ENDPOINT>:<REDIS_DB_PORT>
2525
jsonData:
2626
client: standalone
2727
poolSize: 5
2828
timeout: 10
2929
pingInterval: 0
3030
pipelineWindow: 0
3131
acl: true
32-
user: redisconnect
32+
user: <REDIS_DB_USERNAME>
3333
editable: true
3434
secureJsonData:
35-
password: Redis123
35+
password: <REDIS_DB_PASSWORD>
3636
access: proxy
3737
orgId: 1
3838
isDefault: false

dashboard/jmx_metrics_config.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
startDelaySeconds: 0
2+
ssl: false
3+
lowercaseOutputName: false
4+
lowercaseOutputLabelNames: false
5+
rules:
6+
- pattern: "debezium.([^:]+)<type=connector-metrics, context=([^,]+), server=([^,]+), key=([^>]+)><>RowsScanned"
7+
name: "debezium_metrics_RowsScanned"
8+
labels:
9+
plugin: "$1"
10+
name: "$3"
11+
context: "$2"
12+
table: "$4"
13+
- pattern: "debezium.([^:]+)<type=connector-metrics, server=([^,]+), task=([^,]+), context=([^,]+), database=([^>]+)>([^:]+)"
14+
name: "debezium_metrics_$6"
15+
labels:
16+
plugin: "$1"
17+
name: "$2"
18+
task: "$3"
19+
context: "$4"
20+
database: "$5"
21+
- pattern: "debezium.([^:]+)<type=connector-metrics, server=([^,]+), task=([^,]+), context=([^>]+)>([^:]+)"
22+
name: "debezium_metrics_$5"
23+
labels:
24+
plugin: "$1"
25+
name: "$2"
26+
task: "$3"
27+
context: "$4"
28+
- pattern: "debezium.([^:]+)<type=connector-metrics, context=([^,]+), server=([^>]+)>([^:]+)"
29+
name: "debezium_metrics_$4"
30+
labels:
31+
plugin: "$1"
32+
name: "$3"
33+
context: "$2"

dashboard/prometheus.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# my global config
2+
global:
3+
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
4+
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
5+
# scrape_timeout is set to the global default (10s).
6+
7+
# Alertmanager configuration
8+
#alerting:
9+
# alertmanagers:
10+
# - static_configs:
11+
# - targets:
12+
# - alertmanager:9093
13+
14+
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
15+
rule_files:
16+
# - "first_rules.yml"
17+
# - "second_rules.yml"
18+
19+
# A scrape configuration containing exactly one endpoint to scrape:
20+
# Here it's Prometheus itself.
21+
scrape_configs:
22+
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
23+
- job_name: "prometheus"
24+
25+
# metrics_path defaults to '/metrics'
26+
# scheme defaults to 'http'.
27+
static_configs:
28+
- targets: ["localhost:9090"]
29+
30+
# add this to monitor the redis instance - use an appropriate name
31+
# - job_name: "redis"
32+
# scrape_interval: 30s
33+
# scrape_timeout: 30s
34+
# metrics_path: /
35+
# scheme: https
36+
# tls_config:
37+
# insecure_skip_verify: true
38+
# static_configs:
39+
# # the default port is 8070, the url is that of the cluster leader
40+
# - targets: ["<redis-enterprise-host>:8070"]
41+
42+
- job_name: "connect"
43+
scrape_interval: 5s
44+
scrape_timeout: 5s
45+
metrics_path: /
46+
scheme: http
47+
static_configs:
48+
- targets: ["<redis-connect-host>:19090"]
Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
{
2+
"__inputs": [
3+
{
4+
"name": "DS_PROMETHEUS",
5+
"label": "Prometheus",
6+
"description": "",
7+
"type": "datasource",
8+
"pluginId": "prometheus",
9+
"pluginName": "Prometheus"
10+
}
11+
],
12+
"__elements": {},
13+
"__requires": [
14+
{
15+
"type": "grafana",
16+
"id": "grafana",
17+
"name": "Grafana",
18+
"version": "9.3.6"
19+
},
20+
{
21+
"type": "datasource",
22+
"id": "prometheus",
23+
"name": "Prometheus",
24+
"version": "1.0.0"
25+
},
26+
{
27+
"type": "panel",
28+
"id": "timeseries",
29+
"name": "Time series",
30+
"version": ""
31+
}
32+
],
33+
"annotations": {
34+
"list": [
35+
{
36+
"builtIn": 1,
37+
"datasource": {
38+
"type": "grafana",
39+
"uid": "-- Grafana --"
40+
},
41+
"enable": true,
42+
"hide": true,
43+
"iconColor": "rgba(0, 211, 255, 1)",
44+
"name": "Annotations & Alerts",
45+
"target": {
46+
"limit": 100,
47+
"matchAny": false,
48+
"tags": [],
49+
"type": "dashboard"
50+
},
51+
"type": "dashboard"
52+
}
53+
]
54+
},
55+
"editable": true,
56+
"fiscalYearStartMonth": 0,
57+
"graphTooltip": 0,
58+
"id": null,
59+
"links": [],
60+
"liveNow": false,
61+
"panels": [
62+
{
63+
"datasource": {
64+
"type": "prometheus",
65+
"uid": "${DS_PROMETHEUS}"
66+
},
67+
"fieldConfig": {
68+
"defaults": {
69+
"color": {
70+
"mode": "palette-classic"
71+
},
72+
"custom": {
73+
"axisCenteredZero": false,
74+
"axisColorMode": "text",
75+
"axisLabel": "",
76+
"axisPlacement": "auto",
77+
"barAlignment": 0,
78+
"drawStyle": "line",
79+
"fillOpacity": 0,
80+
"gradientMode": "none",
81+
"hideFrom": {
82+
"legend": false,
83+
"tooltip": false,
84+
"viz": false
85+
},
86+
"lineInterpolation": "linear",
87+
"lineWidth": 1,
88+
"pointSize": 5,
89+
"scaleDistribution": {
90+
"type": "linear"
91+
},
92+
"showPoints": "auto",
93+
"spanNulls": false,
94+
"stacking": {
95+
"group": "A",
96+
"mode": "none"
97+
},
98+
"thresholdsStyle": {
99+
"mode": "off"
100+
}
101+
},
102+
"mappings": [],
103+
"thresholds": {
104+
"mode": "absolute",
105+
"steps": [
106+
{
107+
"color": "green",
108+
"value": null
109+
},
110+
{
111+
"color": "red",
112+
"value": 80
113+
}
114+
]
115+
},
116+
"unit": "ms"
117+
},
118+
"overrides": []
119+
},
120+
"gridPos": {
121+
"h": 9,
122+
"w": 12,
123+
"x": 0,
124+
"y": 0
125+
},
126+
"id": 2,
127+
"options": {
128+
"legend": {
129+
"calcs": [],
130+
"displayMode": "list",
131+
"placement": "bottom",
132+
"showLegend": true
133+
},
134+
"tooltip": {
135+
"mode": "single",
136+
"sort": "none"
137+
}
138+
},
139+
"targets": [
140+
{
141+
"datasource": {
142+
"type": "prometheus",
143+
"uid": "${DS_PROMETHEUS}"
144+
},
145+
"editorMode": "code",
146+
"expr": "event_operation_lag_milliseconds_sum/event_operation_lag_milliseconds_count",
147+
"legendFormat": "Lag",
148+
"range": true,
149+
"refId": "A"
150+
},
151+
{
152+
"datasource": {
153+
"type": "prometheus",
154+
"uid": "${DS_PROMETHEUS}"
155+
},
156+
"editorMode": "code",
157+
"expr": "event_operation_latency_milliseconds_sum/event_operation_latency_milliseconds_count",
158+
"hide": false,
159+
"legendFormat": "Latency",
160+
"range": true,
161+
"refId": "B"
162+
},
163+
{
164+
"datasource": {
165+
"type": "prometheus",
166+
"uid": "${DS_PROMETHEUS}"
167+
},
168+
"editorMode": "code",
169+
"expr": "",
170+
"hide": false,
171+
"legendFormat": "__auto",
172+
"range": true,
173+
"refId": "C"
174+
}
175+
],
176+
"title": "RedisConnect Lag/Latency",
177+
"type": "timeseries"
178+
}
179+
],
180+
"schemaVersion": 37,
181+
"style": "dark",
182+
"tags": [],
183+
"templating": {
184+
"list": []
185+
},
186+
"time": {
187+
"from": "now-5m",
188+
"to": "now"
189+
},
190+
"timepicker": {},
191+
"timezone": "",
192+
"title": "Connect",
193+
"uid": "GuK96BGSk",
194+
"version": 3,
195+
"weekStart": ""
196+
}

0 commit comments

Comments
 (0)