EXPAND ALL
  • Home

has_service_name

Checks to see if a given service is present. Can include matching an individual service, or checking against a list of services.

Returns: BOOLEAN

True if value is present in service, otherwise false

Arguments

VariableTypeDescription
serviceSTRINGThe service to check
valueSTRINGThe value to check for in service

Examples:

df = df[px.has_service_name(df.ctx["service"], "kube-system/kube-dns")]
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.