-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b595fdb
commit a01e19a
Showing
17 changed files
with
65 additions
and
69 deletions.
There are no files selected for viewing
9 changes: 4 additions & 5 deletions
9
confgenerator/testdata/goldens/invalid-all-not_in_yaml_format/golden/linux-gpu/error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
[15:1] unknown field "logs" | ||
12 | # See the License for the specific language governing permissions and | ||
[16:13] value is not allowed in this context | ||
13 | # limitations under the License. | ||
14 | | ||
> 15 | logs: | ||
^ | ||
16 | files: "b"c | ||
15 | logs: | ||
> 16 | files: "b"c | ||
^ |
9 changes: 4 additions & 5 deletions
9
confgenerator/testdata/goldens/invalid-all-not_in_yaml_format/golden/linux/error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
[15:1] unknown field "logs" | ||
12 | # See the License for the specific language governing permissions and | ||
[16:13] value is not allowed in this context | ||
13 | # limitations under the License. | ||
14 | | ||
> 15 | logs: | ||
^ | ||
16 | files: "b"c | ||
15 | logs: | ||
> 16 | files: "b"c | ||
^ |
9 changes: 4 additions & 5 deletions
9
confgenerator/testdata/goldens/invalid-all-not_in_yaml_format/golden/windows-2012/error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
[15:1] unknown field "logs" | ||
12 | # See the License for the specific language governing permissions and | ||
[16:13] value is not allowed in this context | ||
13 | # limitations under the License. | ||
14 | | ||
> 15 | logs: | ||
^ | ||
16 | files: "b"c | ||
15 | logs: | ||
> 16 | files: "b"c | ||
^ |
9 changes: 4 additions & 5 deletions
9
confgenerator/testdata/goldens/invalid-all-not_in_yaml_format/golden/windows/error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
[15:1] unknown field "logs" | ||
12 | # See the License for the specific language governing permissions and | ||
[16:13] value is not allowed in this context | ||
13 | # limitations under the License. | ||
14 | | ||
> 15 | logs: | ||
^ | ||
16 | files: "b"c | ||
15 | logs: | ||
> 16 | files: "b"c | ||
^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 20 additions & 22 deletions
42
transformation_test/testdata/ops_agent_test-TestLogEntrySpecialFields/output_otel.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,45 @@ | ||
- collector_errors: | ||
- caller: internal/base_exporter.go:130 | ||
- caller: exporterhelper/common.go:296 | ||
error: "could not process attribute gcp.source_location: json: cannot unmarshal string into Go struct field LogEntrySourceLocation.line of type int64" | ||
level: error | ||
msg: Exporting failed. Rejecting data. Try enabling sending_queue to survive temporary failures. | ||
rejected_items: 1.0 | ||
stacktrace: |- | ||
go.opentelemetry.io/collector/exporter/exporterhelper/internal.(*BaseExporter).Send | ||
go.opentelemetry.io/collector/exporter@v0.112.0/exporterhelper/internal/base_exporter.go:130 | ||
go.opentelemetry.io/collector/exporter/exporterhelper.NewLogsRequest.func1 | ||
go.opentelemetry.io/collector/exporter@v0.112.0/exporterhelper/logs.go:138 | ||
go.opentelemetry.io/collector/exporter/exporterhelper.(*baseExporter).send | ||
go.opentelemetry.io/collector/exporter@v0.102.0/exporterhelper/common.go:296 | ||
go.opentelemetry.io/collector/exporter/exporterhelper.NewLogsRequestExporter.func1 | ||
go.opentelemetry.io/collector/exporter@v0.102.0/exporterhelper/logs.go:134 | ||
go.opentelemetry.io/collector/consumer.ConsumeLogsFunc.ConsumeLogs | ||
go.opentelemetry.io/collector/[email protected]/logs.go:26 | ||
go.opentelemetry.io/collector/internal/fanoutconsumer.(*logsConsumer).ConsumeLogs | ||
go.opentelemetry.io/[email protected]/internal/fanoutconsumer/logs.go:62 | ||
go.opentelemetry.io/collector/processor/processorhelper.NewLogs.func1 | ||
go.opentelemetry.io/collector/[email protected]/processorhelper/logs.go:66 | ||
go.opentelemetry.io/collector/[email protected]/logs.go:25 | ||
go.opentelemetry.io/collector/processor/processorhelper.NewLogsProcessor.func1 | ||
go.opentelemetry.io/collector/[email protected]/processorhelper/logs.go:56 | ||
go.opentelemetry.io/collector/consumer.ConsumeLogsFunc.ConsumeLogs | ||
go.opentelemetry.io/collector/consumer@v0.112.0/logs.go:26 | ||
go.opentelemetry.io/collector/processor/processorhelper.NewLogs.func1 | ||
go.opentelemetry.io/collector/processor@v0.112.0/processorhelper/logs.go:66 | ||
go.opentelemetry.io/collector/consumer@v0.102.1/logs.go:25 | ||
go.opentelemetry.io/collector/processor/processorhelper.NewLogsProcessor.func1 | ||
go.opentelemetry.io/collector/processor@v0.102.0/processorhelper/logs.go:56 | ||
go.opentelemetry.io/collector/consumer.ConsumeLogsFunc.ConsumeLogs | ||
go.opentelemetry.io/collector/consumer@v0.112.0/logs.go:26 | ||
go.opentelemetry.io/collector/consumer@v0.102.1/logs.go:25 | ||
go.opentelemetry.io/collector/consumer.ConsumeLogsFunc.ConsumeLogs | ||
go.opentelemetry.io/collector/consumer@v0.112.0/logs.go:26 | ||
go.opentelemetry.io/collector/consumer@v0.102.1/logs.go:25 | ||
go.opentelemetry.io/collector/internal/fanoutconsumer.(*logsConsumer).ConsumeLogs | ||
go.opentelemetry.io/collector@v0.112.0/internal/fanoutconsumer/logs.go:62 | ||
go.opentelemetry.io/collector@v0.102.1/internal/fanoutconsumer/logs.go:62 | ||
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/consumerretry.(*logsConsumer).ConsumeLogs | ||
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal@v0.112.0/consumerretry/logs.go:37 | ||
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal@v0.102.0/consumerretry/logs.go:37 | ||
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/adapter.(*receiver).consumerLoop | ||
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza@v0.112.0/adapter/receiver.go:110 | ||
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza@v0.102.0/adapter/receiver.go:126 | ||
- caller: consumerretry/logs.go:39 | ||
error: "could not process attribute gcp.source_location: json: cannot unmarshal string into Go struct field LogEntrySourceLocation.line of type int64" | ||
level: error | ||
msg: ConsumeLogs() failed. Enable retry_on_failure to slow down reading logs and avoid dropping. | ||
stacktrace: |- | ||
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/consumerretry.(*logsConsumer).ConsumeLogs | ||
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal@v0.112.0/consumerretry/logs.go:39 | ||
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal@v0.102.0/consumerretry/logs.go:39 | ||
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/adapter.(*receiver).consumerLoop | ||
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza@v0.112.0/adapter/receiver.go:110 | ||
- caller: adapter/receiver.go:112 | ||
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza@v0.102.0/adapter/receiver.go:126 | ||
- caller: adapter/receiver.go:128 | ||
error: "could not process attribute gcp.source_location: json: cannot unmarshal string into Go struct field LogEntrySourceLocation.line of type int64" | ||
level: error | ||
msg: ConsumeLogs() failed | ||
stacktrace: |- | ||
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/adapter.(*receiver).consumerLoop | ||
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza@v0.112.0/adapter/receiver.go:112 | ||
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza@v0.102.0/adapter/receiver.go:128 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters