This message was deleted.
# rancher-desktop
a
This message was deleted.
âś… 1
c
Hey, just to follow up - it looks like your valuesContent is wrong. You have:
Copy code
spec:
  valuesContent: |-
    podAnnotations:
      datadog.monitoring: "true"
however the podAnnotations is under deployment: https://github.com/k3s-io/k3s-charts/blob/main/charts/traefik/25.0.2%2Bup25.0.0/values.yaml#L16-L41 so you would want
Copy code
spec:
  valuesContent: |-
    deployment:
      podAnnotations:
        datadog.monitoring: "true"
🦜 1
Also my understanding is that datadog’s annotations are all in the form
<http://ad.datadoghq.com/foo|ad.datadoghq.com/foo>
not
datadog.foo
r
That’s for more granular control over what the scrapper grabs example: define a specific metrics namespace for the pod/services or only pull in a subset of metrics.
I ended up creating a deployment using the prometheus client to generate some test metrics. Would’ve been nice to control some of the k3s components.
This type of config utilises the default behaviour of the scrapper (docs)
> Hey, just to follow up - it looks like your valuesContent is wrong. You have: doh thanks for the correction, let me give that a go
@creamy-pencil-82913 thanks btw for the correction on the config yaml. That worked 🙂
Still need to get my head around helm in particular values yamls