Commit Graph

3 Commits

Author SHA1 Message Date
Matthieu MOREL bf4324d1fa
[chore]: enable extra-rules from gofumpt and paramTypeCombine from go-critic (#13479)
#### Description

Check if code and import statements are formatted, with additional
rules.

* https://golangci-lint.run/usage/formatters/#gofumpt
* https://go-critic.com/overview.html#paramtypecombine

This is the application of golangci-lint fmt ./... , the Makefile has
been update to include this behavior

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-07-30 14:57:53 +00:00
Chao Weng 6740a28a80
Support logs scraper (#12116)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR added support for logs scraper

<!-- Issue number if applicable -->
#### Link to tracking issue
Relevant to #11238 

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added

<!--Describe the documentation added.-->
#### Documentation
Added

<!--Please delete paragraphs that you did not use before submitting.-->
2025-01-22 04:16:41 +00:00
Chao Weng 6757cc7450
Add obs for logs in scraper/scraperhelper (#12036)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR adds obs for logs in scraper/scraperhelper, also introduced new
metrics for scraping logs.

<!-- Issue number if applicable -->
#### Link to tracking issue
Relates to #11238 

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added

<!--Describe the documentation added.-->
#### Documentation
Added

<!--Please delete paragraphs that you did not use before submitting.-->
2025-01-16 04:35:29 +00:00