Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.49 KB

File metadata and controls

31 lines (22 loc) · 1.49 KB

ServiceMatchingRule

Calls will be matched with the array of key-value tags present in this field.

Properties

Name Type Description Notes
key str In Instana UI, this is shown as `Tag`. One can select a variety of pre-defined tags. Eg: `host.fqdn`, `container.label` etc.
value str In Instana UI, this is known as 'key`. Eg: if one labels Docker containers such as com.acme.service-name:myservice, to map services from this label, the `key` aka `tag` would be `docker.label` and `value` aka `key` would be `com.acme.service-name`.

Example

from instana_client.models.service_matching_rule import ServiceMatchingRule

# TODO update the JSON string below
json = "{}"
# create an instance of ServiceMatchingRule from a JSON string
service_matching_rule_instance = ServiceMatchingRule.from_json(json)
# print the JSON string representation of the object
print(ServiceMatchingRule.to_json())

# convert the object into a dict
service_matching_rule_dict = service_matching_rule_instance.to_dict()
# create an instance of ServiceMatchingRule from a dict
service_matching_rule_from_dict = ServiceMatchingRule.from_dict(service_matching_rule_dict)

[Back to Model list] [Back to API list] [Back to README]