capabilities.work

Logs and Metrics Batch

A 2-step recipe with Highlight (highlight.io). We can help you get access.

Recipe · 2 steps

Logs and Metrics Batch

with Highlight (highlight.io) · Observability Management

Flush an OTLP log batch and an OTLP metric batch for one Highlight project.

  1. Submit a batch of OTLP log records carrying the highlight.project_id resource attribute.
  2. Submit a batch of OTLP gauge data points for the same project so the metrics land alongside the logs.
What you'll need to have ready
  • projectId: The Highlight project verbose id used as the highlight.project_id resource attribute.
  • serviceName: The emitting service name (service.name resource attribute).
  • logTimeUnixNano: Timestamp of the log record in nanoseconds since the UNIX epoch.
  • logSeverityText: Human-readable severity for the log record.
  • logBody: The log message body.
  • metricName: The OTLP metric name.
  • metricTimeUnixNano: Timestamp of the metric data point in nanoseconds since the UNIX epoch.
  • metricValue: The gauge data point value.
For your developer

Arazzo workflow highlight-io:logs-and-metrics-batch, 2 operations: exportLogs → exportMetrics. Specs on APIs.io.