Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTelemetryMetrics ¶
GetTelemetryMetrics returns current telemetry queue statistics.
func Middleware ¶
Middleware returns an HTTP middleware that intercepts panics, isolates the crash site, and dispatches telemetry asynchronously to your self-hosted Triage engine.
engineURL is the full telemetry endpoint of your Triage engine, e.g.:
"https://triage.yourcompany.com/api/v1/telemetry" "http://localhost:8080/api/v1/telemetry"
Usage:
handler := triage.Middleware(apiKey, engineURL)(mux)
Types ¶
type TelemetryJob ¶
Click to show internal directories.
Click to hide internal directories.