Skip to content

🐛 [BUG] - cluster_name tag don't generate k8s.deployment.name #49

@dimitrisfinas

Description

@dimitrisfinas

Description

When you use the tag "cluster_name" to generate your k8s cluster resource attributes:

  • it generates an empty value for k8s.deployment.name. Could it generate a value equal to your service name?
  • it doesn't generate any k8s.replicaset.name, even if you use pod_count. Can you generate it in this case?
  • it doesn't generate any k8s.node.name or k8s.node.uid. can you generate it also?
  • a k8s.namespace.name is generated with the name of the service, could it be possible to override this value with an attribute with same name that we will set in resourceAttrs?

BTW, it will be great to be able to override any generated key/value by simply putting the same key with your own value in the resourceAttrs list.
Thanks

Reproduction URL

https://github.com/dimitrisfinas/telemetry-generator/blob/main/examples/ebank.yaml

Reproduction steps

1. Create your own scenario
2. Add a kubernetes: cluster_name: in your ressourceAtttrSets:
3. See traces obtained and look at resource attributes
4. See error

Screenshots

No response

Logs

No response

Browsers

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions