Skip to content

Commit

Permalink
Merge pull request #72 from ccremer/fe-site
Browse files Browse the repository at this point in the history
[fronius-exporter] Update to v0.5.0, add static site label
  • Loading branch information
ccremer authored Jun 6, 2021
2 parents 6b48bb4 + 1cd3aac commit 1fc0769
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/fronius-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.2.0
version: 0.3.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
Expand Down
5 changes: 3 additions & 2 deletions charts/fronius-exporter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# fronius-exporter

![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

Prometheus Exporter for Fronius Symo Photovoltaics

Expand All @@ -23,14 +23,15 @@ helm install fronius-exporter ccremer/fronius-exporter
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| exporter.additionalArgs | list | `[]` | Provide additional CLI flags via string array |
| exporter.siteName | string | `""` | Site name of Fronius SYMO that gets added as a static label to all metrics. **Recommended** |
| exporter.symoUrl | string | `"http://symo.ip.or.hostname/solar_api/v1/GetPowerFlowRealtimeData.fcgi"` | Target URL of Fronius SYMO device. **Required** |
| exporter.timeoutSeconds | int | `5` | Time after which collecting may time out. Should not be higher than the Prometheus scrape interval. |
| fullnameOverride | string | `""` | |
| hostAliases | object | `{}` | A dict with `{ip, hostnames array}` to configure custom entries in /etc/hosts. See [values.yaml](./values.yaml) for an example. |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.registry | string | `"quay.io"` | Container image registry |
| image.repository | string | `"ccremer/fronius-exporter"` | Location of the container image |
| image.tag | string | `"v0.4.0"` | Container image tag |
| image.tag | string | `"v0.5.0"` | Container image tag |
| imagePullSecrets | list | `[]` | List of image pull secrets if you use a privately hosted image |
| ingress.annotations | object | `{}` | Additional annotations for the Ingress object |
| ingress.enabled | bool | `false` | Useful if your Prometheus is outside of the cluster |
Expand Down
1 change: 1 addition & 0 deletions charts/fronius-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- --symo.url={{ .Values.exporter.symoUrl }}
- --symo.site={{ .Values.exporter.siteName | quote }}
- --symo.timeout={{ .Values.exporter.timeoutSeconds }}
{{- range .Values.exporter.additionalArgs }}
- {{ . }}
Expand Down
4 changes: 3 additions & 1 deletion charts/fronius-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ image:
# -- Location of the container image
repository: ccremer/fronius-exporter
# -- Container image tag
tag: "v0.4.0"
tag: "v0.5.0"
pullPolicy: IfNotPresent

# -- List of image pull secrets if you use a privately hosted image
Expand All @@ -22,6 +22,8 @@ fullnameOverride: ""
exporter:
# -- Target URL of Fronius SYMO device. **Required**
symoUrl: "http://symo.ip.or.hostname/solar_api/v1/GetPowerFlowRealtimeData.fcgi"
# -- Site name of Fronius SYMO that gets added as a static label to all metrics. **Recommended**
siteName: ""
# -- Provide additional CLI flags via string array
additionalArgs: []
# -- Time after which collecting may time out. Should not be higher than
Expand Down

0 comments on commit 1fc0769

Please sign in to comment.