-
Notifications
You must be signed in to change notification settings - Fork 172
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
support install external agent in Sermant #1706
base: develop
Are you sure you want to change the base?
Conversation
63af395
to
d125c25
Compare
045ff7d
to
63e9cb1
Compare
63e9cb1
to
f061590
Compare
9156736
to
f0e35a8
Compare
* @throws InvocationTargetException | ||
* @throws IllegalAccessException | ||
*/ | ||
static void installOtelAgent(boolean isDynamic, String agentPath, Map<String, String> argsMap, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code for using installCommonAgent() and installOtelAgent() is duplicated, which can be merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolved as one method
sermant-agentcore/sermant-agentcore-core/src/main/java/io/sermant/core/AgentCoreEntrance.java
Outdated
Show resolved
Hide resolved
sermant-agentcore/sermant-agentcore-core/src/main/java/io/sermant/core/AgentCoreEntrance.java
Outdated
Show resolved
Hide resolved
sermant-agentcore/sermant-agentcore-core/src/main/java/io/sermant/core/AgentCoreEntrance.java
Show resolved
Hide resolved
...gentcore-core/src/main/java/io/sermant/core/command/ExternalAgentInstallCommandExecutor.java
Outdated
Show resolved
Hide resolved
...agentcore/sermant-agentcore-core/src/main/java/io/sermant/core/ext/ExternalAgentManager.java
Outdated
Show resolved
Hide resolved
fe62791
to
e5359e3
Compare
Signed-off-by: lilai <[email protected]>
e5359e3
to
02633eb
Compare
* | ||
* @param startMethod the method name OpenTelemetry Agent starts by | ||
*/ | ||
public void collectOtelStartEvent(String startMethod) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make this method more general and decouple it from Otel
What type of PR is this?
Feature
What this PR does / why we need it?
To better integrate with OpenTelemetry and make it easier for users to leverage its observability capabilities, we aim to treat OpenTelemetry as a component within Sermant. It will support both static and dynamic attachment methods.
Which issue(s) this PR fixes?
Fixes #1705
Does this PR introduce a user-facing change?
Yes. We will update user guide at sermant.io.
Checklist