EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Extracts the namespace from the service name. It expects the service name to come in the format<namespace>/<service_name>
, otherwise it'll return an empty string.
The namespace of the service.
Variable | Type | Description |
---|---|---|
service_name | STRING | The service to extract the namespace. |
# df.service is `pl/kelvin`df.namespace = px.service_name_to_namespace(df.service) # "pl"