-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:setup prometheus and grafana to run on the local host and config…
…ured promethus diasboard
- Loading branch information
1 parent
50549d1
commit 2d5eba8
Showing
6 changed files
with
36 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,9 +1,17 @@ | ||
# Prometheus configuration file | ||
global: | ||
scrape_interval: 15s # Scrape every 15 seconds | ||
evolution_interval: 30s | ||
|
||
scrape_configs: | ||
- job_name: 'didcomm-mediator' | ||
honor_labels: true # Fixed indentation and spelling | ||
static_configs: | ||
- targets: ['mediator:9100'] # Scrape the metrics from the mediator service | ||
- targets: | ||
- 'didcomm-mediator:9100' # Scrape the metrics from the mediator service | ||
|
||
- job_name: 'mongodb' | ||
static_configs: | ||
- targets: ['mongodb:27017'] | ||
|
||
- job_name: 'node-exporter' | ||
static_configs: | ||
- targets: ['node-exporter:9100'] |
This file was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
pub mod plugins; | ||
mod health_metrics; | ||
|
||
use axum::Router; | ||
use eyre::{eyre, Result}; | ||
|
This file contains 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