Commit Graph

502 Commits

Author SHA1 Message Date
OpenTelemetry Bot 16edcd0f8c
dependabot updates Wed Apr 12 14:35:39 UTC 2023 (#7528)
Bump github.com/klauspost/compress from 1.16.3 to 1.16.4
Bump go.opentelemetry.io/build-tools/chloggen from 0.6.0 to 0.7.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/crosslink from 0.6.0 to 0.7.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/multimod from 0.6.0 to 0.7.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/semconvgen from 0.6.0 to 0.7.0 in /internal/tools
Bump golang.org/x/net from 0.8.0 to 0.9.0
Bump golang.org/x/tools from 0.7.0 to 0.8.0 in /internal/tools
2023-04-12 08:00:40 -07:00
OpenTelemetry Bot 5a55ff83c0
dependabot updates Wed Apr 5 14:39:44 UTC 2023 (#7505)
Bump github.com/fsnotify/fsnotify from 1.4.9 to 1.6.0
Bump github.com/shirou/gopsutil/v3 from 3.23.2 to 3.23.3
Bump github.com/spf13/cobra from 1.6.1 to 1.7.0
Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 in /cmd/builder
Bump go.uber.org/multierr from 1.10.0 to 1.11.0
Bump go.uber.org/multierr from 1.10.0 to 1.11.0 in /cmd/builder
Bump go.uber.org/multierr from 1.10.0 to 1.11.0 in /component
Bump go.uber.org/multierr from 1.10.0 to 1.11.0 in /confmap
Bump go.uber.org/multierr from 1.10.0 to 1.11.0 in /featuregate
Bump go.uber.org/multierr from 1.10.0 to 1.11.0 in /pdata
Bump go.uber.org/multierr from 1.10.0 to 1.11.0 in /receiver
Bump golang.org/x/sys from 0.6.0 to 0.7.0
Bump golang.org/x/sys from 0.6.0 to 0.7.0 in /cmd/otelcorecol
Bump golang.org/x/sys from 0.6.0 to 0.7.0 in /exporter/loggingexporter
2023-04-05 08:20:12 -07:00
Tigran Najaryan b1426afc1b
Clarify that memory limiter refuses data, doesn't drop it (#7459)
Contributes to https://github.com/open-telemetry/opentelemetry-collector/issues/1084

- Clarify what the memory limiter does.
- Set expectations from receivers, how they are supposed to react
  when the memory limiter refuses the data.
- Add a test that demonstrates that memory limiter does not lose data
  if the receiver and exporter behave according to the contract.

All receivers must adhere to this contract. See for example
an issue opened against filelog receiver:
https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/20511

Note that there are no functional changes to the memory limiter.

Future work: one additional thing we can do is implement a backoff
logic in the memory limiter. When in memory limited mode the processor
can introduce pauses before it returns from the ConsumeLogs/Traces/Metrics
call. This will allow to slow down the inflow of data into the Collector
and give time for the pipeline to clear and memory usage to return to the
normal. This needs to be explored further.
2023-04-03 08:45:25 -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 6d28a2d050
dependabot updates Wed Mar 22 17:20:58 UTC 2023 (#7418)
Bump actions/setup-go from 3 to 4
Bump github.com/golangci/golangci-lint from 1.51.2 to 1.52.1 in /internal/tools
Bump github.com/klauspost/compress from 1.16.0 to 1.16.3
Bump google.golang.org/grpc from 1.53.0 to 1.54.0
Bump google.golang.org/grpc from 1.53.0 to 1.54.0 in /exporter/otlpexporter
Bump google.golang.org/grpc from 1.53.0 to 1.54.0 in /exporter/otlphttpexporter
Bump google.golang.org/grpc from 1.53.0 to 1.54.0 in /pdata
Bump google.golang.org/grpc from 1.53.0 to 1.54.0 in /receiver/otlpreceiver
Bump google.golang.org/protobuf from 1.29.1 to 1.30.0 in /exporter/otlpexporter
Bump google.golang.org/protobuf from 1.29.1 to 1.30.0 in /exporter/otlphttpexporter
Bump google.golang.org/protobuf from 1.29.1 to 1.30.0 in /pdata
Bump google.golang.org/protobuf from 1.29.1 to 1.30.0 in /receiver/otlpreceiver
2023-03-22 13:53:25 -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
OpenTelemetry Bot 042b8763cc
dependabot updates Tue Mar 14 23:31:10 UTC 2023 (#7386)
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /cmd/otelcorecol
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /connector/forwardconnector
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /consumer
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /exporter
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /exporter/loggingexporter
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /exporter/otlpexporter
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /exporter/otlphttpexporter
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /internal/tools
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /pdata
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /processor/batchprocessor
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /processor/memorylimiterprocessor
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /receiver
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /receiver/otlpreceiver
2023-03-14 16:43:20 -07:00
OpenTelemetry Bot 2729a2ec66
dependabot updates Wed Mar 8 19:45:10 UTC 2023 (#7349)
Bump github.com/prometheus/common from 0.41.0 to 0.42.0
Bump github.com/prometheus/common from 0.41.0 to 0.42.0 in /processor/batchprocessor
Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.39.0 to 0.40.0
Bump go.opentelemetry.io/contrib/propagators/b3 from 1.14.0 to 1.15.0
Bump go.uber.org/multierr from 1.9.0 to 1.10.0
Bump go.uber.org/multierr from 1.9.0 to 1.10.0 in /cmd/builder
Bump go.uber.org/multierr from 1.9.0 to 1.10.0 in /component
Bump go.uber.org/multierr from 1.9.0 to 1.10.0 in /confmap
Bump go.uber.org/multierr from 1.9.0 to 1.10.0 in /pdata
Bump go.uber.org/multierr from 1.9.0 to 1.10.0 in /receiver
Bump golang.org/x/net from 0.7.0 to 0.8.0
Bump golang.org/x/tools from 0.6.0 to 0.7.0 in /internal/tools
Bump google.golang.org/protobuf from 1.28.1 to 1.29.0 in /exporter/otlpexporter
Bump google.golang.org/protobuf from 1.28.1 to 1.29.0 in /exporter/otlphttpexporter
Bump google.golang.org/protobuf from 1.28.1 to 1.29.0 in /pdata
Bump google.golang.org/protobuf from 1.28.1 to 1.29.0 in /receiver/otlpreceiver
2023-03-08 12:04:48 -08: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
Dmitrii Anoshin b5ebe76960
[chore] Update otel go deps and resolve breaking changes (#7324) 2023-03-06 16:49:59 -08:00
Bogdan Drutu 1374845572
Manually update some of the dependencies without breaking changes (#7322)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-03-06 10:54:53 -08:00
Kshitij Patil 5c58fb38e4
replacing go.uber.org/atomic by sync/atomic (#7220)
replacing go.uber.org/atomic by sync/atomic
wrt issue #7160
2023-03-05 12:24:52 -08:00
Alex Boten 7318c14f1a
[chore] update exporter module to main (#7305)
Make update to contrib easier.

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-03-03 15:50:35 -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 4a6ebc82b8
[chore] update receiver dep to main (#7276)
This will make updating contrib easier

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-03-02 16:46:18 -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 f675a3d175
dependabot updates Mon Feb 27 17:16:47 UTC 2023 (#7265)
Bump github.com/klauspost/compress from 1.15.15 to 1.16.0
Bump github.com/prometheus/common from 0.39.0 to 0.40.0
Bump github.com/prometheus/common from 0.39.0 to 0.40.0 in /processor/batchprocessor
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /cmd/builder
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /cmd/otelcorecol
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /component
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /confmap
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /connector/forwardconnector
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /consumer
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /exporter/loggingexporter
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /exporter/otlpexporter
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /exporter/otlphttpexporter
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /extension/ballastextension
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /extension/zpagesextension
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /featuregate
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /pdata
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /processor/batchprocessor
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /processor/memorylimiterprocessor
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /receiver/otlpreceiver
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /semconv
2023-02-27 09:56:45 -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
Alex Boten 61f8d77cc6
[chore] bump golang.org/x/net to 0.7.0 (#7207)
Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-02-17 09:24:23 -08:00
OpenTelemetry Bot 8bf3885a89
dependabot updates Mon Feb 13 17:07:47 UTC 2023 (#7194)
Bump go.opentelemetry.io/build-tools/checkdoc from 0.5.0 to 0.6.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/chloggen from 0.5.0 to 0.6.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/crosslink from 0.5.0 to 0.6.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/multimod from 0.5.0 to 0.6.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/semconvgen from 0.5.0 to 0.6.0 in /internal/tools
Bump golang.org/x/net from 0.5.0 to 0.6.0
Bump golang.org/x/sys from 0.4.0 to 0.5.0
Bump golang.org/x/sys from 0.4.0 to 0.5.0 in /cmd/otelcorecol
Bump golang.org/x/sys from 0.4.0 to 0.5.0 in /exporter/loggingexporter
Bump google.golang.org/grpc from 1.52.3 to 1.53.0
Bump google.golang.org/grpc from 1.52.3 to 1.53.0 in /exporter/otlpexporter
Bump google.golang.org/grpc from 1.52.3 to 1.53.0 in /exporter/otlphttpexporter
Bump google.golang.org/grpc from 1.52.3 to 1.53.0 in /pdata
Bump google.golang.org/grpc from 1.52.3 to 1.53.0 in /receiver/otlpreceiver
2023-02-13 09:52:18 -08:00
Alex Boten ead716ac04
remove go 1.18 support, bump minimum to go 1.19 and add testing for 1.20 (#7151)
* remove go 1.18 support, bump minimum to go 1.19 and add testing for 1.20

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

* update chlog

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

* add quotes

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

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-02-08 09:01:10 -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
Bogdan Drutu faf5a57803
Bump otel-go to latest (#7149)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-02-07 13:40:07 -08:00
OpenTelemetry Bot 3d5478946b
dependabot updates Mon Feb 6 03:02:30 UTC 2023 (#7125)
Bump github.com/shirou/gopsutil/v3 from 3.22.12 to 3.23.1
Bump go.opentelemetry.io/contrib/propagators/b3 from 1.12.0 to 1.13.0
Bump go.opentelemetry.io/contrib/zpages from 0.37.0 to 0.38.0 in /extension/zpagesextension
2023-02-05 19:27:19 -08:00
OpenTelemetry Bot ea2e6e38ca
[chore] dependabot updates Mon Jan 30 02:01:43 UTC 2023 (#7074)
Bump go.opentelemetry.io/otel from 1.11.2 to 1.12.0
Bump go.opentelemetry.io/otel from 1.11.2 to 1.12.0 in /processor/batchprocessor
Bump go.opentelemetry.io/otel/exporters/prometheus from 0.34.0 to 0.35.0
Bump go.opentelemetry.io/otel/exporters/prometheus from 0.34.0 to 0.35.0 in /processor/batchprocessor
Bump go.opentelemetry.io/otel/metric from 0.34.0 to 0.35.0
Bump go.opentelemetry.io/otel/metric from 0.34.0 to 0.35.0 in /component
Bump go.opentelemetry.io/otel/metric from 0.34.0 to 0.35.0 in /processor/batchprocessor
Bump go.opentelemetry.io/otel/sdk from 1.11.2 to 1.12.0 in /extension/zpagesextension
Bump go.opentelemetry.io/otel/sdk from 1.11.2 to 1.12.0 in /processor/batchprocessor
Bump go.opentelemetry.io/otel/sdk/metric from 0.34.0 to 0.35.0 in /processor/batchprocessor
Bump go.opentelemetry.io/otel/trace from 1.11.2 to 1.12.0
Bump go.opentelemetry.io/otel/trace from 1.11.2 to 1.12.0 in /component
Bump go.opentelemetry.io/otel/trace from 1.11.2 to 1.12.0 in /extension/zpagesextension
Bump google.golang.org/grpc from 1.52.0 to 1.52.3
Bump google.golang.org/grpc from 1.52.0 to 1.52.3 in /exporter/otlpexporter
Bump google.golang.org/grpc from 1.52.0 to 1.52.3 in /exporter/otlphttpexporter
Bump google.golang.org/grpc from 1.52.0 to 1.52.3 in /pdata
Bump google.golang.org/grpc from 1.52.0 to 1.52.3 in /receiver/otlpreceiver

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
Co-authored-by: Alex Boten <aboten@lightstep.com>
2023-01-30 10:18:31 -08:00
Dmitrii Anoshin 2b96397073
[chore] Prepare release 0.70.0 (#6999) 2023-01-23 13:20:15 -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
github-actions[bot] 64d5dea704
dependabot updates Mon Jan 23 17:24:35 UTC 2023 (#6994)
Bump github.com/google/addlicense from 1.1.0 to 1.1.1 in /internal/tools
Bump github.com/klauspost/compress from 1.15.14 to 1.15.15
Bump github.com/knadh/koanf from 1.4.5 to 1.5.0 in /cmd/builder
Bump github.com/knadh/koanf from 1.4.5 to 1.5.0 in /confmap

Co-authored-by: codeboten <codeboten@users.noreply.github.com>
2023-01-23 09:50:46 -08:00
Sean Marciniak bf91c9ed46
[chore] Retract failed release v0.69.0 (#6958)
* Adding retraction for failed release

* Update go.mod

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

* Adding retract statements to public modules

* Running mod tidy on retracted files

* Removing auto generated mod file

Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
2023-01-17 11:25:56 -08:00
github-actions[bot] 46a9b052c2
dependabot updates Mon Jan 16 23:59:04 UTC 2023 (#6957)
Bump google.golang.org/grpc from 1.51.0 to 1.52.0
Bump google.golang.org/grpc from 1.51.0 to 1.52.0 in /exporter/otlpexporter
Bump google.golang.org/grpc from 1.51.0 to 1.52.0 in /exporter/otlphttpexporter
Bump google.golang.org/grpc from 1.51.0 to 1.52.0 in /pdata
Bump google.golang.org/grpc from 1.51.0 to 1.52.0 in /receiver/otlpreceiver

Co-authored-by: codeboten <codeboten@users.noreply.github.com>
2023-01-17 10:30:44 -08:00
Anthony J Mirabella 594952744c
create branch from release/v0.69.x that can merge into main
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2023-01-12 12:10:45 -05:00
Daniel Jaglowski b6571e04e8
Prepare release v0.69.1 (#6934)
* Prepare v0.69.1
2023-01-12 09:53:50 -05:00
Daniel Jaglowski ea8eb18574
Update all modules to use v0.69.0 of collector modules (#6933)
* Update all modules to use v0.69.0 and 1.0.0-rc3 of collector modules
2023-01-12 09:06:16 -05:00
github-actions[bot] 7d168dd20e
dependabot updates Mon Jan 9 16:20:36 UTC 2023 (#6921)
Bump github.com/klauspost/compress from 1.15.13 to 1.15.14
Bump github.com/knadh/koanf from 1.4.4 to 1.4.5 in /cmd/builder
Bump github.com/knadh/koanf from 1.4.4 to 1.4.5 in /confmap
Bump go.opentelemetry.io/build-tools/checkdoc from 0.3.0 to 0.4.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/chloggen from 0.3.0 to 0.4.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/crosslink from 0.3.0 to 0.4.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/multimod from 0.3.0 to 0.4.0 in /internal/tools
Bump golang.org/x/net from 0.4.0 to 0.5.0
Bump golang.org/x/sys from 0.3.0 to 0.4.0
Bump golang.org/x/sys from 0.3.0 to 0.4.0 in /cmd/otelcorecol
Bump golang.org/x/sys from 0.3.0 to 0.4.0 in /exporter/loggingexporter
Bump golang.org/x/tools from 0.4.0 to 0.5.0 in /internal/tools

Co-authored-by: codeboten <codeboten@users.noreply.github.com>
2023-01-09 08:46:42 -08:00
github-actions[bot] 390ac18df1
dependabot updates Mon Jan 2 20:16:13 UTC 2023 (#6875)
Bump github.com/rs/cors from 1.8.2 to 1.8.3
Bump github.com/shirou/gopsutil/v3 from 3.22.10 to 3.22.12

Co-authored-by: bogdandrutu <bogdandrutu@users.noreply.github.com>
2023-01-02 22:20:12 -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
github-actions[bot] c4fbe0f374
dependabot updates Mon Dec 19 21:46:48 UTC 2022 (#6834)
Bump github.com/prometheus/common from 0.38.0 to 0.39.0
Bump github.com/prometheus/common from 0.38.0 to 0.39.0 in /processor/batchprocessor

Co-authored-by: bogdandrutu <bogdandrutu@users.noreply.github.com>
2022-12-19 14:33:01 -08:00
Pablo Baeyens 26f243de6e
[chore] prepare release 0.68.0 (#6822)
* prepare release 0.68.0

* Prepare beta for version v0.68.0

* add multimod changes
2022-12-19 13:45:22 -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
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 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
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
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 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
Bogdan Drutu 7a41e2f47e
Deprecate processorhelper.New*Processor in favor of New*ProcessorWithCreateSettings (#5833)
Main motivation is to ensure that Settings are passed (to enable obsreport usage which requires settings to be passed) as well as the context.

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

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-08-10 10:54:59 -07:00
Bogdan Drutu c140304b27
Use the config pointer as the key for the memorylimiter instances instead of the ID (#5822)
Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-08-09 14:27:18 -07:00
Bogdan Drutu fe226f3d86
Deprecate obsreport.[Processor|Exporter]Settings.Level and use MetricsLevel from CreateSettings (#5824)
Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-08-05 07:12:23 -07:00
Bogdan Drutu 495c1db39e
Replace deprecate With[Traces|Metrics|Logs][Receiver|Processor|Exporter] with the new definition (#5759)
Signed-off-by: Bogdan <bogdandrutu@gmail.com>
2022-07-29 11:38:34 -07:00
Alex Boten 9f0d97ca57
add stability level to component factory (#5580)
* add stability level to component factory

* update docstring

* use a map instead of a single stability level

* apply review feedback

* add tests

* fix impi, add changelog

* add processors, receivers

* fix inconsistency

* set noop to stable

* update calls in deprecated func
2022-07-05 14:02:23 -07:00
Alex Boten b180bd215c
[docs] add status for memorylimiter (#5393)
Fixes #5390
2022-05-18 08:41:42 -07:00
Bogdan Drutu e8dd9536f5
Enable errorlint and fix all warnings (#5364)
On top of the errorlint errors, also changes `fmt.Errorf("string literal")` with `errors.New("string literal")`.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-05-16 10:36:41 -07:00
Bogdan Drutu 39b719f28d
Use atomic.Bool when int was used as a bool variable (#5218)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-04-14 10:17:09 -07:00
Pablo Baeyens 698fbae76b
Use `go.uber.org/atomic` everywhere (#5215)
* Add depguard to enforce usage of `go.uber.org/atomic`

* Use `go.uber.org/atomic` everywhere
2022-04-14 08:42:48 -07:00
Dmitrii Anoshin 734e25e8de
Split `model` by signal type and move it to the new `pdata` module (#5168)
Split all `pdata` related code by type and move it from `model` to the new module `pdata`.

- `model/pdata` and `model/otlp` are moved to `pdata/plog`, `pdata/pmetric` and `pdata/ptrace`.
- `model/otlpgrpc` is moved to `pdata/plogotlp`, `pdata/pmetricotlp` and `pdata/ptraceotlp`.

Now all the API in `model` except for `model/semconv` is deprecated.
2022-04-11 16:00:26 -07:00
Dani Louca 52d651861c
[processor/memorylimiter] Only drops traces, not logs or metrics
Signed-off-by: Dani Louca <dlouca@splunk.com>

**Description:** 

This change 062e64f1d7 caused the memory limiter to "only" start the `checkMemLimits` routine for the ml instance used by the traces processor . 
In other words, metrics and logs processor will NOT [drop/refuse](https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/memorylimiterprocessor/memorylimiter.go#L206) data and will pass them down to the next consumer regardless of the current memory pressure as their instance of ml->forcingDrop will not be set.

The simplest solution, is to call start for each processor (metrics, logs, traces) , but this will not be efficient as we'll be running 3 instances of `checkMemLimits`, ie: multiple GC .
But at the same we need to allow multiple instances, with different configs, example: `memory_limiter/another` and `memory_limiter`

````
extensions:
  memory_ballast:
    size_mib: 4

receivers:
  otlp:
    protocols:
      grpc:
      http:
processors:
  memory_limiter:
    check_interval: 2s
    limit_mib: 10

  memory_limiter/another:
    check_interval: 1s
    limit_mib: 100
exporters:
  logging:
    logLevel: info

service:
  telemetry:
    logs:
      level: "info"
  pipelines:
    metrics:
      receivers: [otlp]
      processors: [memory_limiter]
      exporters: [logging]
    metrics/default:
      receivers: [otlp]
      processors: [memory_limiter]
      exporters: [logging]
    traces:
      receivers: [otlp]
      processors: [memory_limiter/another]
      exporters: [logging]
  extensions: [memory_ballast]
````

The fix adds a global map to keep track of the different instance and add ~~sync once~~ mutex for the start and shutdown call, so only the first processor can launch the `checkMemLimits` routine and the last one to call `shutdown` to take it down.
If shutdown was called and no `checkMemLimits` has started, then we'll return an error message; unit tests were updated to handle this.


**Testing:** 
Tested with above config and using splunk otel instance with valid data.
Made sure only a single `checkMemLimits` is running when there is a single config for memory-limiter and more than one when we have multiple.
I also verified that under memory pressure, when we pass the soft limit, all data types, traces, logs and metrics are getting dropped.

One we agree on this solution, I will look into adding more unit test to validate the change
2022-02-24 13:13:32 -05:00
Bogdan Drutu 004dd4da35
Move everything from processorhelper to component. (#4889)
Updates https://github.com/open-telemetry/opentelemetry-collector/issues/4681

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-02-22 14:23:40 -08:00
Bogdan Drutu ab0e02b7be
Fix error message in memorylimiter processor related to ballast extension (#4697)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-01-18 18:05:35 +00:00
Bogdan Drutu 4a89a135da
Remove warning about already removed config value (#4696)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-01-18 18:04:58 +00:00
Shree Prakash 0e02722729
Otel-4633 Replace path.Join method with filepath.Join method (#4638)
* Otel-4633 Replace path.Join method with filepath.Join method

* Otel-4633 Replace path.Join method with filepath.Join method
2022-01-05 11:08:42 -08:00
Bogdan Drutu 7de98eb669
Move test funcs that load entire config to servicetest (#4606)
Updates https://github.com/open-telemetry/opentelemetry-collector/issues/4605

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-12-21 15:11:40 -08:00
Anthony Mirabella e080cae46f
Enable configuring telemetry through service config file (#4069)
* consolidate flags for configuring telemetry

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

* Enable configuring metrics via service config

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

* Make components take MetricsLevel from TelemetrySettings

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

* Fix lint errors

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

* Remove configuration for metrics prefix and adding instance ID

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

* Make entire Collector available to telemetry initialization, use it to set metrics prefix to buildInfo.Command

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

* fix metrics prefix tests

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

* Fix lint errors

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

* config/telemetry: parseLevel() no longer needs to be exported

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

* config/telemetry: remove intanceID and prefix flags

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

* Apply PR feedback

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

* address PR feedback

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

* Avoid linter complaining about use of deprecated functions

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

* Update CHANGELOG

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-12-16 10:29:28 -08:00
Pablo Baeyens a8ff2dd98c
Enable `errcheck` linter (#4462)
* Check or explicitly ignore all errors

* Enable errcheck

* Use `t.Cleanup` instead of `defer`

* Point to issue on `Set` ignored error
2021-11-23 12:27:32 -08:00
Bogdan Drutu 0b4e5ec792
memorylimiterprocessor: Remove deprecated config (already no-op) ballast_size_mib (#4365)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-11-04 16:49:54 -07:00
José Carlos Chávez 9d3a8a4608
Adds vanity import check (#4180)
* chore: adds porto and fixes vanity imports.

* chore: fixes target overriding.

* chore: fixes install of porto.

* chore: includes porto as a tool.

* chore: upgrades porto to check internals.

* chore: rebase and update vanity import.

* chore: removes unnecessary space.

* chore: rollsback vanity import in generated files.
2021-10-12 13:47:36 -07:00
Anthony Mirabella ee7fa0eeed
obsreport: wire up ProcessorCreateSettings for processors using obsreport (#4148)
* obsreport: wire up ProcessorCreateSettings for processors using obsreport

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

* Add ToProcessorCreateSettings() to obsreporttest settings

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

* Fix lint issue

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-09-30 09:15:50 -07:00
alrex afad36e378
rename NewIDWithName -> NewComponentIDWithName (#4151) 2021-09-29 17:09:17 -07:00
James 85b8094e26
Rename `config.NewID` to `config.NewComponentID` and `config.NewIDFromString` to `config.NewComponentIDFromString` (#4137)
This PR is to rename `config.NewID` to `config.NewComponentID` and `config.NewIDFromString` to `config.NewComponentIDFromString` for naming consistency.  

**Link to tracking Issue:** 
Fixes #4105
2021-09-29 10:28:07 -04:00
alrex 3577bd05d4
rename memorylimiter -> memorylimiterprocessor (#4064) 2021-09-17 03:01:07 -07:00