-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
T6953: merges node and frr exporter under prometheus section
- Loading branch information
Showing
13 changed files
with
272 additions
and
332 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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,3 +1,3 @@ | ||
<!-- include start from include/version/monitoring-version.xml.i --> | ||
<syntaxVersion component='monitoring' version='1'></syntaxVersion> | ||
<syntaxVersion component='monitoring' version='2'></syntaxVersion> | ||
<!-- include end --> |
25 changes: 0 additions & 25 deletions
25
interface-definitions/service_monitoring_frr_exporter.xml.in
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
interface-definitions/service_monitoring_node_exporter.xml.in
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
interface-definitions/service_monitoring_prometheus.xml.in
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,45 @@ | ||
<?xml version="1.0"?> | ||
<interfaceDefinition> | ||
<node name="service"> | ||
<children> | ||
<node name="monitoring"> | ||
<children> | ||
<node name="prometheus" owner="${vyos_conf_scripts_dir}/service_monitoring_prometheus.py"> | ||
<properties> | ||
<help>Prometheus metric exporter</help> | ||
<priority>1280</priority> | ||
</properties> | ||
<children> | ||
<node name="node-exporter"> | ||
<properties> | ||
<help>Prometheus exporter for hardware and operating system metrics</help> | ||
</properties> | ||
<children> | ||
#include <include/listen-address.xml.i> | ||
#include <include/port-number.xml.i> | ||
<leafNode name="port"> | ||
<defaultValue>9100</defaultValue> | ||
</leafNode> | ||
#include <include/interface/vrf.xml.i> | ||
</children> | ||
</node> | ||
<node name="frr-exporter"> | ||
<properties> | ||
<help>Prometheus exporter for FRR metrics</help> | ||
</properties> | ||
<children> | ||
#include <include/listen-address.xml.i> | ||
#include <include/port-number.xml.i> | ||
<leafNode name="port"> | ||
<defaultValue>9342</defaultValue> | ||
</leafNode> | ||
#include <include/interface/vrf.xml.i> | ||
</children> | ||
</node> | ||
</children> | ||
</node> | ||
</children> | ||
</node> | ||
</children> | ||
</node> | ||
</interfaceDefinition> |
64 changes: 0 additions & 64 deletions
64
smoketest/scripts/cli/test_service_monitoring_node-exporter.py
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.