Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions charts/alumet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.7.1
version: 0.8.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: '0.9.4'
appVersion: '0.9.5'

dependencies:
- name: influxdb2
version: 2.1.2
condition: influxdb2.enabled
repository: 'https://helm.influxdata.com'
- name: alumet-relay-server
version: 0.6.2
version: 0.7.0
condition: alumet-relay-server.enabled
- name: alumet-relay-client
version: 0.7.1
version: 0.8.0
condition: alumet-relay-client.enabled
4 changes: 2 additions & 2 deletions charts/alumet/charts/alumet-relay-client/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.7.1
version: 0.8.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: '0.9.4'
appVersion: '0.9.5'
21 changes: 20 additions & 1 deletion charts/alumet/charts/alumet-relay-client/alumet-agent.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,26 @@ cpu_energy = { metric = "estimated_consumed_energy", resource_kind = "local_mach
# - the attribute `kind` equal to `total`
cpu_usage = { metric = "cpu_percent", kind = "total" }
{{- end }}
{{ if and .Values.plugins.energyAttribution.enable .Values.plugins.nvml.enable }}
[plugins.energy-attribution.formulas.attributed_nvml_energy]
expr = "(gpu_energy/1000) * (gpu_usage/100.0)" # gpu_energy are mJ
ref = "gpu_energy"
retention_time = "6s"

[plugins.energy-attribution.formulas.attributed_nvml_energy.per_resource]
gpu_energy = { metric = "nvml_energy_consumption", resource_kind = "gpu" }

[plugins.energy-attribution.formulas.attributed_nvml_energy.per_consumer]
gpu_usage = { metric = "nvml_sm_utilization" }

[plugins.process-to-cgroup-bridge]
# The metrics names we want to find the cgroup for
processes_metrics = ["attributed_nvml_energy"]
# Will aggregate measurements in case multiple processes share the same cgroup and have the same timestamp. This leads to one measurement per metric per cgroup per timestamp.
merge_similar_cgroups = true
# Will keep all the measurements that have been processed by the transformer. In case it's false only the measurements with a cgroup resource consumer will be kept.
keep_processed_measurements = false
{{- end }}

[plugins.relay-client]
enable = {{ .Values.plugins.relay_client.enable }}
Expand All @@ -174,7 +194,6 @@ socket_path = "alumet-control.sock"

[plugins.opentelemetry]
enable = {{ .Values.plugins.opentelemetry.enable }}
push_interval_seconds = {{ .Values.plugins.opentelemetry.push_interval_seconds }}
collector_host = "{{ .Values.plugins.opentelemetry.collector_host }}"
prefix = ""
suffix = "_alumet"
Expand Down
1 change: 0 additions & 1 deletion charts/alumet/charts/alumet-relay-client/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ plugins:
opentelemetry:
enable: false
collector_host: 'http://localhost:4317'
push_interval_seconds: 5
prometheusExporter:
enable: false
port: 9091
4 changes: 2 additions & 2 deletions charts/alumet/charts/alumet-relay-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.6.2
version: 0.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: '0.9.4'
appVersion: '0.9.5'
1 change: 0 additions & 1 deletion charts/alumet/charts/alumet-relay-server/alumet-agent.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ password = "{{ .Values.plugins.mongodb.password }}"
[plugins.opentelemetry]
enable = {{ .Values.plugins.opentelemetry.enable }}
collector_host = "{{ .Values.plugins.opentelemetry.collector_host }}"
push_interval_seconds = {{ .Values.plugins.opentelemetry.push_interval_seconds }}
prefix = ""
suffix = "_alumet"
use_unit_display_name = true
Expand Down
1 change: 0 additions & 1 deletion charts/alumet/charts/alumet-relay-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ plugins:
opentelemetry:
enable: false
collector_host: 'http://localhost:4317'
push_interval_seconds: 5

prometheusExporter:
enable: false
Expand Down
Loading