Marketplace

Datadog

Other

Datadog logs intake.

togo-framework
bash
togo install togo-framework/log-datadog

Install

bash
togo install togo-framework/log-datadog
<h1 align="center">log-datadog</h1>

Datadog log shipping for togo. Forwards your app's slog logs to Datadog Logs via the HTTP intake API, in addition to the existing local/stdout output — so structured logs show up in Datadog with the service tag.

bash
togo install togo-framework/log-datadog

Install alongside togo-framework/log. Blank-importing the plugin registers it.

Env

Var
Required
Description
DD_API_KEYyesDatadog API key. When unset the plugin is a no-op.
DD_SITEnoDatadog site (default datadoghq.com; EU = datadoghq.eu).
DD_SERVICEnoService name tag (default togo).
Rows per page
1–3 of 3
Page 1 of 1

How it works

On boot (after the log plugin) it wraps the kernel logger so every record is also POSTed asynchronously to https://http-intake.logs.<site>/api/v2/logs. Shipping is non-blocking and never stalls request handling.

MIT © togo-framework


<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>