Commit Graph

157 Commits

Author SHA1 Message Date
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
Patryk Małek 8646986273
builder: bump otel version to 0.44.0 (#4846) 2022-02-11 12:43:52 -08:00
Bogdan Drutu 59ee60de7c
Prepare for v0.44.0 release (#4796)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-02-02 12:04:38 -08:00
Juraci Paixão Kröhling a1322ae6d9
Update builder integration tests, enable daily/manual builds (#4771)
* Update builder integration tests, enable daily/manual builds

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

* Update core.builder.yaml

* Update replaces.builder.yaml

Co-authored-by: Bogdan Drutu <lazy@splunk.com>
2022-01-31 17:05:01 -08:00
Bogdan Drutu 2d4b2394a6
builder: Remove deprecated include-core flag (#4616)
* builder: Remove deprecated include-core flag

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Further cleanup of include core

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

* make genpdata

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

* Fix indentation in components.go.tmpl

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2022-01-03 09:41:12 -08:00
James 29db3d3425
Remove reference to `defaultcomponents` in core and deprecate `include_core` flag (#4087)
* remove defaultComponents from core and make it internal for tests

* remove package-lock.json file

* remove checkdoc from GitHub actions workflow

* add CHANGELOG entry

* add checkdoc to github workflow

* testing lint check

* remove-default-components-from-core

* add import statement

* fix Makefile

* add changelog entry

* lint check

* fix lint test

* run integration tests

* fix lint

* Modify changelog entry

* deprecate include_core flag

* modify include_core flag comment

* deprecate include_core flag revised

* deprecate include_core flag revised with log messages

* commit initial test for codecov

* fixed test

* add changelog entry
2021-12-08 10:03:43 -08:00
Bogdan Drutu 3ce97aaf04
Upgrade builder to use collector v0.38.0 (#4367)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-11-08 16:25:40 -08:00
Juraci Paixão Kröhling e168df5684
Move builder to cmd/builder (#4307)
* Move builder to cmd/builder

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

* Fix path to Makefile.Common

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

* Fix versions.yaml entry for the builder

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2021-10-29 08:52:08 -07:00