Skip to content

Commit

Permalink
feat: constructed composite identifier for entity synthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-bandlamudi-nr committed Dec 18, 2024
1 parent 7783722 commit a38dea4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions charts/newrelic-logging/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,10 @@ https://log-api.newrelic.com/log/v1


{{/*
Create labels required for entity synthesis to be put as part of prometheus_remote_write configuration
Creates labels required for entity synthesis to be put as part of prometheus_remote_write configuration
*/}}
{{- define "newrelic-logging.entitySynthesis.labels" -}}
{{- printf "add_label namespace %s" .Release.Namespace | nindent 8 -}}
{{- printf "add_label helm_release_name %s" .Release.Name | nindent 8 -}}
{{- printf "add_label entity_id %s/%s" .Release.Namespace .Release.Name | nindent 8 -}}
{{- end -}}

{{/*
Expand Down

0 comments on commit a38dea4

Please sign in to comment.