Skip to content

Commit

Permalink
feat: add extra jmx metrics (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
caiopavanelli authored Jan 14, 2025
1 parent 9bd3852 commit 7f9d563
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions valeriano-manassero/trino/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "433"
description: High performance, distributed SQL query engine for big data
name: trino
version: 10.2.0
version: 10.3.0
kubeVersion: ">= 1.24.0-0 < 1.31.0-0"
home: https://trino.io
icon: https://trino.io/assets/images/trino-logo/trino-ko_tiny-alt.svg
Expand All @@ -27,4 +27,4 @@ keywords:
annotations:
artifacthub.io/changes: |
- kind: changed
description: Add extra volumes parameter to coordinator node
description: Add extra metrics parameter for jmx exporter
3 changes: 2 additions & 1 deletion valeriano-manassero/trino/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# trino

![Version: 10.2.0](https://img.shields.io/badge/Version-10.2.0-informational?style=flat-square) ![AppVersion: 433](https://img.shields.io/badge/AppVersion-433-informational?style=flat-square)
![Version: 10.3.0](https://img.shields.io/badge/Version-10.3.0-informational?style=flat-square) ![AppVersion: 433](https://img.shields.io/badge/AppVersion-433-informational?style=flat-square)

High performance, distributed SQL query engine for big data

Expand Down Expand Up @@ -116,6 +116,7 @@ Kubernetes: `>= 1.24.0-0 < 1.31.0-0`
| initKeystore.image.tag | int | `17` | |
| jmxExporter.coordinator.enabled | bool | `false` | |
| jmxExporter.downloadLink | string | `"https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.17.2/jmx_prometheus_javaagent-0.17.2.jar"` | |
| jmxExporter.extraMetrics | object | `{}` | |
| jmxExporter.image.pullPolicy | string | `"IfNotPresent"` | |
| jmxExporter.image.repository | string | `"curlimages/curl"` | |
| jmxExporter.image.tag | string | `"7.87.0"` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@ data:
- pattern : trino.execution<name=QueryManager><>UserErrorFailures.OneMinute.Count
name: trino_failed_queries_user
{{- if .Values.jmxExporter.extraMetrics }}
{{ .Values.jmxExporter.extraMetrics | indent 4 }}
{{- end }}

{{- end }}
1 change: 1 addition & 0 deletions valeriano-manassero/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -592,3 +592,4 @@ jmxExporter:
# relabelings:
# - sourceLabels: [__meta_kubernetes_endpoints_label_app_kubernetes_io_version]
# targetLabel: version
extraMetrics: {}

0 comments on commit 7f9d563

Please sign in to comment.