Commit Graph

393 Commits

Author SHA1 Message Date
Bogdan Drutu 528fd56419
Fix builder generated comment for the program (#5446)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-06-02 11:48:22 -07:00
Bogdan Drutu ca967499d8
Bump dependencies to latest (#5445)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-06-01 09:14:59 -07:00
Pablo Baeyens 8dfdc1c749
Bump to go.pkg.in/yaml.v3 (#5441) 2022-05-31 10:16:35 -07:00
Alex Boten 53827499af
[chore] prepare v0.52.0 release (#5417)
* [chore] prepare v0.52.0 release

* update changelog
2022-05-25 11:12:00 -07:00
Dmitrii Anoshin a809e84a57
Run Windows unit tests for all modules (#5401) 2022-05-24 16:21:10 -07:00
Bogdan Drutu e0aa126403
Bump all deps, Monday, May, 16th (#5372)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-05-16 12:19: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 4878d42b16
Prerelease collector v0.51.0 (#5340)
* Update versions.yaml

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

* Prepare collector-base for version v0.51.0

* Update changelog

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

* more upgrades

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

* Update CHANGELOG.md
2022-05-11 13:07:33 -07:00
Alex Boten 781b97c7a3
[chore] bump dependencies (#5326)
Bump github.com/klauspost/compress from 1.15.1 to 1.15.3
Bump github.com/shirou/gopsutil/v3 from 3.22.3 to 3.22.4
2022-05-09 10:45:36 -07:00
Jimmie Han dfc8d70d8d
Implement unmarshal traces with jsoniter, make 35x faster than jsonpb(#4817) (#4986)
* Implement unmarshal traces with jsoniter, make 40x faster than jsonpb.

Signed-off-by: Jimmie Han <hanjinming@outlook.com>

* ptrace: json unmarshaller use defer

* Use jsoniter unmarshaller as default trace unmarshaler.
Update unit test style design.

* Add kvlist support
2022-05-09 10:16:09 -07:00
Bogdan Drutu 2acc422a16
Upgrade otel deps to latest (#5290)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-04-28 17:49:59 -07:00
Alex Boten c4bd510137
[chore] prepare v0.50.0 release (#5278)
* [chore] prepare v0.50.0 release

fixes https://github.com/open-telemetry/opentelemetry-collector/issues/5277

* update semconv dep
2022-04-28 13:36:42 -07:00
Alex Boten 4fdb087880
dependabot updates Mon Apr 25 08:24:22 PDT 2022 (#5255)
Bump google.golang.org/grpc from 1.45.0 to 1.46.0 in /pdata
Bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0
Bump google.golang.org/grpc from 1.45.0 to 1.46.0
Bump github.com/prometheus/common from 0.33.0 to 0.34.0
2022-04-25 08:35:11 -07:00
Dmitrii Anoshin b2870634ff
Move semconv package from pdata to its own module (#5196)
- Move `model/semconv` package to a new `semconv` module
- Add deprecation notices to API from `model/semconv`
2022-04-14 11:49:20 -07:00
Dmitrii Anoshin 763cbc6199
Prepare for 0.49.0 release (#5212) 2022-04-13 13:56:36 -07:00
Dmitrii Anoshin 8eb68f4002
Bump go.opentelemetry.io/otel/metric to 0.29.0 (#5193) 2022-04-11 17:51:40 -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
Bogdan Drutu 02ce41be01
Remove unnecessary dependency on gorrila mux (#5184)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-04-11 15:40:17 -07:00
Bogdan Drutu 2a55e9fbc6
Small nits in config.Map, avoid unnecessary deps (#5182)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-04-11 10:30:33 -07:00
Bogdan Drutu 66900f2a4f
Dependabot updates, 04/11/2022 (#5180)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-04-11 09:46:37 -07:00
dependabot[bot] 790a48b74a
Bump github.com/knadh/koanf from 1.4.0 to 1.4.1 in /cmd/builder (#5179)
Bumps [github.com/knadh/koanf](https://github.com/knadh/koanf) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/knadh/koanf/releases)
- [Commits](https://github.com/knadh/koanf/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/knadh/koanf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 09:58:30 -04:00
Bogdan Drutu 46e90401dc
Bump all deps to latest (#5145)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-04-04 10:32:52 -07:00
Tigran Najaryan 699a81b216
Update builder version number to 0.48.0 (#5129)
Contributes to https://github.com/open-telemetry/opentelemetry-collector/issues/5120
2022-03-30 14:00:35 -04:00
Tigran Najaryan b1404d5fad
Prerelease collector base v0.48.0 (#5128)
* Update versions.yaml for 0.48.0
* Prepare collector-base for version v0.48.0
* run "make genotelcorecol"

Contributes to https://github.com/open-telemetry/opentelemetry-collector/issues/5120
2022-03-30 12:42:46 -04:00
Ryan Leung 4036157181
fix different go.sum between running make gotidy and make genotelcorecol (#5116)
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2022-03-30 06:49:43 -07:00
Alex Boten 9330552508
dependabot updates Mon Mar 28 08:14:19 PDT 2022 (#5105)
Bump go.opentelemetry.io/contrib/zpages from 0.29.0 to 0.30.0
Bump google.golang.org/protobuf from 1.27.1 to 1.28.0 in /model
Bump go.opentelemetry.io/otel/metric from 0.27.0 to 0.28.0
Bump go.opentelemetry.io/otel/sdk from 1.5.0 to 1.6.1
Bump go.opentelemetry.io/otel/sdk/metric from 0.27.0 to 0.28.0
Bump go.opentelemetry.io/otel/exporters/prometheus from 0.27.0 to 0.28.0
Bump github.com/ory/go-acc from 0.2.7 to 0.2.8 in /internal/tools
2022-03-28 14:16:12 -07:00
Bogdan Drutu 4c3b824aca
Update builder integration tests, enable daily/manual builds (#4771) (#4783)
* 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>

Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2022-03-22 08:33:44 -07:00
Dmitrii Anoshin 3cec6d3d98
dependabot updates Mon Mar 21 15:02 PDT 2022 (#5057)
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 in /cmd/otelcorecol
Bump golang.org/x/tools from 0.1.9 to 0.1.10 in /internal/tools
Bump go.opentelemetry.io/otel/trace from 1.4.1 to 1.5.0
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
Bump go.opentelemetry.io/otel/sdk from 1.4.1 to 1.5.0
2022-03-21 19:37:32 -04:00
dependabot[bot] 0f5251e487
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 in /cmd/builder (#5050)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 01:33:43 -07:00
Pablo Baeyens d29ac47b08
Prepare v0.47.0 release (#5008)
* Update CHANGELOG.md and versions.yaml

* Prepare collector-base for version v0.47.0

* Update Collector version in cmd/builder/internal/builder/config.go

* Update Collector version on cmd/otelcorecol/builder-config.yaml

* Update cmd/otelcorecol (not listed in playbook)
2022-03-16 05:24:57 -07:00
Bogdan Drutu b9a10cdc6e
Remove all deprecated funcs/structs from v0.46.0 (#4995)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-03-14 11:19:49 -07:00
Alex Boten 8fc9ab55fa
dependabot updates Mon Mar 14 08:56:33 PDT 2022 (#4997)
* dependabot updates Mon Mar 14 08:56:33 PDT 2022
Bump google.golang.org/grpc from 1.44.0 to 1.45.0 in /model
Bump google.golang.org/grpc from 1.44.0 to 1.45.0
Bump github.com/spf13/cobra from 1.3.0 to 1.4.0
Bump github.com/klauspost/compress from 1.15.0 to 1.15.1

* make genotelcorecol
2022-03-14 09:28:48 -07:00
dependabot[bot] 5e733e3053
Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 in /cmd/builder (#4993)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 05:47:32 -07:00
Alex Boten 16657c8f09
dependabot updates Tue 8 Mar 2022 11:18:13 PST (#4975)
Bump github.com/klauspost/compress from 1.14.4 to 1.15.0
Bump github.com/shirou/gopsutil/v3 from 3.22.1 to 3.22.2
Bump go.uber.org/multierr from 1.7.0 to 1.8.0
2022-03-09 12:50:25 +01:00
Anthony Mirabella 0c99b508ae
Release prep for v0.46.0 (#4945)
* Update CHANGELOG and versions.yaml for 0.46.0 release

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2022-03-02 10:34:27 -08:00
Bogdan Drutu 73a30a632f
Bump github.com/magiconair/properties to v1.8.6 (#4935)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-03-01 14:53:15 -08: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
Ryan Leung 78e9640760
Replace viper with koanf in builder (#4757)
* replace viper with koanf in builder

Signed-off-by: Ryan Leung <rleungx@gmail.com>

* resolve the conflicts

Signed-off-by: Ryan Leung <rleungx@gmail.com>

* Update go.sum

Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Bogdan Drutu <lazy@splunk.com>
2022-02-23 11:26:15 -08:00
Bogdan Drutu ec4f704019
Upgrade to github.com/klauspost/compress v1.14.4 (#4905)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-02-22 12:54:32 -08:00
Bogdan Drutu e9d660284e
Dependabot updates, Monday Feb 21 (#4900)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-02-21 21:12:35 -08:00
Bogdan Drutu 36f11e0b02
make gotidy (#4892)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-02-20 20:03:19 -08:00
Sean Marciniak d5656d6bb2
Updating methods to reflect the contribution guide's recommendations (#4865) 2022-02-18 11:12:40 -08:00
Juraci Paixão Kröhling dacd8a21bf
Prepare v0.45.0 (#4868)
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2022-02-16 09:44:01 -05:00
Alex Boten 0af43c9b14
dependabot updates Mon 14 Feb 2022 08:30:52 PST (#4862)
* dependabot updates Mon 14 Feb 2022 08:30:52 PST
Bump go.opentelemetry.io/otel/trace from 1.3.0 to 1.4.0
Bump go.opentelemetry.io/otel/sdk/export/metric from 0.26.0 to 0.27.0
Bump go.opentelemetry.io/otel/sdk/metric from 0.26.0 to 0.27.0
Bump go.uber.org/zap from 1.20.0 to 1.21.0
Bump go.opentelemetry.io/otel/exporters/prometheus from 0.26.0 to 0.27.0

* fix import

* make geotelcorecol
2022-02-14 09:07:18 -08:00
dependabot[bot] 97ffae53f8
Bump go.uber.org/zap from 1.20.0 to 1.21.0 in /cmd/builder (#4857)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.20.0...v1.21.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-13 19:59:25 -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 ef67a399be
Bump github.com/shirou/gopsutil/v3 from 3.21.12 to 3.22.1 (#4828)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-02-09 17:40:14 -08:00
Bogdan Drutu 77352783e6
Use go mod compat, drops support for reproducibility with go 1.16 (#4810)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-02-07 14:12:22 -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