Skip to content

Commit

Permalink
Comment the Changeset fields
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Sep 21, 2023
1 parent 6d5505f commit dbd37c8
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,19 @@ func (s *Schema) validate() error {
// Changeset is all the applicable telemetry changes for a particular semantic
// convention version.
type Changeset struct {
All All
Resources Resources
Spans Spans
// All are the changes that apply to all telemetry before each specific
// telemetry changes are applied.
All All
// Resources are the changes applied to resources.
Resources Resources
// Spans are the changes applied to spans in tracing telemetry.
Spans Spans
// SpanEvents are the changes applied to span events in tracing telemetry.
SpanEvents SpanEvents `yaml:"span_events"`
Logs Logs
Metrics Metrics
// Logs are the changes applied to log telemetry.
Logs Logs
// Metrics are the changes applied to metric telemetry.
Metrics Metrics
}

// All defines the transforms that apply to all types of telemetry data.
Expand Down

0 comments on commit dbd37c8

Please sign in to comment.