Merge pull request #2 from malarinv/bootstrap

fix: Ensure proper formatting and handle KeyError in exporter.py
pull/4/head v0.0.1
Malar Kannan 2025-06-18 20:47:21 +05:30 committed by GitHub
commit 774afbab70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 3 additions and 6 deletions

View File

@ -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 }}
```

1
.gitignore vendored
View File

@ -37,4 +37,3 @@ Thumbs.db
# Helm
!charts/iperf3-monitor/.helmignore
charts/*.tgz # Ignore packaged chart files
```

View File

@ -46,4 +46,3 @@ spec:
resources:
{{- toYaml . | nindent 10 }}
{{- end }}
```

View File

@ -42,4 +42,3 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
```

View File

@ -156,4 +156,5 @@ def parse_and_publish_metrics(result, source_node, dest_node, protocol):
IPERF_JITTER_MS.labels(**labels).set(0)
IPERF_PACKETS_TOTAL.labels(**labels).set(0)
IPERF_LOST_PACKETS.labels(**labels).set(0)
except KeyError:
except KeyError:
pass