Skip to content

Commit

Permalink
Merge pull request #382 from hubblo-org/369-json-file-output-format
Browse files Browse the repository at this point in the history
369 json file output format
  • Loading branch information
bpetit authored May 6, 2024
2 parents 0d8f27e + fc0bc8f commit 4dc9783
Show file tree
Hide file tree
Showing 8 changed files with 211 additions and 21 deletions.
134 changes: 121 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ hyper = { version = "0.14", features = ["full"], optional = true }
tokio = { version = "1.26.0", features = ["full"], optional = true}
sysinfo = { version = "0.28.3"}
isahc = { version = "1.7.2", optional = true }
ctrlc = { version = "3.4", features = [ "termination" ] }

[target.'cfg(target_os="linux")'.dependencies]
procfs = { version = "0.15.0" }
Expand Down
2 changes: 1 addition & 1 deletion docs_src/references/exporter-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ As always exporter's options can be displayed with `-h`:
-h, --help
Print help

Metrics provided Scaphandre are documented [here](references/metrics.md).
Metrics provided Scaphandre are documented [here](metrics.md).
2 changes: 1 addition & 1 deletion docs_src/references/exporter-prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ With default options values, the metrics are exposed on http://localhost:8080/me
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.
This will allow to easily create charts consumption for each vm and defined which one is the top contributor.

Metrics provided Scaphandre are documented [here](references/metrics.md).
Metrics provided Scaphandre are documented [here](metrics.md).
2 changes: 1 addition & 1 deletion docs_src/references/exporter-riemann.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ As a reference here is a Riemann configuration:

## Metrics exposed

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

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

Expand Down
2 changes: 1 addition & 1 deletion docs_src/references/exporter-warp10.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ With default options values, the metrics are sent to http://localhost:8080 every
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.
This will allow to easily create charts consumption for each vm and defined which one is the top contributor.

Metrics provided Scaphandre are documented [here](references/metrics.md).
Metrics provided Scaphandre are documented [here](metrics.md).
Loading

0 comments on commit 4dc9783

Please sign in to comment.