Skip to content

Commit 951f172

Browse files
committed
fixed a few broken anchors
1 parent cefb9af commit 951f172

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

docs/config/config-file.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,10 @@ You can also configure custom telemetry exporters to send your traces, logs, and
165165
```
166166

167167
<Note>
168-
Axiom's `/v1/metrics` endpoint only supports protobuf (`application/x-protobuf`), not JSON. Use `@opentelemetry/exporter-metrics-otlp-proto` instead of `@opentelemetry/exporter-metrics-otlp-http` for metrics. Traces and logs work fine with the `-http` (JSON) exporters.
168+
Axiom's `/v1/metrics` endpoint only supports protobuf (`application/x-protobuf`), not JSON. Use
169+
`@opentelemetry/exporter-metrics-otlp-proto` instead of
170+
`@opentelemetry/exporter-metrics-otlp-http` for metrics. Traces and logs work fine with the
171+
`-http` (JSON) exporters.
169172
</Note>
170173

171174
Then, configure the exporters in your `trigger.config.ts` file:
@@ -264,8 +267,6 @@ export default defineConfig({
264267
});
265268
```
266269

267-
Each metric exporter is automatically wrapped in a `PeriodicExportingMetricReader`. If you need more control over the reader configuration (e.g., custom export intervals), use `metricReaders` instead.
268-
269270
## Runtime
270271

271272
We currently only officially support the `node` runtime, but you can try our experimental `bun` runtime by setting the `runtime` option in your config file:
@@ -492,8 +493,9 @@ export default defineConfig({
492493
```
493494

494495
<Note>
495-
Any packages that install or build a native binary or use WebAssembly (WASM) should be added to external, as they
496-
cannot be bundled. For example, `re2`, `sharp`, `sqlite3`, and WASM packages should be added to external.
496+
Any packages that install or build a native binary or use WebAssembly (WASM) should be added to
497+
external, as they cannot be bundled. For example, `re2`, `sharp`, `sqlite3`, and WASM packages
498+
should be added to external.
497499
</Note>
498500

499501
### JSX

docs/logging.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const customTrace = task({
8282

8383
Trigger.dev collects system and runtime metrics automatically for deployed tasks, and provides an API for recording custom metrics using OpenTelemetry.
8484

85-
You can view metrics in the [Metrics dashboards](/insights/metrics), query them with [TRQL](/insights/query), and export them to external services via [telemetry exporters](/config/config-file#telemetry).
85+
You can view metrics in the [Metrics dashboards](/insights/metrics), query them with [TRQL](/insights/query), and export them to external services via [telemetry exporters](/config/config-file#telemetry-exporters).
8686

8787
### Custom metrics API
8888

@@ -199,4 +199,4 @@ See the [Query page](/insights/query#metrics-table-columns) for the full `metric
199199

200200
### Exporting metrics
201201

202-
You can send metrics to external observability services (Axiom, Honeycomb, Datadog, etc.) by configuring [telemetry exporters](/config/config-file#telemetry) in your `trigger.config.ts`.
202+
You can send metrics to external observability services (Axiom, Honeycomb, Datadog, etc.) by configuring [telemetry exporters](/config/config-file#telemetry-exporters) in your `trigger.config.ts`.

0 commit comments

Comments
 (0)