Commit Graph

157 Commits

Author SHA1 Message Date
William Dumont 46b0c2b5bc
Put processortest in its own module (#11229)
This PR is putting the processortest pkg in its own module as requested
in
https://github.com/open-telemetry/opentelemetry-collector/issues/11216

Fixes #11218
2024-10-15 10:15:29 -07:00
Bogdan Drutu fbf6d103ee
[chore] Extract internal/memorylimiter as a module (#11438)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-14 13:26:11 -07:00
Bogdan Drutu e1a03ebec2
[chore] Remove internal/globalsignal, embed into pipeline (#11422)
Depends on
https://github.com/open-telemetry/opentelemetry-collector/pull/11421

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-14 06:18:25 -04:00
Bogdan Drutu 98a326a3c5
Move componentprofiles to pipelineprofiles (#11421)
Move componentprofiles to pipelineprofiles since only the signal
constant is defined in that package.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-13 13:47:00 -07:00
Bogdan Drutu be5fc23088
[chore] Remove unnecessary globalgates (#11418)
This package is no longer necessary, but if in the future we need to
have gates shared between modules we may re-create this module.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-12 10:37:07 -07:00
OpenTelemetry Bot 080b76506c
[chore] Prepare release v1.17.0/v0.111.0 (#11353)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.17.0/v0.111.0
- make prepare-release PREVIOUS_VERSION=1[.]16[.]0
RELEASE_CANDIDATE=1.17.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]110[.]0
RELEASE_CANDIDATE=0.111.0 MODSET=beta

---------

Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2024-10-04 01:12:02 -07:00
Tyler Helmuth f9d44de9b6
[exporter/logging] Remove logging exporter (#11037)
#### Description

It is September, which means we get to remove this deprecated component.

- The helm chart was updated to exclude the logging exporter already:
https://github.com/open-telemetry/opentelemetry-helm-charts/blob/main/charts/opentelemetry-collector/UPGRADING.md#0840-to-0850.
- The Operator references have been updated:
https://github.com/open-telemetry/opentelemetry-operator/pull/3259.
- Opentelemetry.io site final references to update:
https://github.com/open-telemetry/opentelemetry.io/pull/5143

<!-- Issue number if applicable -->
#### Link to tracking issue
Related to
https://github.com/open-telemetry/opentelemetry-collector/issues/7769
2024-10-03 11:47:39 +02:00
OpenTelemetry Bot d6f568dd5b
[chore] Prepare release v1.16.0/v0.110.0 (#11252)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.16.0/v0.110.0
- make prepare-release PREVIOUS_VERSION=1[.]15[.]0
RELEASE_CANDIDATE=1.16.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]109[.]0
RELEASE_CANDIDATE=0.110.0 MODSET=beta
2024-09-23 13:07:03 -07:00
Tyler Helmuth 77bb849aa0
[component] Refactor to use pipeline.ID and pipeline.Signal (#11204)
#### Description
Depends on
https://github.com/open-telemetry/opentelemetry-collector/pull/11209

This PR is a non-breaking implementation of
https://github.com/open-telemetry/opentelemetry-collector/pull/10947. It
adds a new module, `pipeline`, which houses a `pipeline.ID` and
`pipeline.Signal`. `pipeline.ID` is used to identify a pipeline within
the service. `pipeline.Signal` is uses to identify the signal associated
to a pipeline.

I do this work begrudgingly. As the PR shows, this is a huge refactor
when done in a non-breaking way, will require 3 full releases, and
doesn't benefit our [End Users or, in my opinion, our Component
Developers or Collector Library
Users](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CONTRIBUTING.md#target-audiences).
I view this refactor as a Nice-To-Have, not a requirement for Component
1.0.

<!-- Issue number if applicable -->
#### Link to tracking issue
Works towards
https://github.com/open-telemetry/opentelemetry-collector/issues/9429
2024-09-23 07:38:59 -07:00
Bogdan Drutu 306a07aad3
[chore] Cleanup builder-integration-test (#11127)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-09-10 15:15:10 -07:00
OpenTelemetry Bot 02d466f0c0
[chore] Prepare release v1.15.0/v0.109.0 (#11101)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.15.0/v0.109.0
- make prepare-release PREVIOUS_VERSION=1[.]14[.]1
RELEASE_CANDIDATE=1.15.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]108[.]1
RELEASE_CANDIDATE=0.109.0 MODSET=beta
2024-09-09 17:05:24 -07:00
Bogdan Drutu b18f7cd999
Add replace statements for builder profiler artifacts (#11097)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-09-09 14:21:04 -07:00
Pablo Baeyens 46d0f7361e
[extension] Move optional interfaces to extensioncapabilities (#11000)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->

Moves extension optional interfaces to a new module,
`extensioncapabilities`.

The intent is to be able to evolve these interfaces independently from
the core interfaces on core.

These are used by at most one component/project, so I think they are not
mature yet for 1.0

---------

Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
2024-09-04 12:37:27 +02:00
Pablo Baeyens cd1f7623fe
[extension] Split extension/experimental/storage into a separate module (#11020)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->

Fixes #11022
2024-09-02 10:56:31 +02:00
Damien Mathieu 32171d20ac
[chore] add profiles support to connector receiver builder (#10956)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

This allows building profiles in the connector builder.
As this is only changing internal modules, I am marking it as chore (and
skipping changelog entry).

#### Link to tracking issue
https://github.com/open-telemetry/opentelemetry-collector/pull/10375

cc @mx-psi
2024-08-30 09:38:23 +02:00
OpenTelemetry Bot c8a932e6b3
[chore] Prepare release v1.14.1/v0.108.1 (#10986)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.14.1/v0.108.1
- make prepare-release PREVIOUS_VERSION=1[.]14[.]0
RELEASE_CANDIDATE=1.14.1 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]108[.]0
RELEASE_CANDIDATE=0.108.1 MODSET=beta
2024-08-27 11:09:14 -07:00
OpenTelemetry Bot 10155518e3
[chore] Prepare release v1.14.0/v0.108.0 (#10980)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.14.0/v0.108.0
- make prepare-release PREVIOUS_VERSION=1[.]13[.]0
RELEASE_CANDIDATE=1.14.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]107[.]0
RELEASE_CANDIDATE=0.108.0 MODSET=beta
2024-08-27 07:30:31 -07:00
Tyler Helmuth cb24d0c7d7
[component] Remove ReportStatus from component.TelemetrySettings (#10777)
#### Description

This PR removes `ReportStatus` from `component.TelemetrySettings` and
instead expects components to check if their `component.Host` implements
a new `componentstatus.Reporter` interface.

<!-- Issue number if applicable -->
#### Link to tracking issue
Related to
https://github.com/open-telemetry/opentelemetry-collector/pull/10725
Related to
https://github.com/open-telemetry/opentelemetry-collector/pull/10413

<!--Describe what testing was performed and which tests were added.-->
#### Testing
unit tests and a sharedinstance e2e test.

The contrib tests will fail because this is a breaking change. If we
merge this I and @mwear can commit to updating contrib before the next
release.

---------

Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2024-08-16 09:27:01 +02:00
OpenTelemetry Bot aacddac430
[chore] Prepare release v1.13.0/v0.107.0 (#10860)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.13.0/v0.107.0
- make prepare-release PREVIOUS_VERSION=1[.]12[.]0
RELEASE_CANDIDATE=1.13.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]106[.]1
RELEASE_CANDIDATE=0.107.0 MODSET=beta
2024-08-12 17:32:43 -07:00
Tyler Helmuth 2b9697fe09
[confmap] Deprecate expandconverter (#10510)
#### Description
This PR deprecates `expandconverter` and removes its use from
`otelcoltest.LoadConfig` and OCB.

This cannot be merged until the `confmap.unifyEnvVarExpansion` [feature
gate is made
stable](https://github.com/open-telemetry/opentelemetry-collector/pull/10508).

<!-- Issue number if applicable -->
#### Link to tracking issue
closes
https://github.com/open-telemetry/opentelemetry-collector/issues/10161
closes
https://github.com/open-telemetry/opentelemetry-collector/issues/7111
closes
https://github.com/open-telemetry/opentelemetry-collector/issues/8215

---------

Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
2024-08-07 15:55:09 -07:00
Damien Mathieu c0188e02a2
Add profiles support in connector (#10703)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

This follows
https://github.com/open-telemetry/opentelemetry-collector/pull/10524 and
adds profiles support into connectors.

<!-- Issue number if applicable -->
#### Link to tracking issue
See https://github.com/open-telemetry/opentelemetry-collector/pull/10375
2024-08-01 00:43:08 +02:00
Yang Song a1dd721d18
Prepare Release v0.106.1 (#10754)
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
2024-07-30 12:30:12 -04:00
OpenTelemetry Bot 72e906d135
[chore] Prepare release v0.106.0 (#10736)
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.106.0
- make prepare-release PREVIOUS_VERSION=0[.]105[.]0
RELEASE_CANDIDATE=0.106.0 MODSET=beta

---------

Co-authored-by: Yang Song <songy23@users.noreply.github.com>
2024-07-29 12:09:03 -07:00
Antoine Toulme 7ef35175ef
[client] add new module `go.opentelemetry.io/collector/client` (#9805)
**Description:** 
Create a new go module `go.opentelemetry.io/collector/client`

**Link to tracking Issue:**
Fixes #9804

---------

Co-authored-by: Yang Song <songy23@users.noreply.github.com>
2024-07-26 13:09:10 +02:00
Damien Mathieu 2ddf1ad5db
Support profiles in consumertest (#10692)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Following
https://github.com/open-telemetry/opentelemetry-collector/pull/10464,
this adds profiles support in consumertest.

cc @mx-psi
2024-07-23 13:26:01 +02:00
OpenTelemetry Bot bf6bd9fd26
[chore] Prepare release v1.12.0/v0.105.0 (#10623)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.12.0/v0.105.0
- make prepare-release PREVIOUS_VERSION=1.11.0 RELEASE_CANDIDATE=1.12.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.104.0
RELEASE_CANDIDATE=0.105.0 MODSET=beta
2024-07-16 09:51:56 -07:00
Pablo Baeyens 75aeab0f1d
[chore] Rename internal/featuregates to internal/globalgates (#10614)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Fixes #10569. However, I think it's fine to just close the issue as
wontfix and not do this.
2024-07-15 16:11:37 +02:00
Pablo Baeyens b127da0890
[chore] Make internal/featuregates into a module, move confmap fg there (#10532)
#### Description

Create new internal module `internal/featuregates`.

This will be useful for importing feature gates while not creating a
dependency cycle.

I intend to use this for importing `confmap.strictlyTypedInput` in
`otelcol` in a follow up PR.
2024-07-05 09:17:05 -07:00
OpenTelemetry Bot a082f2e439
[chore] Prepare release v1.11.0/v0.104.0 (#10491)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.11.0/v0.104.0
- make prepare-release PREVIOUS_VERSION=1.10.0 RELEASE_CANDIDATE=1.11.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.103.0
RELEASE_CANDIDATE=0.104.0 MODSET=beta

---------

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
2024-07-01 13:07:11 -07:00
OpenTelemetry Bot aa31b271c6
[chore] Prepare release v1.10.0/v0.103.0 (#10418)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.10.0/v0.103.0
- make prepare-release PREVIOUS_VERSION=1.9.0 RELEASE_CANDIDATE=1.10.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.102.1
RELEASE_CANDIDATE=0.103.0 MODSET=beta
2024-06-17 13:53:27 -07:00
Pablo Baeyens 7218b4cd1d
prepare release 0.102.1 (#10326)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Step 2 of release process

> Make sure you are on release/<release-series>. Prepare release commits
with prepare-release make target, e.g. make prepare-release
PREVIOUS_VERSION=0.90.0 RELEASE_CANDIDATE=0.90.1 MODSET=beta, and create
a pull request against the release/<release-series> branch.
2024-06-05 16:03:09 +02:00
OpenTelemetry Bot 5cbf8bebe4
[chore] Prepare release v1.9.0/v0.102.0 (#10293)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.9.0/v0.102.0
- make prepare-release PREVIOUS_VERSION=1.8.0 RELEASE_CANDIDATE=1.9.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.101.0
RELEASE_CANDIDATE=0.102.0 MODSET=beta

---------

Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2024-06-03 11:31:37 -07:00
Juraci Paixão Kröhling d719a7efcf
[chore] Prepare release v1.8.0/v0.101.0 (#10190)
This replaces #10188, by fixing a relatively new test case that blocked
the release.

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

---------

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2024-05-21 05:58:35 -07:00
OpenTelemetry Bot 6c2a34edea
[chore] Prepare release v1.7.0/v0.100.0 (#10087)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.7.0/v0.100.0
- make prepare-release PREVIOUS_VERSION=1.6.0 RELEASE_CANDIDATE=1.7.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.99.0 RELEASE_CANDIDATE=0.100.0
MODSET=beta

---------

Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-05-06 09:33:51 -07:00
OpenTelemetry Bot fb9d80d3c4
[chore] Prepare release v1.6.0/v0.99.0 (#10018)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.6.0/v0.99.0
- make prepare-release PREVIOUS_VERSION=1.5.0 RELEASE_CANDIDATE=1.6.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.98.0 RELEASE_CANDIDATE=0.99.0
MODSET=beta
2024-04-22 12:51:15 -07:00
Kristina Pathak e9b432dcea
[builder] Add strict versioning (#9897)
**Description:** <Describe what has changed.>
Adds strict version checking in the builder. This enables users to
ensure that the versions specified in the builder config are the
versions used in the go.mod when building the collector binary. This can
be disabled with --skip-strict-versioning.

**Link to tracking Issue:** #9896

**Testing:** Added unit tests

**Documentation:** Added to builder README

---------

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
2024-04-18 12:25:05 +02:00
Alex Boten fc28929061
move internal/testdata to pdata/testdata (#9885)
This reduces dependencies from the consumer package while making
testdata available across repos. It will allow us to remove duplicated
code and its a fairly small surface area.

Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/9886

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-04-08 08:36:57 -07:00
Evan Bradley 44075291dc
[confmap] Split converters and providers into their own modules (#9461)
Resolves
https://github.com/open-telemetry/opentelemetry-collector/issues/9460

Required for
https://github.com/open-telemetry/opentelemetry-collector/issues/4759

I made this a single PR to reduce the review load, but I can break the
changes into multiple PRs if we would like.
2024-02-12 15:55:22 +01:00
OpenTelemetry Bot ca0eab2729
[chore] Prepare release v1.1.0/v0.94.0 (#9501)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.1.0/v0.94.0
- make prepare-release PREVIOUS_VERSION=1.0.1 RELEASE_CANDIDATE=1.1.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.93.0 RELEASE_CANDIDATE=0.94.0
MODSET=beta

---------

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2024-02-06 15:33:11 -08:00
OpenTelemetry Bot 463bb08088
[chore] Prepare release v0.93.0 (#9359)
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.93.0
- make prepare-release PREVIOUS_VERSION=0.92.0 RELEASE_CANDIDATE=0.93.0
MODSET=beta
2024-01-23 20:21:12 -08:00
OpenTelemetry Bot 40c7db876f
[chore] Prepare release v1.0.1/v0.92.0 (#9255)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.0.1/v0.92.0
- make prepare-release PREVIOUS_VERSION=1.0.0 RELEASE_CANDIDATE=1.0.1
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.91.0 RELEASE_CANDIDATE=0.92.0
MODSET=beta
2024-01-09 15:20:22 -08:00
Bogdan Drutu 6b12cc3203
Deprecate exporterhelper.RetrySettings in favor of configretry.BackOffConfig (#9091)
Depends on
https://github.com/open-telemetry/opentelemetry-collector/pull/9089

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-12-14 21:31:20 -08:00
Bogdan Drutu 2cf2e40396
[chore] remove unused default.otel.yaml file (#9096)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-12-12 20:06:04 -08:00
OpenTelemetry Bot c27d2cd9e4
[chore] Prepare release v0.91.0 (#9071)
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.91.0
- make prepare-release PREVIOUS_VERSION=0.90.1 RELEASE_CANDIDATE=0.91.0
MODSET=beta
2023-12-11 13:32:47 -08:00
Dmitrii Anoshin 469226f9b8
Prepare patch release v0.90.1 (#9024) 2023-12-01 09:36:54 -08:00
OpenTelemetry Bot 66168df411
[chore] Prepare release v1.0.0/v0.90.0 (#8997)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.0.0/v0.90.0
- make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rcv0018
RELEASE_CANDIDATE=1.0.0 MODSET=stable
- make prepare-release GH=none PREVIOUS_VERSION=0.89.0
RELEASE_CANDIDATE=0.90.0 MODSET=beta
2023-11-27 14:26:40 -08:00
OpenTelemetry Bot c6ba608069
[chore] Prepare release v1.0.0-rcv0018/v0.89.0 (#8891)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.0.0-rcv0018/v0.89.0
- make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rcv0017
RELEASE_CANDIDATE=1.0.0-rcv0018 MODSET=stable
- make prepare-release GH=none PREVIOUS_VERSION=0.88.0
RELEASE_CANDIDATE=0.89.0 MODSET=beta
2023-11-14 16:52:44 +01:00
OpenTelemetry Bot d42d7e8097
[chore] Prepare release v1.0.0-rcv0017/v0.88.0 (#8723)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.0.0-rcv0017/v0.88.0
- make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rcv0016
RELEASE_CANDIDATE=1.0.0-rcv0017 MODSET=stable
- make prepare-release GH=none PREVIOUS_VERSION=0.87.0
RELEASE_CANDIDATE=0.88.0 MODSET=beta
2023-10-23 08:26:32 -07:00
OpenTelemetry Bot 9f040a6c20
[chore] Prepare release v1.0.0-rcv0016/v0.87.0 (#8643)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.0.0-rcv0016/v0.87.0
- make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rcv0015
RELEASE_CANDIDATE=1.0.0-rcv0016 MODSET=stable
- make prepare-release GH=none PREVIOUS_VERSION=0.86.0
RELEASE_CANDIDATE=0.87.0 MODSET=beta
2023-10-10 14:32:00 -07:00
OpenTelemetry Bot e22d721b8b
[chore] Prepare release v1.0.0-rcv0015/v0.86.0 (#8514)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.0.0-rcv0015/v0.86.0
- make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rcv0014
RELEASE_CANDIDATE=1.0.0-rcv0015 MODSET=stable
- make prepare-release GH=none PREVIOUS_VERSION=0.85.0
RELEASE_CANDIDATE=0.86.0 MODSET=beta
2023-09-25 15:11:14 -07:00
Alex Boten 1f5ff4b6b7
[otelcol] split into its own module (#8443)
Fixes #7924

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-09-18 09:36:10 -07:00
Alex Boten 456e75c6d4
add debug exporter, move code from logging exporter into internal (#8378)
Alternative to
https://github.com/open-telemetry/opentelemetry-collector/pull/8375

This moves most of the code from the logging exporter into two internal
packages that will eventually end up in the `debugexporter` once the
`loggingexporter` has been removed.

Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/7769

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-09-15 13:49:24 -07:00
Alex Boten 98b1d035a9
[service] split into its own module (#8345)
Fixes #7923

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-09-15 13:37:53 -07:00
OpenTelemetry Bot f93029a6bb
[chore] Prepare release v0.85.0 (#8385)
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.85.0
- make prepare-release GH=none PREVIOUS_VERSION=0.84.0
RELEASE_CANDIDATE=0.85.0 MODSET=beta
2023-09-11 13:35:49 -07:00
OpenTelemetry Bot 66cea1e5a8
[chore] Prepare release v0.84.0 (#8304)
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.84.0
- make prepare-release GH=none PREVIOUS_VERSION=0.83.0
RELEASE_CANDIDATE=0.84.0 MODSET=beta
2023-08-29 11:49:36 -07:00
opentelemetrybot 526c79ff63 prepare release 0.83.0 2023-08-14 13:19:18 +00:00
OpenTelemetry Bot 3089ea878e
[chore] Prepare release v1.0.0-rcv0014/v0.82.0 (#8138)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.0.0-rcv0014/v0.82.0
- make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rcv0013
RELEASE_CANDIDATE=1.0.0-rcv0014 MODSET=stable
- make prepare-release GH=none PREVIOUS_VERSION=0.81.0
RELEASE_CANDIDATE=0.82.0 MODSET=beta
2023-07-27 12:56:41 -07:00
OpenTelemetry Bot 6bb9b38e9f
[chore] Prepare release v0.81.0 (#8021)
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.81.0
- make prepare-release GH=none PREVIOUS_VERSION=0.80.0
RELEASE_CANDIDATE=0.81.0 MODSET=beta
2023-07-04 09:26:54 -07:00
OpenTelemetry Bot 2a1bf715db
[chore] Prepare release v1.0.0-rcv0013/v0.80.0 (#7939)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.0.0-rcv0013/v0.80.0
- make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rcv0012
RELEASE_CANDIDATE=1.0.0-rcv0013 MODSET=stable
- make prepare-release GH=none PREVIOUS_VERSION=0.79.0
RELEASE_CANDIDATE=0.80.0 MODSET=beta

---------

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Alex Boten <aboten@lightstep.com>
2023-06-20 10:31:12 -07:00
Alex Boten e0c09f012d
split configgrpc, confighttp, and config/internal (#7921)
These are the last of the config packages. Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/7895

I decided to submit these last 3 modules together to reduce review
cycles. The use of the `internal` module is a result of the conversation
w/ @mx-psi here:
https://github.com/open-telemetry/opentelemetry-collector/issues/7895#issuecomment-1593284577

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-17 12:07:13 -07:00
Alex Boten 5f8213f189
split config/configauth module (#7910)
Linked issue #7895

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-16 14:51:11 -07:00
Alex Boten f4829161a2
Split config/configtelemetry into its own module (#7908)
Part of #7895 

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-16 12:28:43 -07:00
Alex Boten ca22f123f8
split config/configtls module (#7907)
Part of #7895 

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-16 12:06:02 -07:00
Alex Boten 084a64ec68
split config/configopaque into its own module (#7906)
Part of #7895 

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-16 11:50:11 -07:00
Alex Boten c76fce7318
split config/confignet into its own module (#7905)
Part of
https://github.com/open-telemetry/opentelemetry-collector/issues/7895

Follow up to
https://github.com/open-telemetry/opentelemetry-collector/pull/7904

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-16 11:13:55 -07:00
Alex Boten 13e728e98b
split config/configcompression into its own module (#7904)
Part of #7895

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-16 10:30:04 -07:00
Alex Boten df20186ee2
[connector] split connector into its own module (#7897)
Fixes #7895

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-15 09:53:20 -07:00
Alex Boten 05d57d966f
[extension/auth] split into its own module (#7883)
Linked issue #7054

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-14 13:03:36 -07:00
Alex Boten 525adf4a68
split extension into separate module (#7865)
Fixes #7306

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-09 13:00:26 -07:00
Alex Boten 64f3415e5b
Split processor into its own module (#7858)
Fix #7307

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-09 12:21:07 -07:00
Alex Boten 4d38f10036
[chore] install tool envsubst (#7860)
This is needed to run the builder tests.

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-09 10:59:21 -07:00
OpenTelemetry Bot 2fbdd031c2
[chore] Prepare release v0.79.0 (#7819)
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.79.0
- make prepare-release GH=none PREVIOUS_VERSION=0.78.2 RELEASE_CANDIDATE=0.79.0 MODSET=beta
2023-06-05 09:27:13 -07:00
OpenTelemetry Bot e79db959c3
[chore] Prepare release v0.78.2 (#7712)
* Changelog update v0.78.2

* prepare release 0.78.2

* Prepare beta for version v0.78.2

* add multimod changes 0.78.2
2023-05-22 18:44:31 -07:00
OpenTelemetry Bot ae8c63ae3f
[chore] Prepare release v0.78.1 (#7709)
* Changelog update v0.78.1

* prepare release 0.78.1

* Prepare beta for version v0.78.1

* add multimod changes 0.78.1
2023-05-22 14:15:28 -07:00
OpenTelemetry Bot 38615b2ad8
[chore] Prepare release v1.0.0-rcv0012/v0.78.0 (#7706)
* Changelog update v1.0.0-rcv0012/v0.78.0

* prepare release 1.0.0-rcv0012

* Prepare stable for version v1.0.0-rcv0012

* add multimod changes 1.0.0-rcv0012

* prepare release 0.78.0

* Prepare beta for version v0.78.0

* add multimod changes 0.78.0
2023-05-22 10:10:19 -07:00
Alex Boten 80d704deb4
[chore] use license shortform (#7694)
* [chore] use license shortform

To remain consistent w/ contrib repo, see https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/22052

Signed-off-by: Alex Boten <aboten@lightstep.com>

* make goporto

Signed-off-by: Alex Boten <aboten@lightstep.com>

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-05-18 13:11:17 -07:00
OpenTelemetry Bot a8a01efbb7
[chore] Prepare release v0.77.0 (#7642)
The following commands were run to prepare this release:

make chlog-update VERSION=v0.77.0
make prepare-release GH=none PREVIOUS_VERSION=0.76.1 RELEASE_CANDIDATE=0.77.0 MODSET=beta
2023-05-08 14:06:24 -07:00
Alex Boten 8b27d6b467
[chore] add license-check (#7589)
Cleaning up the license files, and updating `checklicense` to verify the contents of the license as per the `opentelemetry-go-build-tools` repo.

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-05-03 08:53:47 -07:00
Daniel Jaglowski a3af411099
prepare release 1.0.0-rc_0011 (#7577) 2023-04-26 12:11:37 -07:00
OpenTelemetry Bot 9257d7ffa6
[chore] Prepare release 0.76.0/1.0.0-rc10 (#7569)
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.76.0/v1.0.0-rc10
- make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rc9 RELEASE_CANDIDATE=1.0.0-rc10 MODSET=stable
- make prepare-release GH=none PREVIOUS_VERSION=0.75.0 RELEASE_CANDIDATE=0.76.0 MODSET=beta
2023-04-25 11:08:13 -07:00
OpenTelemetry Bot efe8abddb3
[chore] Prepare release 0.75.0/1.0.0-rc9 (#7466)
* Changelog update 0.75.0/1.0.0-rc9

* prepare release 1.0.0-rc9

* Prepare stable for version v1.0.0-rc9

* add multimod changes 1.0.0-rc9

* prepare release 0.75.0

* Prepare beta for version v0.75.0

* add multimod changes 0.75.0
2023-04-03 07:51:32 -07:00
OpenTelemetry Bot 23994712ff
[chore] Prepare release 0.74.0/1.0.0-rc8 (#7395)
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.74.0/v1.0.0-rc8
- make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rc7 RELEASE_CANDIDATE=1.0.0-rc8 MODSET=stable
- make prepare-release GH=none PREVIOUS_VERSION=0.73.0 RELEASE_CANDIDATE=0.74.0 MODSET=beta
2023-03-20 10:55:24 -07:00
Anthony Mirabella 883433989a
[chore] Prepare release 0.73.0/1.0.0-rc7 (#7327)
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2023-03-06 17:43:08 -08:00
Alex Boten 20a0b38550
split exporter into its own module (#7240)
Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-03-03 13:13:16 -08:00
Alex Boten 4071a47d0e
split receiver into its own module (#7195)
Adds the receiver component as its own module.

Fixes #7174

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-03-02 12:04:58 -08:00
OpenTelemetry Bot 687d5b7792
[chore] Prepare release 0.72.0/1.0.0-rc6 (#7228)
The following commands were run to prepare this release:

    make chlog-update VERSION=v0.72.0/v1.0.0-rc6
    make prepare-release GH=none PREVIOUS_VERSION=1.0.0-rc5 RELEASE_CANDIDATE=1.0.0-rc6 MODSET=stable
    make prepare-release GH=none PREVIOUS_VERSION=0.71.0 RELEASE_CANDIDATE=0.72.0 MODSET=beta

Fixes #7229 #7230
2023-02-22 09:12:20 -08:00
OpenTelemetry Bot 7cf999e452
[chore] Prepare release 0.71.0/1.0.0-rc5 (#7155)
- Changelog update 0.71.0/1.0.0-rc5
- prepare release 1.0.0-rc5
- Prepare stable for version v1.0.0-rc5
- add multimod changes 1.0.0-rc5
- prepare release 0.71.0
- Prepare beta for version v0.71.0
- add multimod changes 0.71.0
2023-02-07 16:27:31 -08:00
PiotrLewandowski323 272ebe6385
Add shellcheck GitHub Actions workflow (#6870)
Adding shellcheck GitHub Actions workflow.
Fixing issues detected by shellcheck.

Signed-off-by: PiotrLewandowski323 <lewandowski323@gmail.com>
2023-01-31 14:40:53 -08:00
Dmitrii Anoshin ed1f9136d8
[chore] Build changelog and prepare release v1.0.0-rc4 (#6997)
* [chore] Prepare for 1.0.0-rc4 release
2023-01-23 12:56:13 -08:00
Daniel Jaglowski b6571e04e8
Prepare release v0.69.1 (#6934)
* Prepare v0.69.1
2023-01-12 09:53:50 -05:00
Daniel Jaglowski d01b50bd8c
[chore] prepare release v1.0.0-RC3/v0.69.0 (#6910) 2023-01-09 08:14:26 -08:00
Bogdan Drutu 4cf50d0f0d
Remove deprecated cofig.*Settings (#6837)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-12-21 03:48:23 -08:00
Pablo Baeyens 3efa2bcd66
[chore] changelog + prepare release v1.0.0-rc2 (#6828)
Re-do of #6820

- make chlog-update and update of core builder test
- Amend changelog name
- prepare release v1.0.0-rc2
- Prepare stable for version v1.0.0-rc2
- add multimod changes

This corresponds to the first three points under step 6. The last point is done on a separate PR, https://github.com/open-telemetry/opentelemetry-collector/pull/6822.

Link to tracking Issue: Fixes https://github.com/open-telemetry/opentelemetry-collector/issues/6819

Co-authored-by: Alex Boten <aboten@lightstep.com>
2022-12-19 09:40:39 -08:00
Daniel Jaglowski 921cf2e747
[chore] Fix builder integration test (#6797)
* Fix integration test

* bump
2022-12-14 10:02:20 -08:00
Anthony Mirabella 33cdc7907c
[chore] prepare release v0.67.0 (#6715)
* prepare release v0.67.0

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Prepare beta for version v0.67.0

* update builder config and generate otelcorecol

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* fix module replacements in builder test

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* fix builder integration test and update CHANGELOG

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2022-12-08 16:32:32 -08:00
Juraci Paixão Kröhling 2bdff61fa5
Split `confmap` into its own module (#6199)
* Split confmap into its own module

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Add confmap to builder test

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Add missing replace statement

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Set go version to 1.18 on confmap

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2022-12-01 09:27:08 -08:00
Daniel Jaglowski b3b6cdedb0
Run builder tests with local collector module (#6612) 2022-11-24 07:32:18 -08:00
James Peach a9f7aab1ec
Drop builtin builder configuration integration tests. (#6157)
Drop the integration tests for the builtin builder configuration.
We assume that it is a working config because it is generated from
with the source tree and should be covered by collector tests. Add a
unit test to ensure some basic sanity for the builtin configuration.

This fixes #6076.

Signed-off-by: James Peach <jpeach@cloudflare.com>

Signed-off-by: James Peach <jpeach@cloudflare.com>
2022-09-27 10:08:02 -07:00
James Peach 9f14f5e13c
Add a default build configuration to ocb. (#5752)
Embed the build configuration that is used to build otelcorecol into ocb
so that end users can easily generate a useful collector. This makes the
`--config` flag optional again.

Signed-off-by: James Peach <jpeach@cloudflare.com>

Signed-off-by: James Peach <jpeach@cloudflare.com>
2022-09-13 09:15:59 -07:00
Bogdan Drutu 4998703dad
[Builder]: Remove test that depends on the contrib (#4787)
The latest is tested by the cmd/otelcorecol which uses the builder to generate the files.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-02-26 07:33:58 -08:00