Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Could'nt read record from /sys/class #391

Merged
merged 11 commits into from
Oct 6, 2024
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ packaging/*/BUILDROOT/*
*.tar.gz
*.swp
packaging/*/BUILDROOT/*

.vscode
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scaphandre"
version = "0.5.0"
version = "1.0.0"
authors = ["Benoit Petit <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
1 change: 1 addition & 0 deletions docs_src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

- [JSON exporter](references/exporter-json.md)
- [Prometheus exporter](references/exporter-prometheus.md)
- [Prometheus-push exporter](references/exporter-prometheuspush.md)
- [Qemu exporter](references/exporter-qemu.md)
- [Riemann exporter](references/exporter-riemann.md)
- [Stdout exporter](references/exporter-stdout.md)
Expand Down
2 changes: 1 addition & 1 deletion docs_src/references/exporter-prometheuspush.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Usage

You can launch the prometheus exporter this way (running the default powercap_rapl sensor):
You can launch the prometheus exporter this way:

scaphandre prometheus-push

Expand Down
2 changes: 1 addition & 1 deletion docs_src/tutorials/installation-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Using the installer

Download the [package](https://scaphandre.s3.fr-par.scw.cloud/x86_64/scaphandre_0.5.0_installer.exe) and install it **as an administrator**.
Download the latest exe installer [from the release page](https://github.com/hubblo-org/scaphandre/releases) and install it **as an administrator**.

### Configuring a Windows service to run Scaphandre in the background

Expand Down
1 change: 1 addition & 0 deletions helm/scaphandre/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ spec:
name: powercap
readOnly: false
securityContext:
CalmaIndustry marked this conversation as resolved.
Show resolved Hide resolved
privileged: {{ .Values.privileged }}
runAsUser: {{ .Values.userID }}
runAsGroup: {{ .Values.userGroup }}
serviceAccountName: {{ template "scaphandre.name" . }}
Expand Down
2 changes: 2 additions & 0 deletions helm/scaphandre/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ scaphandre:
containers:
# rustBacktrace: '1'

# Gives full host access, bypassing container isolation. true or false
privileged: false
CalmaIndustry marked this conversation as resolved.
Show resolved Hide resolved
# Run as root user to get proper permissions
userID: 0
groupID: 0
Expand Down