Skip to content

Commit

Permalink
Increase kg_exporter push frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zharinov committed Dec 11, 2024
1 parent d600879 commit 9de06c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions base/apps/dkg-engine/kg-exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:

settings:
builder:
builder_tick_seconds: 600
builder_tick_seconds: 60
node_port: 80
single_slice_url: http://metadata-service:80
is_single_slice: True
Expand All @@ -51,7 +51,7 @@ spec:
property: Energy.Usage
query: |
label_replace(
irate(kepler_node_platform_joules_total[10m] @{{now}}),
irate(kepler_node_platform_joules_total[1m] @{{now}}),
"resource",
"$1",
"exported_instance",
Expand All @@ -65,13 +65,13 @@ spec:
unit: Core
property: CPU.Available
aggregation:
period_seconds: 600
period_seconds: 60
function: average
query: |
label_replace(
sum(
rate(
node_cpu_seconds_total{mode="idle", service="monitoring-stack-prometheus-node-exporter"}[10m] @{{now}}
node_cpu_seconds_total{mode="idle", service="monitoring-stack-prometheus-node-exporter"}[1m] @{{now}}
)
) by (node),
"resource",
Expand Down

0 comments on commit 9de06c9

Please sign in to comment.