-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Blackbox Exporter support to Mentix (#1190)
- Loading branch information
1 parent
b01b680
commit 5831dc0
Showing
10 changed files
with
265 additions
and
190 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Enhancement: Add Blackbox Exporter support to Mentix | ||
|
||
This update extends Mentix to export a Prometheus SD file specific to the Blackbox Exporter which will be used for initial health monitoring. Usually, Prometheus requires its targets to only consist of the target's hostname; the BBE though expects a full URL here. This makes exporting two distinct files necessary. | ||
|
||
https://github.com/cs3org/reva/pull/1190 |
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
19 changes: 0 additions & 19 deletions
19
docs/content/en/docs/config/http/services/mentix/promfilesd/_index.md
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
docs/content/en/docs/config/http/services/mentix/promsd/_index.md
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: "promsd" | ||
linkTitle: "promsd" | ||
weight: 10 | ||
description: > | ||
Configuration for the Prometheus SD exporter of the Mentix service | ||
--- | ||
|
||
{{% pageinfo %}} | ||
When using the Prometheus SD exporter, the output filenames have to be configured first. | ||
{{% /pageinfo %}} | ||
|
||
{{% dir name="metrics_output_file" type="string" default="" %}} | ||
The target filename of the generated Prometheus File SD scrape config for metrics. | ||
{{< highlight toml >}} | ||
[http.services.mentix.promsd] | ||
metrics_output_file = "/var/shared/prometheus/sciencemesh.json" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
||
{{% dir name="blackbox_output_file" type="string" default="" %}} | ||
The target filename of the generated Prometheus File SD scrape config for the blackbox exporter. | ||
{{< highlight toml >}} | ||
[http.services.mentix.promsd] | ||
blackbox_output_file = "/var/shared/prometheus/blackbox.json" | ||
{{< /highlight >}} | ||
{{% /dir %}} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.