Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/kafkametrics] Fix metrics in kafkametricsreceiver (#4327) #2

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

ZenoCC-Peng
Copy link
Collaborator

Description: Utilize mdatagen to modify certain metrics from gauge to non-monotonic sum, employing delta aggregation. Adjust the test file to align with the sum test type and update the expected.yaml file for integration testing purposes.

Link to tracking Issue: [4327]

Testing: Performed: broker_scraper_test.go, config_test.go, consumer_scraper_test.go, factory_test.go, integration_test.go, receiver_test.go, topic_scraper_test.go

Documentation:

@ZenoCC-Peng ZenoCC-Peng closed this Jun 8, 2023
@ZenoCC-Peng ZenoCC-Peng reopened this Jun 8, 2023
@ZenoCC-Peng ZenoCC-Peng closed this Jun 8, 2023
@ZenoCC-Peng ZenoCC-Peng reopened this Jun 8, 2023
@ZenoCC-Peng ZenoCC-Peng merged commit 7dce832 into main Jun 12, 2023
chengchuanpeng pushed a commit that referenced this pull request Jan 28, 2025
#### Description

Vulnerability #1: GO-2025-3420
Sensitive headers incorrectly sent after cross-domain redirect in
net/http
  More info: https://pkg.go.dev/vuln/GO-2025-3420
  Standard library
    Found in: net/http@go1.22.8
    Fixed in: net/http@go1.22.11
    Example traces found:
Error: #1: codeowners.go:212:55:
githubgen.codeownersGenerator.getGithubMembers calls
github.OrganizationsService.ListMembers, which eventually calls
http.Client.Do

Vulnerability #2:
GO-[20](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13003223509/job/36265594395?pr=37492#step:6:21)25-3373
Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509
  More info: https://pkg.go.dev/vuln/GO-2025-3373
  Standard library
Found in:
crypto/x509@go1.[22](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13003223509/job/36265594395?pr=37492#step:6:23).8
    Fixed in: crypto/x509@go1.22.11
    Example traces found:

Related:
open-telemetry/opentelemetry-collector#12197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant