better otel i think
This commit is contained in:
1 parent
6edbdc340d
commit
8f670dfa2f
16 files changed
+1129
-675
No files matched your search
@@ -270,6 +270,7 @@ func main() {
|
||||
otelMux.HandleFunc("/v1/metrics/", withCORS(coll.HandleMetrics))
|
||||
otelMux.HandleFunc("/v1/logs", withCORS(coll.HandleLogs))
|
||||
otelMux.HandleFunc("/v1/logs/", withCORS(coll.HandleLogs))
|
||||
otelMux.HandleFunc("/v1/vitals", withCORS(coll.HandleVitals))
|
||||
otelMux.HandleFunc("/health", coll.HandleHealth)
|
||||
|
||||
// UI and API mux (port 8080)
|
||||
@@ -283,6 +284,7 @@ func main() {
|
||||
uiMux.HandleFunc("/v1/metrics/", withCORS(coll.HandleMetrics))
|
||||
uiMux.HandleFunc("/v1/logs", withCORS(coll.HandleLogs))
|
||||
uiMux.HandleFunc("/v1/logs/", withCORS(coll.HandleLogs))
|
||||
uiMux.HandleFunc("/v1/vitals", withCORS(coll.HandleVitals))
|
||||
uiMux.HandleFunc("/health", coll.HandleHealth)
|
||||
uiMux.HandleFunc("GET /internal/honeypot/ips", honeypotTracker.HandleIPs)
|
||||
|
||||
@@ -352,6 +354,7 @@ func main() {
|
||||
log.Printf(" Traces: http://localhost:8080/v1/traces")
|
||||
log.Printf(" Metrics: http://localhost:8080/v1/metrics")
|
||||
log.Printf(" Logs: http://localhost:8080/v1/logs")
|
||||
log.Printf(" Vitals: http://localhost:8080/v1/vitals (Web Vitals beacons)")
|
||||
log.Printf("OTLP gRPC endpoint:")
|
||||
log.Printf(" Traces/Metrics/Logs: localhost:4317")
|
||||
log.Printf("WebSocket: ws://localhost:8080/ws")
|
||||
|
||||
Reference in new issue
Block a user