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

Instana Agent Implementation #1064

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

saurabhrajguru
Copy link

Instana Agent Implementation containing necessary framework code and tests.
This will enable Instana Agent initialization and configuration for Java buildpack.

Copy link

linux-foundation-easycla bot commented Mar 12, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

docs/framework-instana_agent.md Show resolved Hide resolved
docs/framework-instana_agent.md Outdated Show resolved Hide resolved
lib/java_buildpack/framework/instana_agent.rb Show resolved Hide resolved
@saurabhrajguru saurabhrajguru marked this pull request as ready for review March 18, 2024 05:55
saurabhrajguru and others added 2 commits April 4, 2024 14:04
Instana Agent Implementation containing necessary framework code and tests.
Incorporated suggestions

Co-authored-by: Felix Marx <[email protected]>
@saurabhrajguru
Copy link
Author

@anthonydahanne @pivotal-david-osullivan and Java Buildpack maintainers.

We have implemented the support for Instana APM on Java Buildpack, we were able successfully test the code on CF account.
I would really appreciate if maintainers could review and merge our contribution.
We are looking to announce the Integration once this is available.

Thank you

@saurabhrajguru
Copy link
Author

@anthonydahanne @pivotal-david-osullivan @dmikusa and Java Buildpack maintainers.

We would really appreciate if someone could respond on this.
We have the customers who are waiting for this to available.

There will be announcement of the integration once this is released.
Java is the first language we have started with and other languages will follow.

['latest', download_uri]
end

def setup_variables
Copy link
Contributor

Choose a reason for hiding this comment

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

why don't you use the standard way of loading configuration?

Please have a look at: https://github.com/cloudfoundry/java-buildpack/blob/main/config/spring_auto_reconfiguration.yml for example, and provide a similar file for your integration.
thank you

Copy link
Author

Choose a reason for hiding this comment

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

The reason being we can't publish the build as well as build metadata without proper authentication (In this case Agent Key).
This standard way of loading configuration goes against our policy of serving the build.
There are other APM providers who use the similar policy (For example - Dynatrace).
I hope this clears on why we are unable to use standard configuration for this.

Copy link
Author

Choose a reason for hiding this comment

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

Looking at the repo we see similar approach and the code on the Dynatrace agent.
https://github.com/cloudfoundry/java-buildpack/blob/main/lib/java_buildpack/framework/dynatrace_one_agent.rb

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