1234567891011121314151617181920212223242526272829303132 |
- // Code generated by "go.opentelemetry.io/collector/cmd/builder". DO NOT EDIT.
- // Program oteltestbedcol is an OpenTelemetry Collector binary.
- package main
- import (
- "log"
- "go.opentelemetry.io/collector/component"
- "go.opentelemetry.io/collector/otelcol"
- )
- func main() {
- info := component.BuildInfo{
- Command: "oteltestbedcol",
- Description: "OpenTelemetry Collector binary for testbed only tests.",
- Version: "0.90.0-dev",
- }
- if err := run(otelcol.CollectorSettings{BuildInfo: info, Factories: components}); err != nil {
- log.Fatal(err)
- }
- }
- func runInteractive(params otelcol.CollectorSettings) error {
- cmd := otelcol.NewCommand(params)
- if err := cmd.Execute(); err != nil {
- log.Fatalf("collector server run finished with error: %v", err)
- }
- return nil
- }
|