Select a signal
Start a failure investigation with issues or logs. Use an available trace to
examine one execution. Use a metric trend to examine the wider period. For
activity and retention, read Product analytics.
Capture only the fields that an investigation needs. Use stable service,
operation, and metric names. Do not send credentials, payment data, or raw
request bodies. The safe-capture guide gives the
controls.
Logs
A log is a record from the application at one point in time. A useful log has:- The source time of the event.
- A canonical severity.
- Project and service scope.
- Environment and release.
- Trace and span identifiers when the log has active trace context.
- Small, named attributes with context for the event.
occurred_at, severity,
project_id, service_name, environment, release, trace_id, span_id,
and attributes. Put context in named attributes, not in the message text.
Logs from several services in one view do not have a trace relationship.
Only trace context creates that relationship.
Traces
A trace contains the spans of one request or operation. A root span has no parent. A child span identifies its parent. All spans in a trace have the same trace ID and different span IDs. See Distributed tracing. A log, issue, action, or metric sent without active trace context gets a capture trace. That trace contains only capture spans. It does not show a request path. See Capture spans.Metrics
A metric records a measured value over time. Read each metric with its name, unit, dimensions, project, time range, and interval. LogBrew selects each point’svalue from the metric kind and temporality:
For example, three delta-counter samples with the values
2, 3, and 5 in
one interval give a point value of 10 and a sample_count of 3. Three
gauge samples with the same values, in that order, give a point value of
5. A p95 value is not an average. About 95% of the recorded observations
are at or below it.
For status: "ready", the derived aggregation is available. For
status: "limited", read aggregation.limitation and use only the raw
values. Do not sum a gauge or a cumulative stream. An interval without a
point is not a measured zero. For the query fields,
read Telemetry API filters.
GET /api/telemetry/metrics/series returns these points. It requires
project_id, name, and since. Each series has one identity with a
kind, unit, and temporality. Series with different identities stay
separate. Each point can also contain:
coverage.truncated is true when series_limit omitted lower-volume
series. To compare a metric window with the previous window of the same
length, run:
Issues
An issue groups repeated failures by a stable fingerprint. It has a severity, status, occurrence count, first-seen time, and last-seen time. Issue details can add exception chains, stack frames, breadcrumbs, related logs, and a trace relationship.last_seen_at is the newest occurrence in the group. The occurrence that you
select can be older. Read both times.
An issue status is unresolved, resolved, or archived. API response
version 1 shows archived as ignored. Response versions 2, 3, and 4 add
priority (high, medium, or low) and priority_source. Version 3 also
adds assignee, an account. In version 4, assignee is an account or a team,
and its type is user or team. See
Status values and
Priority.
Actions
An action records product activity. Supported classification marks it as a page view, screen view, or interaction. An event name alone does not set the classification. Use Product event capture to add this context. Sessions are not users. Anonymous subjects are not identified users.Severity values
LogBrew accepts the aliases as input in any letter case. The API, CLI, and
live events use the canonical values. Unknown severity values are rejected.
Severity is the recorded urgency. It does not show business impact or root
cause.
An issue or log response contains a
triage object. Its effective_severity
is the displayed severity. A user can change it. The severity field keeps
the captured value.
Live and snapshot reads
logbrew read returns a snapshot for the selected project, time range, and
filters. Run it again to read new events. logbrew watch streams new logs,
issues, and actions while the connection is open. It does not stream traces
or metrics. A connection failure does not show that the project is empty.
Evidence states
Responses keep these states separate: captured, missing, redacted, truncated, and unavailable. Trace evidence has four states:available, not_linked,
not_found, and unavailable. See the
introduction for their meaning,
and Evidence limits
for the coverage fields. A newer SDK does not add fields to events that it
sent earlier.
Investigate one project
1
Find unresolved issues
2
Read one issue
This reads the retained issue history. The
--since filter from the list
does not apply.3
Open an available trace
Use the trace ID only when the selected occurrence returns one.
4
Read related evidence
Filter logs, actions, and metrics with the same project, service,
environment, and release. Do not link signals by time alone.
