Created
January 27, 2026 07:00
-
-
Save muhamad-ridwant-tech/70fa9a3bb26f224222a0dd8a4a9c5018 to your computer and use it in GitHub Desktop.
Prometheus config for Blacbox-Exporter
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
| scrape_configs: | |
| - job_name: 'blackbox' ## Backbox-Exporter Config | |
| metrics_path: /probe | |
| params: | |
| module: [http_2xx] # Module defined in blackbox.yml | |
| static_configs: | |
| - targets: | |
| - https://i-3.co.id/ # Website 01 | |
| - https://fake-json-api.mock.beeceptor.com/users # Function 01 | |
| - https://fake-json-api.mock.beeceptor.com/companies # Function 02 | |
| relabel_configs: | |
| - source_labels: [__address__] | |
| target_label: __param_target | |
| - source_labels: [__param_target] | |
| target_label: instance | |
| - target_label: __address__ | |
| replacement: 127.0.0.1:9115 # Blackbox exporter address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment