Commit Graph

9 Commits

Author SHA1 Message Date
Matthieu MOREL b6f379f6f4
[chore]: enable nolintlint (#12132)
#### Description

[nolintlint](https://golangci-lint.run/usage/linters/#nolintlint):
Reports ill-formed or insufficient nolint directives.
2025-01-21 10:23:27 +00:00
Matthieu MOREL cafe9fdb07
[chore]: reenable default revive rules (#11997)
#### Description

By default revive enables a list of rules. 
When a list of rules are defined thay are the only one enabled.
This reenable this default list

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-01-02 18:12:58 +00:00
Bogdan Drutu 4cf491babd
[chore] Fix some nolint in tests or non critical code (#11943)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-12-17 21:59:18 +00:00
Matthieu MOREL 808fb7c260
[chore]: enable gofumpt linter in client, cmd, component, config and confmap (#11587)
#### Description

[gofumpt](https://golangci-lint.run/usage/linters/#gofumpt) is a
stricter format than gofmt, while being backwards compatible.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-12-11 08:50:57 +00: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
Bogdan Drutu a2f0153679
[chore] replace the usage of interface{} with any (#7053)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-01-30 15:01:25 -08: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
Juraci Paixão Kröhling ac9619e17e
Add AuthData to client.Info (#4422)
* Add AuthData to client.Info

Fixes #4418

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

* Handle attribute in doc example

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2021-11-22 08:14:00 -08:00
Juraci Paixão Kröhling 7dbf1b857c
Rename client.Client to client.Info (#4416)
Includes documentation and how it's expected to be used by
both providers and consumers.

Fixes #4058

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2021-11-17 08:49:27 -08:00