fix: Ensure proper formatting and handle KeyError in exporter.py
parent
14ec3f6581
commit
07ba196ba6
|
|
@ -3,7 +3,7 @@ name: Release iperf3-monitor
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
- "v*.*.*"
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
|
|
@ -92,4 +92,3 @@ jobs:
|
|||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
charts_dir: ./charts
|
||||
charts_url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
|
||||
```
|
||||
|
|
@ -37,4 +37,3 @@ Thumbs.db
|
|||
# Helm
|
||||
!charts/iperf3-monitor/.helmignore
|
||||
charts/*.tgz # Ignore packaged chart files
|
||||
```
|
||||
|
|
@ -46,4 +46,3 @@ spec:
|
|||
resources:
|
||||
{{- toYaml . | nindent 10 }}
|
||||
{{- end }}
|
||||
```
|
||||
|
|
@ -42,4 +42,3 @@ spec:
|
|||
resources:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
```
|
||||
|
|
@ -157,3 +157,4 @@ def parse_and_publish_metrics(result, source_node, dest_node, protocol):
|
|||
IPERF_PACKETS_TOTAL.labels(**labels).set(0)
|
||||
IPERF_LOST_PACKETS.labels(**labels).set(0)
|
||||
except KeyError:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in New Issue