-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sleuth and Zipkin are replaced with Micrometer. Grafana, Prometheus, …
…and Zipkin changes are implemented
- Loading branch information
musab.bozkurt
committed
Feb 4, 2024
1 parent
1271891
commit a3aaa87
Showing
6 changed files
with
78 additions
and
55 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
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,10 +1,12 @@ | ||
#Global configurations | ||
# Global configurations | ||
global: | ||
scrape_interval: 5s # Set the scrape interval to every 5 seconds. | ||
evaluation_interval: 5s # Evaluate rules every 5 seconds. | ||
scrape_interval: 5s # Set the scrape interval to every 5 seconds. Default is every 1 minute. | ||
evaluation_interval: 5s # Evaluate rules every 5 seconds. The default is every 1 minute. | ||
# scrape_timeout is set to the global default (10s). | ||
|
||
scrape_configs: | ||
- job_name: 'live-data-app' | ||
- job_name: 'live-data-service' | ||
metrics_path: '/actuator/prometheus' | ||
scrape_interval: 5s | ||
static_configs: | ||
- targets: [ 'live-data-service:8080' ] | ||
- targets: [ 'host.docker.internal:8080' ] # 8080 is live-data-service port. |
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