List distinct service names visible to the caller
traces.list_services(TraceListServicesParams**kwargs) -> TraceListServicesResponse
GET/api/traces/services/
The single trace-data viewset — one Span table, two read shapes.
Parameters
agent: Optional[str]
formatuuid
duration_ns_gte: Optional[int]
duration_ns_lte: Optional[int]
iteration: Optional[str]
formatuuid
job: Optional[str]
formatuuid
kind: Optional[int]
max_duration_ms: Optional[float]
min_duration_ms: Optional[float]
name: Optional[str]
operation: Optional[str]
ordering: Optional[str]
Which field to use when ordering the results.
page: Optional[int]
A page number within the paginated result set.
project: Optional[str]
formatuuid
received_at_gte: Optional[Union[str, datetime]]
formatdate-time
received_at_lte: Optional[Union[str, datetime]]
formatdate-time
search: Optional[str]
A search term.
service_name: Optional[str]
Multiple values may be separated by commas.
span_id: Optional[str]
start_time_ns_gte: Optional[int]
start_time_ns_lte: Optional[int]
status_code: Optional[int]
trace_id: Optional[str]
Returns
List distinct service names visible to the caller
from overmind_lab import OvermindLab
client = OvermindLab()
response = client.traces.list_services()
print(response.count){
"count": 123,
"results": [
"string"
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Returns Examples
{
"count": 123,
"results": [
"string"
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}