Cargo Features

[dependencies]
scaphandre = { version = "1.0.0", default-features = false, features = ["prometheus", "riemann", "json", "containers", "warpten", "prometheuspush", "qemu"] }
default = containers, json, prometheus, prometheuspush, riemann, warpten

These default features are set whenever scaphandre is added without default-features = false somewhere in the dependency tree.

prometheus default = hyper, tokio

Affects exporters::prometheus

riemann default = riemann_client

Affects exporters::riemann

json default = serde, serde_json

Affects exporters::json

containers default = docker-sync, k8s-sync

Affects utils::get_docker_client, utils::get_kubernetes_client, utils::ProcessTracker.regex_cgroup_docker, utils::ProcessTracker.regex_cgroup_kubernetes, utils::ProcessTracker.regex_cgroup_containerd

warpten default = warp10

Affects exporters::warpten

prometheuspush default = isahc

Affects exporters::prometheuspush

qemu

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

riemann_client riemann
serde json
serde_json json
warp10 warpten
docker-sync containers
k8s-sync containers
hyper prometheus

Enables hyper ^0.14

tokio prometheus
isahc prometheuspush