Skip to content

Commit 94100b6

Browse files
authored
Merge pull request #211 from djjudas21/loglevel
Loglevel
2 parents a86cb02 + 4ae9abd commit 94100b6

File tree

11 files changed

+45
-17
lines changed

11 files changed

+45
-17
lines changed

charts/graphite-exporter/Chart.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ apiVersion: v2
22
name: graphite-exporter
33
description: A Prometheus exporter for metrics exported in the Graphite plaintext protocol
44
type: application
5-
version: 0.1.8
6-
appVersion: "v0.12.3"
5+
version: 0.1.9
6+
appVersion: "v0.16.0"
77
home: https://github.com/djjudas21/charts/tree/master/charts/graphite-exporter
88
icon: https://graphiteapp.org/img/apple-touch-icon-144x144.png
99
keywords:
1010
- graphite
1111
- prometheus
1212
- monitoring
13+
- exporter
1314
maintainers:
1415
- name: djjudas21
1516
email: djjudas21@users.noreply.github.com
@@ -18,4 +19,4 @@ sources:
1819
annotations:
1920
artifacthub.io/changes: |-
2021
- kind: changed
21-
description: Fix chart URL
22+
description: Update to graphite-exporter v0.16.0

charts/graphite-exporter/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# graphite-exporter
22

3-
![Version: 0.1.8](https://img.shields.io/badge/Version-0.1.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.3](https://img.shields.io/badge/AppVersion-v0.12.3-informational?style=flat-square)
3+
![Version: 0.1.9](https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.16.0](https://img.shields.io/badge/AppVersion-v0.16.0-informational?style=flat-square)
44

55
A Prometheus exporter for metrics exported in the Graphite plaintext protocol
66

@@ -22,7 +22,8 @@ A Prometheus exporter for metrics exported in the Graphite plaintext protocol
2222
|-----|------|---------|-------------|
2323
| affinity | object | `{}` | |
2424
| fullnameOverride | string | `""` | |
25-
| graphite | object | `{}` | |
25+
| graphite.logLevel | string | `"info"` | Only log messages with the given severity or above |
26+
| graphite.mapping | string | `""` | Custom graphite mappings in YAML format. See https://github.com/prometheus/graphite_exporter#metric-mapping-and-configuration |
2627
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
2728
| image.repository | string | `"prom/graphite-exporter"` | image repository |
2829
| image.tag | string | chart.appVersion | image tag |

charts/graphite-exporter/templates/deployment.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ spec:
3232
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
3333
imagePullPolicy: {{ .Values.image.pullPolicy }}
3434
command: ["/bin/graphite_exporter"]
35+
args:
36+
- "--graphite.listen-address=:{{ .Values.service.graphite.port }}"
37+
- "--log.level={{ .Values.graphite.logLevel }}"
3538
{{- if .Values.graphite.mapping }}
36-
args: ["--graphite.listen-address", ":{{ .Values.service.graphite.port }}", "--graphite.mapping-config", "/tmp/graphite_mapping.conf"]
37-
{{- else }}
38-
args: ["--graphite.listen-address", ":{{ .Values.service.graphite.port }}"]
39+
- "--graphite.mapping-config=/tmp/graphite_mapping.conf"
3940
{{- end }}
4041
ports:
4142
- name: prometheus

charts/graphite-exporter/values.schema.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,26 @@
1818
"type": "object"
1919
},
2020
"graphite": {
21+
"properties": {
22+
"logLevel": {
23+
"default": "info",
24+
"description": "Only log messages with the given severity or above",
25+
"enum": [
26+
"debug",
27+
"info",
28+
"warn",
29+
"error"
30+
],
31+
"required": [],
32+
"title": "logLevel"
33+
},
34+
"mapping": {
35+
"default": "",
36+
"description": "Custom graphite mappings in YAML format. See https://github.com/prometheus/graphite_exporter#metric-mapping-and-configuration",
37+
"title": "mapping",
38+
"type": "string"
39+
}
40+
},
2141
"required": [],
2242
"title": "graphite",
2343
"type": "object"

charts/graphite-exporter/values.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,14 @@ service:
5252
annotations: {}
5353
# metallb.universe.tf/allow-shared-ip: graphite-exporter
5454

55-
graphite: {}
56-
#mapping: |-
57-
# Add custom graphite mappings here: https://github.com/prometheus/graphite_exporter#metric-mapping-and-configuration
55+
graphite:
56+
# @schema
57+
# enum: [debug, info, warn, error]
58+
# @schema
59+
# -- Only log messages with the given severity or above
60+
logLevel: info
61+
# -- Custom graphite mappings in YAML format. See https://github.com/prometheus/graphite_exporter#metric-mapping-and-configuration
62+
mapping: ""
5863

5964
serviceMonitor:
6065
# -- Enable Service Monitor for Prometheus Operator

charts/navidrome/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: v2
33
appVersion: 0.60.2
44
description: Navidrome is an open source web-based music collection server and streamer
55
name: navidrome
6-
version: 6.8.0
6+
version: 6.8.1
77
kubeVersion: ">=1.16.0-0"
88
keywords:
99
- navidrome

charts/navidrome/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# navidrome
22

3-
![Version: 6.8.0](https://img.shields.io/badge/Version-6.8.0-informational?style=flat-square) ![AppVersion: 0.60.2](https://img.shields.io/badge/AppVersion-0.60.2-informational?style=flat-square)
3+
![Version: 6.8.1](https://img.shields.io/badge/Version-6.8.1-informational?style=flat-square) ![AppVersion: 0.60.2](https://img.shields.io/badge/AppVersion-0.60.2-informational?style=flat-square)
44

55
Navidrome is an open source web-based music collection server and streamer
66

charts/spoolman/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: "0.23.1"
33
description: Keep track of your inventory of 3D-printer filament spools.
44
name: spoolman
5-
version: 0.1.4
5+
version: 0.1.5
66
type: application
77
keywords:
88
- database

charts/spoolman/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# spoolman
22

3-
![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.23.1](https://img.shields.io/badge/AppVersion-0.23.1-informational?style=flat-square)
3+
![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.23.1](https://img.shields.io/badge/AppVersion-0.23.1-informational?style=flat-square)
44

55
Keep track of your inventory of 3D-printer filament spools.
66

charts/webtrees/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: v2
33
appVersion: 2.1.26
44
description: Open-source online collaborative genealogy application
55
name: webtrees
6-
version: 2.2.22
6+
version: 2.2.23
77
kubeVersion: ">=1.16.0-0"
88
keywords:
99
- webtrees

0 commit comments

Comments
 (0)