-
Notifications
You must be signed in to change notification settings - Fork 10
readme-metrics #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
j8-redis
wants to merge
4
commits into
main
Choose a base branch
from
readme-metrics
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
readme-metrics #17
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -167,14 +167,55 @@ Redis Connect Swagger UI is available on port 8282 by default. If you're running | |||||
|
|
||||||
| **Start Job -** `/connect/api/vi/job/transition/start/{jobName}/{jobType}` | ||||||
| <br>_For quick start, use '**stream**' as **jobType**_ | ||||||
| <br><br><img src="/images/quick-start/Redis Connect Start Job.png" style="float: right;" width = 700px height = 375px/> | ||||||
| <br><br><img src="/images/quick-start/Redis Connect Start Job.png" style="float: right;" width = 700px height = 375px/><br> | ||||||
|
|
||||||
| **Confirm Job Claim -** `/connect/api/vi/jobs/claim/{jobStatus}` | ||||||
| <br>_For quick start, use '**all**' as **jobStatus**_ | ||||||
| <br><br><img src="/images/quick-start/Redis Connect Get Claims.png" style="float: right;" width = 700px height = 250px/> | ||||||
| <br><br><img src="/images/quick-start/Redis Connect Get Claims.png" style="float: right;" width = 700px height = 250px/><br> | ||||||
|
|
||||||
| <br> | ||||||
| Once you've configured a job, try inserting some records into the source database. Then confirm that they have arrived in Redis. | ||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
| ### Monitoring the System | ||||||
|
|
||||||
| Redis Connect exports OpenTelemetry metrics via a Prometheus endpoint. A simple Prometheus configuration would look like this: | ||||||
|
|
||||||
| ```cmd | ||||||
| - job_name: "connect" | ||||||
| scrape_interval: 5s | ||||||
| scrape_timeout: 5s | ||||||
| metrics_path: / | ||||||
| scheme: http | ||||||
| static_configs: | ||||||
| - targets: ["localhost:19090"] | ||||||
| ``` | ||||||
|
|
||||||
| Redis Connect provides a dashboard for monitoring the system. After installing Grafana and connecting it to Prometheus (i.e., adding a data source), you can install the Redis Connect dashboard by navigating to the Grafana dashboard page and clicking New -> Import. | ||||||
|
|
||||||
| The Redis Connect dashboard reports the following metrics: | ||||||
|
|
||||||
| | metric | label | type | description | | ||||||
| |--------------------------------------------|---------------|-----------|---------------------------------------| | ||||||
| | event_job_starts_total | job starts | count | number of times job has been started | | ||||||
| | event_job_stops_total | job stops | count | number of times job has been stopped | | ||||||
| | event_input_buffer_histogram | buffer | histogram | number of events received | | ||||||
| | event_input_buffer_count | buffer count | count | number of measurements | | ||||||
| | event_input_buffer_sum | buffer total | count | sum of all measured quantities | | ||||||
| | event_operation_lag | elapsed | histogram | time it took connect to receive event | | ||||||
| | event_operation_lag_milliseconds_count | elapsed count | count | number of times lag was recorded | | ||||||
| | event_operation_lag_milliseconds_sum | elapsed sum | count | sum total of all lag recordings | | ||||||
| | event_operation_latency | elapsed | histogram | time it took to process the event | | ||||||
| | event_operation_latency_milliseconds_count | elapsed count | count | number of times latency was recorded | | ||||||
| | event_operation_latency_milliseconds_sum | elapsed sum | count | sum of all latency recordings | | ||||||
| | event_operation_elapsed | elapsed | histogram | time it took to write event to redis | | ||||||
|
||||||
| | event_operation_elapsed | elapsed | histogram | time it took to write event to redis | | |
| | event_operation_elapsed | elapsed | histogram | time it took to write event to Redis | |
Outdated
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
| | event_operation_elapsed_milliseconds_count | elapsed count | count | number of time duration was recorded | | |
| | event_operation_elapsed_milliseconds_count | elapsed count | count | number of times duration was recorded | |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/connect/Redis Connect