Clemens Jütte
07/24/2024, 6:52 PMapiVersion: <http://core.api.humanitec.io/v1|core.api.humanitec.io/v1>
kind: Definition
metadata:
id: instrumentnodejs
entity:
name: instrumentnodejs
type: workload
driver_type: humanitec/template
driver_inputs:
values:
templates:
outputs: |-
update:
- op: add
path: /spec/labels/tags.datadoghq.com~1env
value: ${context.env.id}
- op: add
path: /spec/labels/tags.datadoghq.com~1service
value: {{ .resource.id }}
- op: add
path: /spec/labels/"<http://instrumentation.opentelemetry.io/inject-nodejs|instrumentation.opentelemetry.io/inject-nodejs>"
value: "openobserve-collector/openobserve-nodejs"
criteria:
- app_id: 5min-idp-crbn
class: default