Replies: 2 comments 1 reply
-
@dvlprx Hey, sorry for the lost time on your part, but in the future, can you please ask questions on Discord rather than in GitHub issues? The Here's a sample app that is exporting Open Telemetry activities, in this particular case using .NET Aspire, but the fundamentals are the same regardless of Otel tool: And I'm sorry, but I'm just not signing up to support custom strategies (Oskar's post). Your |
Beta Was this translation helpful? Give feedback.
-
Hi jeremy, thanks you for your quick answer :)
that's perfectly ok for me - I wouldn't do that too, but in my case this line is irrelevant for the issue, I do have an exporter running, that just prints out all activities (unfiltered without any otel-baseProcessor doing filtering or anything else), so I know there is no activity being exported. UpdateI just switched back to Marten 6.4.0. In that version the first test, that executes the FetchStreamAsync, does add the db.statement tag to the query. But the Events.Append is still not creating any activity at all |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi community,
I just upgraded to version 7.10 and I can not get otel-activities, to be created.
Question 1
Is it enough to just add "Marten" to the observed sources, to let marten write activities?
This (08.05.2024): https://martendb.io/otel
says, just adding "Marten" as observed tracing-source is enough.
This (09.12.2023): https://event-driven.io/en/set_up_opentelemetry_wtih_event_sourcing_and_marten/
I expect to be the do-it-yourself way, but is not necessary with 7.10, to let marten write activities?
Question 2
Could you please tell me what I am missing :/
OpenTelemetry:
Marten:
Question 3
is setting the marten correlation options necessary at all, to let it just write activities (if we don't care about the correlation/causation stuff)
Reproduce
=> this gives me an activity from npgsql with a "received-first-response" event, but it DOES NOT include the db.statement tag
=> this gives me NO ACTIVITY at all
Any help, or pointing in the right direction would be very very appreciated ... got stuck on this the whole day.
Beta Was this translation helpful? Give feedback.
All reactions