Skip to content

Commit

Permalink
update metrics urls and image
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Valson <pranay.valson@gmail.com>
  • Loading branch information
noslav committed May 9, 2023
1 parent b8669fb commit b70cd6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Binary file modified docs/grafana.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions docs/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Config

Install Prometheus https://prometheus.io/download/
Install Prometheus https://prometheus.io/download/

* Edit `/opt/homebrew/etc/prometheus.yml` for mac/m1.
or
Expand Down Expand Up @@ -65,16 +65,17 @@ rudder_events_ipfs_pin_count{operation="pin",table="ipfs_metrics"} 4

## API

View exported gauges and counters using prometheus at the endpoint -> http://localhost:9568/metrics.
View exported gauges and counters using prometheus at the endpoint -> <http://localhost:9568/metrics>.

Create graphs using prometheus at the endpoint -> http://localhost:9090/graph.
Create graphs using prometheus at the endpoint -> <http://localhost:9090/graph>.

View timeseries and add alerting with grafana at the endpoint -> http://localhost:3000/explore.
View timeseries and add alerting with grafana at the endpoint -> <http://localhost:3000/explore>.

Docker containers automatically export to this endpoint as well via exposed ports and port forwarding.

## Graph

Observe live the gauge time series graphs with plots for example with metrics for `pipeline_success` and `ipfs_fetch` -> http://localhost:9090/graph?g0.expr=rudder_events_rudder_pipeline_success_duration&g0.tab=0&g0.stacked=1&g0.show_exemplars=0&g0.range_input=15m&g0.step_input=1&g1.expr=rudder_events_ipfs_fetch_duration&g1.tab=0&g1.stacked=1&g1.show_exemplars=1&g1.range_input=15m&g1.step_input=1
Observe live the gauge time series graphs with plots for example with metrics for `pipeline_success` and `ipfs_fetch` -> <http://localhost:9090/graph?g0.expr=rudder_events_rudder_pipeline_success_duration&g0.tab=0&g0.stacked=1&g0.show_exemplars=0&g0.range_input=15m&g0.step_input=1&g1.expr=rudder_events_ipfs_fetch_duration&g1.tab=0&g1.stacked=1&g1.show_exemplars=1&g1.range_input=15m&g1.step_input=1>

![Observe](./prometheus.png)

Expand Down

0 comments on commit b70cd6c

Please sign in to comment.