Supported Endpoints
| Endpoint | Method | Description |
|---|---|---|
/v1/logs | POST | OTLP log export |
/v1/metrics | POST | OTLP metrics export |
/health | GET | Health check |
Configuration
config.json
Vendor Endpoints
Configureupstream_url for your observability vendor:
| Vendor | Endpoint |
|---|---|
| Datadog | https://otlp.datadoghq.com (or regional variant) |
| Honeycomb | https://api.honeycomb.io |
| Grafana Cloud | https://otlp-gateway-prod-us-central-0.grafana.net/otlp |
| New Relic | https://otlp.nr-data.net |
| Lightstep | https://ingest.lightstep.com |
Running
OpenTelemetry Collector Configuration
Configure the OpenTelemetry Collector to export through Edge.As an Exporter
otel-collector-config.yaml
SDK Direct Export
For applications using the OpenTelemetry SDK directly:OTLP Data Model
Edge works with the standard OTLP data model. Here’s how OTLP fields map to policy matchers.Log Records
| OTLP Field | Policy Matcher |
|---|---|
body | log_field: body |
severityText | log_field: severity_text |
severityNumber | log_field: severity_number |
attributes | log_attribute: <key> |
resource.attributes | resource_attribute: <key> |
scope.name | scope_name |
scope.version | scope_version |
scope.attributes | scope_attribute: <key> |
Metrics
| OTLP Field | Policy Matcher |
|---|---|
name | metric_field: name |
description | metric_field: description |
unit | metric_field: unit |
dataPoints[].attributes | datapoint_attribute: <key> |
resource.attributes | resource_attribute: <key> |
Example Policies
Filter by Severity
Filter by Resource Attribute
Filter by Log Attribute
Filter by Scope
Redact Sensitive Attributes
Request Format
Edge expects OTLP JSON format (application/json). Example log export request:
Compression
Edge supports gzip compression for both incoming requests and outgoing requests. Set theContent-Encoding: gzip header for compressed requests.