Skip to content

Conversation

@dhaval24
Copy link
Contributor

@dhaval24 dhaval24 commented Sep 13, 2018

PR adds Auto Configuration for Local Forwarder Telemetry Channel. The Local Forwarder channel would be configured if following property is present -

azure.application-insights.channel.local-forwarder.endpoint-address

If both azure.application-insights.channel.local-forwarder.endpoint-address as well as
azure.application-insights.channel.in-process.endpoint-address are present in the properties this would be considered as Illegal Configuration and the application would throw in this case.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated

Copy link
Contributor

@littleaj littleaj left a comment

Choose a reason for hiding this comment

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

Seems straightforward. Just remove the grpc qualification

@dhaval24
Copy link
Contributor Author

@grlima could you please review this so it can be merged

exclude(dependency([group: 'com.google.guava', name: 'guava', version: '20.0']))
exclude(dependency([group: 'com.google.code.gson', name: 'gson', version: '2.8.2']))

// exclude gRPC and protobuf dependencies
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't honestly like to have this long list of excluded dependencies. It would have been amazing if shadow jar could excluded transitive dependencies automatically :/

})
@AutoConfigureBefore(name = {
"io.micrometer.spring.autoconfigure.export.azuremonitor.AzureMonitorMetricsExportAutoConfiguration",
"org.springframework.boot.actuate.autoconfigure.metrics.export.azuremonitor.AzureMonitorMetricsExportAutoConfiguration"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have removed this namespace because, the autoconfig code will reside in azure-spring-boot repo. I will add new namespace once the code is ported there and merged (possibly for next release)

@dhaval24
Copy link
Contributor Author

@grlima can you please take a look and approve this one?

@dhaval24
Copy link
Contributor Author

@grlima I am merging this PR, it's pretty straight forward. We can change things with a new PR in case later you have any more questions.

@dhaval24 dhaval24 merged commit 82c9816 into master Sep 16, 2018
littleaj added a commit that referenced this pull request Dec 7, 2019
littleaj added a commit that referenced this pull request Dec 10, 2019
@trask trask deleted the AddLFChannelInStarter branch September 21, 2020 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants