-
Notifications
You must be signed in to change notification settings - Fork 27
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
Otel metrics and traces #460
Otel metrics and traces #460
Commits on Nov 16, 2023
-
Move addMetricsIfPresent into the metrics builder as a first class me…
…thod for others to leverage. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a4caca7 - Browse repository at this point
Copy the full SHA a4caca7View commit details
Commits on Nov 27, 2023
-
WIP to play with OpenTelemetry metric instruments and tracer spans.
Most of this is just playing, but making the StreamManager implement AutoCloseable gives a place to end spans to show how long a serializer/connection factory was relevant for. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c026588 - Browse repository at this point
Copy the full SHA c026588View commit details
Commits on Nov 30, 2023
-
Get gradle files and docker-compose in order to support otlp exports …
…to the collector to prometheus, zipkin, etc Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f3c0077 - Browse repository at this point
Copy the full SHA f3c0077View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fb8e2e - Browse repository at this point
Copy the full SHA 7fb8e2eView commit details -
Restore the docker-compose single-node/multi-node split docker-compos…
…e config hierarchy. This was broken from the merge https://github.com/opensearch-project/opensearch-migrations/pull/376/files#diff-430f89dc33402ecf692b9a8372f66e585bb2f9215596433216580efc2a56795c. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a8ae3d1 - Browse repository at this point
Copy the full SHA a8ae3d1View commit details -
Add labels to each metric instrument so that multiple values can be p…
…lotted within the same graph in prometheus. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for da9d36b - Browse repository at this point
Copy the full SHA da9d36bView commit details -
Move the MetricsClosure into its own class and stop stuffing the metr…
…ics into an optional. Dropping the optionals makes the code simpler and if we don't want to do logging, we can just not fill in the configuration for the SDK. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 06618ca - Browse repository at this point
Copy the full SHA 06618caView commit details -
WIP - Cleanup + get Jaeger to work by switching the endpoint. Also in…
…troduce some more typesafe wrappers for contexts. Lots more to come. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for aba1aab - Browse repository at this point
Copy the full SHA aba1aabView commit details -
Start moving away from ThreadLocal and 'current contexts' and toward …
…explicitly passing strongly typed context objects. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 900bc6d - Browse repository at this point
Copy the full SHA 900bc6dView commit details -
Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3746a8e - Browse repository at this point
Copy the full SHA 3746a8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0e7bf1 - Browse repository at this point
Copy the full SHA e0e7bf1View commit details -
Attempt to fix a failing unit test.
Make sure that the context is using the right requestKey, which also will have the appropriate indices as per the test context. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4b43262 - Browse repository at this point
Copy the full SHA 4b43262View commit details -
Refactor. Couple name changes, class package changes, and moved IRepl…
…ayerRequestContext to the replayer Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 322e12f - Browse repository at this point
Copy the full SHA 322e12fView commit details
Commits on Dec 1, 2023
-
Bundle all of the offloader spans with the netty handler spans.
Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 723bf77 - Browse repository at this point
Copy the full SHA 723bf77View commit details
Commits on Dec 2, 2023
-
Improve the tracing story for the capture proxy.
Don't bother showing the Kakfa offloader just buffering (was called recordStream). Now the offloader span is a child span of the connection span from the handler, so we can see the handler gathering the request/response (or waiting for the response). Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 15a1705 - Browse repository at this point
Copy the full SHA 15a1705View commit details -
Tracing change: Flatten the flush span and just record it as 'blocked'.
That makes it a separate state for the logging handler superclass. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8a6f52a - Browse repository at this point
Copy the full SHA 8a6f52aView commit details
Commits on Dec 4, 2023
-
Minor cleanup - stop setting the namespace or trying to change in a p…
…rocessor. Prometheus metrics already have an export_name that is unique, the processors weren't doing anything useful, & the namespace was appending EVERYTHING from one of the two services. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c50e01d - Browse repository at this point
Copy the full SHA c50e01dView commit details -
Start instrumenting the replayer with more contexts so that traces an…
…d (less so for now) metrics can be exported across more of the lifetime of a request/connection. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 17c517d - Browse repository at this point
Copy the full SHA 17c517dView commit details
Commits on Dec 11, 2023
-
Double down on using Context objects in lieu of String labels and fix…
… a test bug. Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6288844 - Browse repository at this point
Copy the full SHA 6288844View commit details -
Merge branch 'FixKafkaResume' into OtelMetricsAndTraces
Signed-off-by: Greg Schohn <greg.schohn@gmail.com> # Conflicts: # TrafficCapture/nettyWireLogging/src/main/java/org/opensearch/migrations/trafficcapture/netty/ConditionallyReliableLoggingHttpRequestHandler.java # TrafficCapture/nettyWireLogging/src/main/java/org/opensearch/migrations/trafficcapture/netty/LoggingHttpRequestHandler.java # TrafficCapture/nettyWireLogging/src/test/java/org/opensearch/migrations/trafficcapture/netty/ConditionallyReliableLoggingHttpRequestHandlerTest.java # TrafficCapture/trafficCaptureProxyServer/src/main/java/org/opensearch/migrations/trafficcapture/proxyserver/netty/ProxyChannelInitializer.java # TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/Accumulation.java # TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/CapturedTrafficToHttpTransactionAccumulator.java # TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/RequestResponsePacketPair.java # TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/RequestSenderOrchestrator.java # TrafficCapture/trafficReplayer/src/test/java/org/opensearch/migrations/replay/SimpleCapturedTrafficToHttpTransactionAccumulatorTest.java
Configuration menu - View commit details
-
Copy full SHA for 09e849c - Browse repository at this point
Copy the full SHA 09e849cView commit details
Commits on Dec 12, 2023
-
Merge branch 'main' into OtelMetricsAndTraces
Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9cf2540 - Browse repository at this point
Copy the full SHA 9cf2540View commit details