schema/v1.0/ast/logs.go
raw| 1 | // Copyright The OpenTelemetry Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | package ast // import "go.opentelemetry.io/otel/schema/v1.0/ast" |
| 5 | |
| 6 | // Logs corresponds to a section representing a list of changes that happened |
| 7 | // to logs schema in a particular version. |
| 8 | type Logs struct { |
| 9 | Changes []LogsChange |
| 10 | } |
| 11 | |
| 12 | // LogsChange corresponds to a section representing logs change. |
| 13 | type LogsChange struct { |
| 14 | RenameAttributes *RenameAttributes `yaml:"rename_attributes"` |
| 15 | } |