Skip to content

Commit

Permalink
Merge pull request #57 from devvesa/datadog_services
Browse files Browse the repository at this point in the history
Add datadog tags
  • Loading branch information
devvesa authored Nov 15, 2023
2 parents b587987 + 8183ac2 commit 993627e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/thingsboard/templates/mqtt-transport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ kind: {{ .Values.mqtt.kind }}
metadata:
name: {{ .Release.Name }}-mqtt-transport
labels:
tags.datadoghq.com/service: tb-mqtt-transport
tags.datadoghq.com/version: {{ .appVersion }}
admission.datadoghq.com/enabled: "true"
{{- include "thingsboard.labels" . | nindent 4 }}
spec:
{{- $podLabels := include "thingsboard.selectorLabels-mqtt" . }}
Expand All @@ -37,6 +40,7 @@ spec:
{{- with .Values.mqtt.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
admission.datadoghq.com/java-lib.version: latest
{{- end }}
labels:
{{- include "thingsboard.selectorLabels-mqtt" . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions helm/thingsboard/templates/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ kind: {{ .Values.node.kind }}
metadata:
name: {{ .Release.Name }}-node
labels:
tags.datadoghq.com/service: tb-node
tags.datadoghq.com/version: {{ .appVersion }}
admission.datadoghq.com/enabled: "true"
{{- include "thingsboard.labels" . | nindent 4 }}
spec:
{{- $podLabels := include "thingsboard.selectorLabels-node" . }}
Expand All @@ -37,6 +40,7 @@ spec:
{{- with .Values.node.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
admission.datadoghq.com/java-lib.version: latest
{{- end }}
labels:
{{- include "thingsboard.selectorLabels-node" . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions helm/thingsboard/templates/web-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ kind: {{ .Values.webui.kind }}
metadata:
name: {{ .Release.Name }}-web-ui
labels:
tags.datadoghq.com/service: tb-ui
tags.datadoghq.com/version: {{ .appVersion }}
admission.datadoghq.com/enabled: "true"
{{- include "thingsboard.labels" . | nindent 4 }}
spec:
{{- if not .Values.webui.autoscaling.enabled }}
Expand All @@ -36,6 +39,7 @@ spec:
{{- with .Values.webui.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
admission.datadoghq.com/java-lib.version: latest
{{- end }}
labels:
{{- include "thingsboard.selectorLabels-webui" . | nindent 8 }}
Expand Down

0 comments on commit 993627e

Please # to comment.