Comments (3)
Thanks for the detailed report @quentinmit, I'll take a look
from opentelemetry-operations-go.
I think Braydon might not have enough context on this bug. I had two questions that I was hoping someone with context would answer:
-
Why does this code try to parse the attribute as JSON in the first place? Presumably you could just copy the logic that's already used for the HTTP fields:
opentelemetry-operations-go/exporter/collector/logs.go
Lines 551 to 557 in 02b243a
but that doesn't explain why JSON was the only supported format. -
Why does this use the
gcp.source_location
attribute instead of the semantic conventions for code location attributes? And if we want to fix that, what happens if both attributes are present?
from opentelemetry-operations-go.
I agree that this should check more than just bytes as part of the fix, similar to the http attrs. It looks like I had that as a todo at one point too (
) but I can't find why we were ok with just checking bytes originally.We use gcp.source_location
because we chose to default to gcp.*
for our log entry mapping. As a guess, maybe that choice predates the code location semantic conventions or it was just an oversight. But I also agree that unifying to those conventions is the right path here.
I talked to Braydon offline about if he would take this issue, sorry for not including that context. He's done a lot of work on the logs exporter and the semantic conventions around it already. But I'm happy to help with anything too.
from opentelemetry-operations-go.
Related Issues (20)
- Implement exemplar attachments for SDK metric exporter HOT 2
- Implement sum of squared deviations for exponential histograms in SDK exporter HOT 1
- Offline Queuing of Logs and Metrics HOT 4
- https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/tree/main/exporter%2Ftrace
- Add support for createservicetimeseries to the SDK metrics exporter HOT 2
- Follow least-permissions model for Github token permissions
- Metric data exported repeatedly HOT 8
- GMP exporter should deduplicate resources when writing target_info HOT 2
- Export Exponential Histogram to Managed Prometheus doesn't work due to unimplemented naming convertion HOT 4
- GMP: target_info and otel_scope_info metrics are INT-typed
- Resource detector returns invalid zone on GAE standard HOT 1
- resource detection fails for GCE running k3s HOT 2
- Deadlock on tracing HOT 4
- Add k8s.container.name to GMP fallbacks. HOT 1
- exporter/trace: Should trace context propagation be disabled in the Cloud Trace client? HOT 5
- Codecov failing with token error HOT 1
- Typo in `intToDouble` feature gate naming HOT 1
- Recommended span batch write size HOT 2
- Update Cloud Run Job `task_id` to avoid high cardinality? HOT 4
- Collector config is missing mapstructure tags
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 opentelemetry-operations-go.