This PR introduces the CreatedWithValue in the InstanceMetaRelabel API, enabling the addition of extra metadata pairs for instances. Additionally, it implements support for the InstanceMetaRelabel API on the zk source.
for example:
# zk config
ZookeeperSource:
InstanceMetaRelabel:
Items:
- Key: foo
TargetKey: foo
CreatedWithValue: "bar"
# origional meta of the instance
hello: world
# new meta of the instance
hello: world
foo: bar
This PR introduces the
CreatedWithValue
in theInstanceMetaRelabel
API, enabling the addition of extra metadata pairs for instances. Additionally, it implements support for theInstanceMetaRelabel
API on the zk source.for example: