Explore step-by-step SDK guides, W3C trace context standards, environment variables, and configuration blueprints for sovereign cloud environments.
Install binary agents or lightweight middleware packages in under 2 minutes.
Easy setup for Gin, Fiber, Chi, or net/http web apps.
go get github.com/trustportidentity/beacon-goFast setup for Express, Fastify, and NestJS apps.
npm install @trusportidentity/beacon-nodeRequests with users, queries, queues, cache, logs, exceptions and PHP fatals. Nightwatch migration guide included.
composer require trustportidentity/beacon-laravel:^1.2Simple setup for FastAPI and Flask apps with database tracking.
pip install trustportidentity-beaconCollect Kubernetes network and container metrics without changing your code.
helm repo add trustport https://charts.trustportidentity.comSelect your runtime to inspect production-ready initialization code.
package main
import (
"github.com/gin-gonic/gin"
"github.com/trustportidentity/beacon-go"
)
func main() {
// Initialize TrustPort Beacon SDK with your License Key
beacon.Init(beacon.Config{
IngestURL: "https://beacon-api.trustportidentity.com",
APIKey: "tp_live_9f8a3c4e12", // License Key from Console
ServiceName: "payment-service",
Environment: "production",
})
defer beacon.Close()
r := gin.Default()
// Attach automatic trace middleware
r.Use(beacon.GinMiddleware("payment-service"))
r.POST("/api/v1/charge", func(c *gin.Context) {
ctx := c.Request.Context()
// Record custom trace span for database query
span := beacon.StartSpan(ctx, "db.query.charge_account")
defer span.End()
c.JSON(200, gin.H{"status": "charged", "trace_id": beacon.TraceID(ctx)})
})
r.Run(":8080")
}TrustPort Beacon strictly adheres to the official W3C Distributed Tracing recommendation. Spans are connected via the universal traceparent header across every network hop.
traceparent: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01http://localhost:8443 or UK-1 cluster endpoint.tp_live_...).api-gateway, auth-service).production, staging).Technical answers regarding eBPF overhead, ring buffer fallback, and air-gapped deployments.
Our sovereign engineering support team is available 24/7 to assist with cluster installations, air-gapped deployments, and custom OpenTelemetry collectors.