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

feat: add default appProtocol on oc receiver #2486

Merged

Conversation

husnialhamdani
Copy link
Member

@husnialhamdani husnialhamdani commented Jan 3, 2024

Description:
add missing appProtocol in opencensus receiver

Link to tracking Issue: #2487

Testing:

Documentation:

@husnialhamdani husnialhamdani requested a review from a team January 3, 2024 23:27
Copy link
Contributor

@swiatekm swiatekm left a comment

Choose a reason for hiding this comment

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

Please make the linters happy. Otherwise LGTM 👍

note: add missing appProtocol in opencensus receiver

# One or more tracking issues related to the change
issues: []
Copy link
Contributor

Choose a reason for hiding this comment

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

You need to put your issue number here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added, thanks.

@@ -24,12 +24,14 @@ const parserNameOpenCensus = "__opencensus"

// NewOpenCensusReceiverParser builds a new parser for OpenCensus receivers.
func NewOpenCensusReceiverParser(logger logr.Logger, name string, config map[interface{}]interface{}) parser.ComponentPortParser {
http := "http"
Copy link
Member Author

Choose a reason for hiding this comment

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

How to fix this one @swiatekm-sumo?

Copy link
Contributor

Choose a reason for hiding this comment

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

You need to change the variable name, to httpAppProtocol for example.

@jaronoff97 jaronoff97 merged commit 6704a3e into open-telemetry:main Jan 4, 2024
27 checks passed
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
* feat: add default appProtocol on oc receiver

Signed-off-by: Husni Alhamdani <[email protected]>

* feat: add default appProtocol on oc receiver

Signed-off-by: Husni Alhamdani <[email protected]>

* feat: add default appProtocol on oc receiver

Signed-off-by: Husni Alhamdani <[email protected]>

---------

Signed-off-by: Husni Alhamdani <[email protected]>
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.

3 participants