You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-30
Original file line number
Diff line number
Diff line change
@@ -1,35 +1,8 @@
1
-
# Extension
2
-
This extension is used as a showcase for VHV in order to demonstrate that we can move inspectit's
3
-
agent logic to opentelemetry agent enhanced via an extension.
4
-
5
-
Use `./gradlew extendAgent` (no tests) or `./gradlew build` to build an agent jar with your current
1
+
# inspectIT Gepard Extension
2
+
Extension for the OpenTelemetry Java agent.
3
+
Use `./gradlew extendedAgent` (no tests) or `./gradlew build` to build an agent jar with your current
6
4
changes.
7
5
8
-
## TODOs / next steps
9
-
* otel agent wants to export spans.
10
-
* Find out where otel wants to report spans to. Jaeger? Something else?
11
-
* Do we want to use that? Do we want to disable it?
12
-
* Is it easy to change it to an url provided by the config server?
13
-
* this extension sends an additional http header named `X-OCELOT-AGENT-TYPE` to the config server. Use it over there to display a different icon in the config server's UI
14
-
* tests do not work
15
-
* Probably not that important
16
-
17
-
# Documentation
18
-
This extension calls the agent configuration endpoint of the configuration server. For your local
19
-
installation this is typically available at http://localhost:8090/v1/api/agent/configuration. The
20
-
endpoint of the server is defined in class `rocks.inspectit.ocelot.rest.agent.AgentController` of inspectit-ocelot.
21
-
22
-
Calling that endpoint serves the following purposes:
23
-
* First call registers Agent with configuration server
24
-
* uses query parameter `service` to display something meaningful in the UI. Currently, hardcoded to `otel-extension`
25
-
* Regularly polls configuration server to fetch potentially updated configurations
26
-
* Transmits by each call the health state of the agent
27
-
* Send an `X-OCELOT-AGENT-TYPE` to distinguish inspectit-ocelot-agent and this agent
28
-
29
-
Currently, you can influence the target url via SystemProperty named `inspectit.config.http.url`.
30
-
31
-
Polling of configuration is handled in classes `ConfigurationPolling` and `HttpConfiguration`.
32
-
33
6
# Original Readme
34
7
The following is the original content from which this work is derived.
0 commit comments