-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebuild initial pass at AIX to avoid complicated rebase
- Loading branch information
Dylan Myers
committed
Jun 20, 2024
1 parent
7cd29b1
commit 26ea13b
Showing
11 changed files
with
793 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Copyright observIQ, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
//go:build aix | ||
|
||
package factories | ||
|
||
import ( | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter" | ||
"go.opentelemetry.io/collector/exporter" | ||
"go.opentelemetry.io/collector/exporter/loggingexporter" | ||
"go.opentelemetry.io/collector/exporter/nopexporter" | ||
"go.opentelemetry.io/collector/exporter/otlpexporter" | ||
"go.opentelemetry.io/collector/exporter/otlphttpexporter" | ||
) | ||
|
||
// Restricted to a small subset of debugging exporters plus OTLP | ||
// Many exporters aren't compatible with AIX | ||
var defaultExporters = []exporter.Factory{ | ||
fileexporter.NewFactory(), | ||
loggingexporter.NewFactory(), | ||
nopexporter.NewFactory(), | ||
otlpexporter.NewFactory(), | ||
otlphttpexporter.NewFactory(), | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Copyright observIQ, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
//go:build aix | ||
|
||
package factories | ||
|
||
import ( | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor" | ||
"go.opentelemetry.io/collector/processor" | ||
"go.opentelemetry.io/collector/processor/batchprocessor" | ||
"go.opentelemetry.io/collector/processor/processortest" | ||
) | ||
|
||
var defaultProcessors = []processor.Factory{ | ||
attributesprocessor.NewFactory(), | ||
batchprocessor.NewFactory(), | ||
processortest.NewNopFactory(), | ||
groupbytraceprocessor.NewFactory(), | ||
resourcedetectionprocessor.NewFactory(), | ||
transformprocessor.NewFactory(), | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// Copyright observIQ, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
//go:build aix | ||
|
||
package factories | ||
|
||
import ( | ||
"github.com/observiq/bindplane-agent/receiver/pluginreceiver" | ||
"github.com/observiq/bindplane-agent/receiver/sapnetweaverreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/collectdreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/influxdbreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/rabbitmqreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/saphanareceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/snmpreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlserverreceiver" | ||
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver" | ||
"go.opentelemetry.io/collector/receiver" | ||
"go.opentelemetry.io/collector/receiver/otlpreceiver" | ||
"go.opentelemetry.io/collector/receiver/receivertest" | ||
) | ||
|
||
// Restricted list. Many receivers aren't supported on AIX. | ||
// Additionally, we're only including those that make sense for | ||
// An "unmanaged" config. | ||
var defaultReceivers = []receiver.Factory{ | ||
collectdreceiver.NewFactory(), | ||
filelogreceiver.NewFactory(), | ||
fluentforwardreceiver.NewFactory(), | ||
hostmetricsreceiver.NewFactory(), | ||
influxdbreceiver.NewFactory(), | ||
jmxreceiver.NewFactory(), | ||
memcachedreceiver.NewFactory(), | ||
mysqlreceiver.NewFactory(), | ||
nginxreceiver.NewFactory(), | ||
opencensusreceiver.NewFactory(), | ||
otlpreceiver.NewFactory(), | ||
pluginreceiver.NewFactory(), | ||
postgresqlreceiver.NewFactory(), | ||
rabbitmqreceiver.NewFactory(), | ||
receivertest.NewNopFactory(), | ||
saphanareceiver.NewFactory(), | ||
sapnetweaverreceiver.NewFactory(), | ||
snmpreceiver.NewFactory(), | ||
sqlqueryreceiver.NewFactory(), | ||
sqlserverreceiver.NewFactory(), | ||
statsdreceiver.NewFactory(), | ||
} |
Oops, something went wrong.