Commit Graph

478 Commits

Author SHA1 Message Date
github-actions[bot] acb9d86458
dependabot updates Tue Dec 13 16:51:35 UTC 2022 (#6783)
Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.36.4 to 0.37.0
Bump go.opentelemetry.io/contrib/propagators/b3 from 1.11.1 to 1.12.0
Bump go.uber.org/multierr from 1.8.0 to 1.9.0
Bump go.uber.org/multierr from 1.8.0 to 1.9.0 in /cmd/builder
Bump go.uber.org/multierr from 1.8.0 to 1.9.0 in /component
Bump go.uber.org/multierr from 1.8.0 to 1.9.0 in /confmap
Bump go.uber.org/multierr from 1.8.0 to 1.9.0 in /pdata
Bump goreleaser/goreleaser-action from 3 to 4

Co-authored-by: bogdandrutu <bogdandrutu@users.noreply.github.com>
2022-12-13 09:25:36 -08:00
Bogdan Drutu ace2bc6829
Remove deprecated funcs/types from component package (#6769)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-12-12 18:12:32 -08:00
Bogdan Drutu 7cb2d7622d
Remove deprecated comonent.Config.[ID|SetIDName]; Deprecate config.*Settings (#6718)
* Remove deprecated comonent.Config.[ID|SetIDName]; Deprecate config.*Settings

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

* Update .chloggen/rmcfgid-1.yaml

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
2022-12-12 14:35:45 -08:00
github-actions[bot] 40fcb05dee
[chore] dependabot updates Mon Dec 12 16:56:20 UTC 2022 (#6750)
* dependabot updates Mon Dec 12 16:56:19 UTC 2022
Bump github.com/klauspost/compress from 1.15.12 to 1.15.13
Bump github.com/prometheus/common from 0.37.0 to 0.38.0 in /processor/batchprocessor
Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.36.4 to 0.37.0
Bump go.opentelemetry.io/contrib/zpages from 0.36.4 to 0.37.0 in /extension/zpagesextension
Bump go.opentelemetry.io/otel from 1.11.1 to 1.11.2
Bump go.opentelemetry.io/otel/exporters/prometheus from 0.33.0 to 0.34.0 in /processor/batchprocessor
Bump go.opentelemetry.io/otel/metric from 0.33.0 to 0.34.0
Bump go.opentelemetry.io/otel/metric from 0.33.0 to 0.34.0 in /component
Bump go.opentelemetry.io/otel/metric from 0.33.0 to 0.34.0 in /processor/batchprocessor
Bump go.opentelemetry.io/otel/sdk from 1.11.1 to 1.11.2 in /extension/zpagesextension
Bump go.opentelemetry.io/otel/sdk from 1.11.1 to 1.11.2 in /processor/batchprocessor
Bump go.opentelemetry.io/otel/sdk/metric from 0.33.0 to 0.34.0
Bump go.opentelemetry.io/otel/sdk/metric from 0.33.0 to 0.34.0 in /processor/batchprocessor
Bump go.opentelemetry.io/otel/trace from 1.11.1 to 1.11.2 in /component
Bump go.opentelemetry.io/otel/trace from 1.11.1 to 1.11.2 in /extension/zpagesextension
Bump golang.org/x/tools from 0.3.0 to 0.4.0 in /internal/tools

* [chore] fix deprecated calls (#6754)

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

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

* [chore] fix batchprocessor (#6755)

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

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

* [chore] fix lint (#6756)

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

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

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: bogdandrutu <bogdandrutu@users.noreply.github.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-12-12 11:01:13 -08:00
Alex Boten f5edb7abb9
[chore] fix typo in comment (#6753)
Signed-off-by: Alex Boten <aboten@lightstep.com>

Signed-off-by: Alex Boten <aboten@lightstep.com>
2022-12-12 09:28:59 -08:00
Bogdan Drutu 9fc03727f5
Remove dependency on batchprocessor from service package (#6730)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-12-12 07:59:54 -08:00
Daniel Jaglowski fdef8b181a
Deprecate `Processor` related structs and functions in favor of `processor` package (#6709) 2022-12-09 08:09:27 -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
Bogdan Drutu 33803467a2
Prepare stable modules for version v1.0.0-rc1 (#6690)
* Bump version of stable to v1.0.0-rc1

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

* Prepare stable for version v1.0.0-rc1

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

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-12-07 10:06:40 -08:00
github-actions[bot] 4c827f6621
dependabot updates Mon Dec 5 02:31:21 UTC 2022 (#6682)
Bump golang.org/x/sys from 0.2.0 to 0.3.0
Bump golang.org/x/sys from 0.2.0 to 0.3.0 in /cmd/otelcorecol
Bump golang.org/x/sys from 0.2.0 to 0.3.0 in /exporter/loggingexporter

Co-authored-by: bogdandrutu <bogdandrutu@users.noreply.github.com>
2022-12-04 21:50:55 -08:00
Bogdan Drutu 012c8da684
Revert github.com/shirou/gopsutil/v3 to previous version, tag removed (#6662)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-12-01 12:17:13 -08:00
Alex Boten f28e128ea8
[chore] update confmap to main (#6658)
Will make update otel core in contrib easier.
2022-12-01 10:45:34 -08:00
github-actions[bot] fd68d8bf58
dependabot updates Thu Dec 1 17:33:08 UTC 2022 (#6655)
Bump github.com/shirou/gopsutil/v3 from 3.22.10 to 3.22.11
Bump go.uber.org/zap from 1.23.0 to 1.24.0
Bump go.uber.org/zap from 1.23.0 to 1.24.0 in /cmd/builder
Bump go.uber.org/zap from 1.23.0 to 1.24.0 in /component
Bump go.uber.org/zap from 1.23.0 to 1.24.0 in /exporter/loggingexporter
Bump go.uber.org/zap from 1.23.0 to 1.24.0 in /exporter/otlphttpexporter
Bump go.uber.org/zap from 1.23.0 to 1.24.0 in /extension/ballastextension
Bump go.uber.org/zap from 1.23.0 to 1.24.0 in /extension/zpagesextension
Bump go.uber.org/zap from 1.23.0 to 1.24.0 in /processor/batchprocessor
Bump go.uber.org/zap from 1.23.0 to 1.24.0 in /processor/memorylimiterprocessor
Bump go.uber.org/zap from 1.23.0 to 1.24.0 in /receiver/otlpreceiver

Co-authored-by: bogdandrutu <bogdandrutu@users.noreply.github.com>
2022-12-01 09:50:24 -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
Bogdan Drutu 5fbf38fde2
Change dependencies to v0.66.0 (#6636)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-11-30 09:45:55 -08:00
Bogdan Drutu d0fe772781
Deprecate component.Config.ID(), add helper for obsreporttest (#5870)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-11-29 14:35:49 -08:00
Bogdan Drutu 1028e3d2a2
Deprecate special Configs for each component type, use a standard opaque Config (#6617)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-11-23 15:02:54 -08:00
Bogdan Drutu 30c9c7154b
Deprecate Unmarshal[*]Config in favor of UnmarshalConfig (#6613)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-11-23 10:15:39 -08:00
Tigran Najaryan 8d425480b0
[chore] prepare release 0.65.0 (#6592)
* prepare release 0.65.0

* Prepare stable for version v0.65.0

* Prepare beta for version v0.65.0

* add multimod changes
2022-11-21 11:37:25 -08:00
github-actions[bot] 1f6f86540c
dependabot updates Mon Nov 21 16:06:08 UTC 2022 (#6589)
Bump github.com/cenkalti/backoff/v4 from 4.1.3 to 4.2.0
Bump google.golang.org/grpc from 1.50.1 to 1.51.0
Bump google.golang.org/grpc from 1.50.1 to 1.51.0 in /exporter/otlpexporter
Bump google.golang.org/grpc from 1.50.1 to 1.51.0 in /exporter/otlphttpexporter
Bump google.golang.org/grpc from 1.50.1 to 1.51.0 in /pdata
Bump google.golang.org/grpc from 1.50.1 to 1.51.0 in /receiver/otlpreceiver

Co-authored-by: bogdandrutu <bogdandrutu@users.noreply.github.com>
2022-11-21 09:32:24 -08:00
Bogdan Drutu aaaa356a38
Minimum changes to component.Host, to allow split of the component package (#6553)
* Draft minimum changes to component.Host

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

* Update .chloggen/draftminhost.yaml

Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
2022-11-18 09:44:06 -08:00
Alex Boten 4fcc46b2bb
[chore] update featuregate dep (#6574)
Signed-off-by: Alex Boten <aboten@lightstep.com>
2022-11-17 14:19:38 -08:00
Alex Boten 6a117bfc37
[featuregate] split into its own module (#6571)
Fixes #6526

Signed-off-by: Alex Boten <aboten@lightstep.com>
2022-11-17 13:45:36 -08:00
Alex Boten 99f4496252
[chore] update dep to make update-otel easier (#6568)
Signed-off-by: Alex Boten <aboten@lightstep.com>
2022-11-16 15:08:48 -08:00
Gustavo Paiva 2da68656b8
Instrument `batch` processor with Otel Go (#6423)
- Instrument batch processor with OpenTelemetry Go.
- Also fixed a small typo on the bucket definition of the batch_send_size_bytes view of OpenCensus.
2022-11-16 15:08:28 -08:00
Alex Boten 2454cfb9ab
[consumer] split consumer into its own module (#6557)
This is part of #6186

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
2022-11-16 13:20:02 -08:00
Alex Boten 937bc8ede5
[chore] update component module to v0.0.0 (#6554)
This makes updating otel core possible from contrib without having to write a bunch of replace statements.
2022-11-15 13:51:16 -08:00
Alex Boten 19db2f15c8
split component into its own module (#6543)
Fixes #6187
2022-11-15 13:28:26 -08:00
github-actions[bot] c939d8d9a2
dependabot updates Mon Nov 14 16:59:52 UTC 2022 (#6539)
Bump github.com/prometheus/client_golang from 1.13.1 to 1.14.0
Bump golang.org/x/sys from 0.1.0 to 0.2.0 in /exporter/loggingexporter
Bump golang.org/x/tools from 0.2.0 to 0.3.0 in /internal/tools

Co-authored-by: bogdandrutu <bogdandrutu@users.noreply.github.com>
2022-11-14 09:20:38 -08:00
Gustavo Paiva 20e3aac004
deprecate obsreport.Must functions in favor of obsreport.New (#6510)
* deprecate obsreport.Must functions in favor of obsreport.New

* add changelog

* fix lint

* split changelog in two

* Update .chloggen/return_error_for_obsreport_new_functions.yaml

Co-authored-by: Bogdan Drutu <lazy@splunk.com>

Co-authored-by: Bogdan Drutu <lazy@splunk.com>
2022-11-10 14:26:31 -08:00
Bogdan Drutu 4c7d5172ce
[chore] prepare release v0.64.1 (#6517)
* prepare release 0.64.1

* Prepare stable for version v0.64.1

* Prepare beta for version v0.64.1

* add multimod changes
2022-11-10 10:01:15 -08:00
Juraci Paixão Kröhling 226dc13a52
Prepare v0.64.0 (#6503)
* prepare release 0.64.0

* Prepare stable for version v0.64.0

* Prepare beta for version v0.64.0

* add multimod changes

* changelog entries

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

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2022-11-08 18:02:35 -08:00
bogdandrutu ccd109c29a dependabot updates Mon Nov 7 03:10:36 UTC 2022
Bump go.opencensus.io from 0.23.0 to 0.24.0
Bump go.opencensus.io from 0.23.0 to 0.24.0 in /processor/batchprocessor
2022-11-07 03:10:36 +00:00
bogdandrutu 1df5010da2 dependabot updates Sat Nov 5 18:13:16 UTC 2022
Bump github.com/prometheus/client_golang from 1.13.0 to 1.13.1
2022-11-05 18:13:16 +00:00
Bogdan 74e53c9475 Fix deprecated calls
Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-11-05 10:25:02 -07:00
Bogdan fbf1e2a09c Revert changes to config.[Receiver|Processor|Exporter|Extension]Settings
Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-11-05 10:04:50 -07:00
Bogdan d6ed8246b6 Deprecate all types and funcs in config package
The main reason is to remove the circular dependency between the config (including sub-packages) and component. Here is the current state:
* component depends on config
* config/sub-package[grpc, http, etc.] depends on config & component

Because of this "circular" dependency, we cannot split for example "config" into its own module, only if all the other config sub-packages are also split.

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-11-05 10:04:49 -07:00
Bogdan Drutu a167b006e8
[chore] remove dependency on ballastextension from main core module (#6466)
Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-11-03 09:19:31 -07:00
Alex Boten 4e29c769bb
splitting batch/memorylimiter processors into their own modules (#6427)
Fixes #6188, #6192, #6193
2022-11-03 08:32:19 -07:00
gustavo.paiva 5a548e8c75 deprecate obsreport New* methods in favor of MustNew* 2022-11-02 12:26:35 -03:00
Bogdan Drutu bb193a24d0
Deprecate New[JSON|Proto][Marshaler|Unmarshale], expose the structs (#6340)
The main motivation is because we want to be able to extend these Marshaler/Unmarshaler implementation with possible options.

Because of that we have 2 options: 1. add Option to each New func, OR 2. expose the structs so that later users can configure different options inside these structs, similar with `jsonpb.Marshaler`.

I implemented the version 2 since it is simpler, and less code, and also common in the industry.

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

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-10-18 15:29:37 -07:00
Dmitrii Anoshin e4cfde4758
[pdata] Rename MetricAggregationTemporality to AggregationTemporality (#6253)
As a new rule we want to rename all the structs for proto messages defined at the package level to not have the owner prefix in its name.
2022-10-07 09:37:47 -07:00
Dmitrii Anoshin 7740c7b387
Remove usages of deprecated pdata Clone methods (#6170) 2022-09-28 18:25:22 -07:00
Bogdan Drutu 937d1e6d25
Replace MetricDataType with MetricType (#6127)
* Dreprecate old APIs, add new APIs without "Data"

Updates https://github.com/open-telemetry/opentelemetry-collector/issues/6081

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

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-09-20 17:06:49 -07:00
Bogdan Drutu 35cf596fc1
Deprecate pmetric.Metric.SetDataType, in favor of empty setters (#5979)
Signed-off-by: Bogdan <bogdandrutu@gmail.com>

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-09-07 23:16:48 -07:00
Bogdan Drutu fef6c558ce
Remove deprecated components helpers funcs (#6006)
Signed-off-by: Bogdan <bogdandrutu@gmail.com>

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-08-31 12:48:34 -07:00
Corbin Phelps f0d69d6822
[processor/batch] Removed casts to Sizer interface in batch processor (#5937)
* Removed casts to Sizer interface in batch processor

Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>

* Added changelog entry

Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>

* removed changelog

Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>

Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>
2022-08-19 09:31:09 -07:00
Bogdan Drutu ddc996f45a
Fix deprecation version in deprecation message (#5932)
Bogdan was back in time for 1 week :)

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

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-08-17 15:53:39 -07:00
Bogdan Drutu 9e90e25435
Deprecate New*ProcessorWithCreateSettings, update New*Processor to the new API (#5915)
Signed-off-by: Bogdan <bogdandrutu@gmail.com>

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-08-15 15:25:21 -07:00
Bogdan Drutu f64389d15f
[chore] change config tests to unmarshal only the config for that component (#5895)
The main motivation for this is to allow components (including tests) to not depend on the "service" configuration and be reusable without the otelcol service.

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

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-08-11 06:57:13 -07:00