Comments (6)
Sorry, I don't understand the issue, as you keep talking about unit tests. Please describe the use case, show configuration used, and explain what behavior you are expecting and getting instead.
from jaeger.
Sorry, I'll try to elaborate.
I originally wanted to solve an issue in OpenTelemetry SDK - open-telemetry/opentelemetry-java#5504, which used the following strategies_sampling.json:
{
"service_strategies": [
{
"service": "foobar",
"type": "ratelimiting",
"param": 2
}
],
"default_strategy": {
"type": "probabilistic",
"param": 0.2,
"operation_strategies": [
{
"operation": "/metrics",
"type": "probabilistic",
"param": 0.0
}
]
}
}
I made a small java service and added OTEL tooling with all-in-one Jaeger backend and local console output for simplicity sake - https://github.com/kuujis/opentelemetry-java-5504. There are commands to build and run images, which should make the problem clear(er?) if someone feels like checking it out.
What I observed after some debugging is that GetSamplingStrategy gRCP call from OTEL towards Jaeger all-in-one app does not return the default strategies, which should be applied to specific operation ("/metrics" in the example above) IF the service sampling strategy is "ratelimiting". The default operations level strategies are added as expected for "probablistic" service sampling strategies.
After investigating why that is so - I found the part which I believe is the cause of the problem, and since its much simpler to reproduce the issue via an updated unit test which is covering that specific situation - I went with that in the bug description, instead of the whole repo and the whole story of how the issue was reproduced.
Hope this clarifies things.
from jaeger.
Related Issues (20)
- [Feature]: Enable IAM based auth to ES for AWS clients HOT 2
- [jaeger-v2] Deployment options HOT 7
- [Bug]: Cassandra second node is stuck on CrashLoopBackOff HOT 2
- [jaeger-v2] Rethink storage configuration to align with OTEL
- [jaeger-v2] Do away with storage.ArchiveFactory HOT 1
- [Bug]: Unstable Jaeger Deployment with Cassandra ; Cassandra STS is failing HOT 3
- Jaeger's LFX Mentorship - Term 02 - 2024 June - August HOT 11
- [jaeger-v2] Storage backend integration tests HOT 10
- [Bug]: internal.span.format field error in zipkin receiver
- [jaeger-v2] Build jaeger-remote-storage for gRPC integration test HOT 5
- [Feature]: Possible impact of changing Cassandra table compaction strategy HOT 1
- [Bug]: Does Jaeger-all-in-one does not support OpenSearch 2.11? HOT 4
- Create GitHub Action to block PRs from ${fork}/main branch HOT 2
- Jaeger Service Name Missing in Jaeger-Services-XXXXXX index HOT 1
- #coop-mode for jaeger HOT 2
- [Bug]: CVE-2021-22570 (upgrade google.golang.org/protobuf to 3.15.0+) HOT 2
- [Bug]: The results filtered through the tag in the `findtrace` page did not match expectations HOT 2
- Fix breaking changes in upgrading OTEL Collector HOT 2
- [Refactor]: Remove the use of channels to signal healthcheck status HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaeger.