signal.go
signal.go - Overview
-
Overview Defines a type
Signal
and constants representing different types of signals (metrics, traces, logs). -
Detailed Documentation
Type Signal
- Purpose: Defines a string type named
Signal
.
type Signal string
Constants
- Purpose: Defines named constants of type
Signal
representing different telemetry signal types.
Metrics
- Purpose: Represents the "metrics" signal.
const (
Metrics Signal = "metrics"
Traces
- Purpose: Represents the "traces" signal.
Traces Signal = "traces"
Logs
- Purpose: Represents the "logs" signal.
Logs Signal = "logs"
)
-
Code Examples None
-
Clarity and Accuracy The code is clear and straightforward.
-
Markdown & MDX Perfection No issues found.
-
Edge Cases To Avoid Breaking MDX No issues found.
-
Getting Started Relevance Include in Getting Started: NO