Comments (4)
Hi @dhenard - can you confirm the span processor you are using is the BatchSpanProcessor
which should be the default? Your code has the forceFlush
which should really be taking care of blocking until the span's been spent as implemented here
If you happen to be using the SimpleSpanProcessor
, then indeed there seems to be a bug there as pending requests would not actually be waited on.
from aws-otel-community.
Sorry I noticed our docs are incorrectly using SimpleSpanProcessor
so I guess you might be using it
If you can try the BatchSpanProcessor
(I think just replace the import / constructor call) that would be great.
from aws-otel-community.
Hey @anuraaga - Thanks for looking into this, I was using the SimpleSpanProcessor but will give the BatchSpanProcessor a go.
BatchSpanProcessor is working without the need for a delay.
from aws-otel-community.
@dhenard Excellent, glad to hear that! Let me close this issue and feel free to post again if anything comes up.
from aws-otel-community.
Related Issues (20)
- Migration from v0.88.0-eksbuild calcifications HOT 32
- Not getting AWS Lambda service and the AWS Lambda function trace in custom OTEL collector
- Spring mongo traces not generated
- Not able to add the Lambda layer HOT 1
- Cannot send log signal to ADOT Collector in EKS
- Documentation issue - .NET links have moved to new repo HOT 1
- failed to select an OpenTelemetry Instrumentation instance for this pod HOT 1
- Parse error using a custom configuration file using ADOT in AWS Lambda
- scrape_interval configuration to be updated while creating ADOT add on in EKS HOT 3
- Support for JavaScript auto-instrumentation HOT 1
- Build sample applications at PR Build TIme
- Manual tracing for auto-instrumentation-enabled Lambda fuctions HOT 7
- Service name is too arbitrary HOT 3
- attributes processor in ADOT lambda layer HOT 7
- Prevent AMP from collecting EKS cluster metrics (30$ per day)
- How to execute command within aws-otel-collector container such as shell commands to get information inside the container? HOT 1
- opentelemetry-operator-webhook-service HOT 1
- error 403 forbidden
- ADOT Collector/instrumentation not creating X-Ray spans on ECS Fargate, NodeJS app HOT 1
- Adding processors to the configuration-values.json file HOT 1
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 aws-otel-community.