Skip to main content

tracing_status

Creates, updates, deletes, gets or lists a tracing_status resource.

Overview​

Nametracing_status
TypeResource
Idrailway.observability.tracing_status

Fields​

The following fields are returned by SELECT queries:

One row per ServiceTracingStatus. Whether a service's requests are producing spans, per exporting hop. The edge tracing a request says nothing about the app behind it.

NameDatatypeDescription
service_idstring
last_edge_span_atstring (date-time)When the edge last exported a span for a request to the service; null when it never has within retention
last_service_span_atstring (date-time)When the service's own app last exported a span; null when it never has within retention

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectenvironment_idSpan activity per service of an environment within retention; a service absent from the list has produced no spans at all. Backed by the Railway GraphQL query tracingStatus.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
environment_idstring

SELECT examples​

Span activity per service of an environment within retention; a service absent from the list has produced no spans at all. Backed by the Railway GraphQL query tracingStatus.

SELECT
service_id,
last_edge_span_at,
last_service_span_at
FROM railway.observability.tracing_status
WHERE environment_id = '{{ environment_id }}' -- required
;