Skip to content

Commit 4dc9783

Browse files
authored
Merge pull request #382 from hubblo-org/369-json-file-output-format
369 json file output format
2 parents 0d8f27e + fc0bc8f commit 4dc9783

File tree

8 files changed

+211
-21
lines changed

8 files changed

+211
-21
lines changed

Cargo.lock

Lines changed: 121 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ hyper = { version = "0.14", features = ["full"], optional = true }
3232
tokio = { version = "1.26.0", features = ["full"], optional = true}
3333
sysinfo = { version = "0.28.3"}
3434
isahc = { version = "1.7.2", optional = true }
35+
ctrlc = { version = "3.4", features = [ "termination" ] }
3536

3637
[target.'cfg(target_os="linux")'.dependencies]
3738
procfs = { version = "0.15.0" }

docs_src/references/exporter-json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ As always exporter's options can be displayed with `-h`:
5656
-h, --help
5757
Print help
5858

59-
Metrics provided Scaphandre are documented [here](references/metrics.md).
59+
Metrics provided Scaphandre are documented [here](metrics.md).

docs_src/references/exporter-prometheus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ With default options values, the metrics are exposed on http://localhost:8080/me
3434
Use -q or --qemu option if you are running scaphandre on a hypervisor. In that case a label with the vm name will be added to all `qemu-system*` processes.
3535
This will allow to easily create charts consumption for each vm and defined which one is the top contributor.
3636

37-
Metrics provided Scaphandre are documented [here](references/metrics.md).
37+
Metrics provided Scaphandre are documented [here](metrics.md).

docs_src/references/exporter-riemann.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ As a reference here is a Riemann configuration:
8787

8888
## Metrics exposed
8989

90-
Metrics provided Scaphandre are documented [here](references/metrics.md).
90+
Metrics provided Scaphandre are documented [here](metrics.md).
9191

9292
There is only one exception about `process_power_consumption_microwatts` each process has a service name `process_power_consumption_microwatts_pid_exe`.
9393

docs_src/references/exporter-warp10.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ With default options values, the metrics are sent to http://localhost:8080 every
3434
Use -q or --qemu option if you are running scaphandre on a hypervisor. In that case a label with the vm name will be added to all `qemu-system*` processes.
3535
This will allow to easily create charts consumption for each vm and defined which one is the top contributor.
3636

37-
Metrics provided Scaphandre are documented [here](references/metrics.md).
37+
Metrics provided Scaphandre are documented [here](metrics.md).

0 commit comments

Comments
 (0)