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

[exporter/azuremonitor] Drop reference to obsolete LogRecord.Name #9544

Merged

Conversation

pcwiese
Copy link
Contributor

@pcwiese pcwiese commented Apr 26, 2022

Description:
LogRecord.Name is obsolete and uses of it must be removed from this repo.

Link to tracking Issue:
#9258

Testing:
unit testing only.

@pcwiese pcwiese requested review from a team and bogdandrutu April 26, 2022 16:55
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix lint:

Error: log_to_envelope.go:29:2: `categoryNameTag` is unused (deadcode)
make[2]: *** [../../Makefile.Common:96: lint] Error 1
make[1]: *** [Makefile:163: for-all-target-./exporter/azuremonitorexporter] Error 2
make[1]: *** Waiting for unfinished jobs....
	categoryNameTag = "CategoryName"

@tigrannajaryan
Copy link
Member

tigrannajaryan commented Apr 27, 2022

There is a data race in one of the tests, unrelated to the change: https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/6194147424?check_suite_focus=true

@tigrannajaryan
Copy link
Member

Waiting for open-telemetry/opentelemetry-collector#5272 to be done to avoid test failures and then this will need a rebase.

@tigrannajaryan
Copy link
Member

This is expected to fix the test #9564

@tigrannajaryan
Copy link
Member

@pcwiese please rebase from main. This should fix the build.

@tigrannajaryan tigrannajaryan merged commit 220d98b into open-telemetry:main Apr 29, 2022
@tigrannajaryan
Copy link
Member

Thank you @pcwiese

djaglowski pushed a commit to djaglowski/opentelemetry-collector-contrib that referenced this pull request May 10, 2022
…en-telemetry#9544)

LogRecord.Name is obsolete and uses of it must be removed from this repo.

Link to tracking Issue:
open-telemetry#9258
@pcwiese pcwiese deleted the pwiese/drop-logrecord-name branch October 7, 2022 20:53
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.

5 participants