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
using var a = Tracer.StartActivity(this.VmInstanceId);
await using var session = testSp.GetRequiredService<IDocumentStore>().LightweightSession();
var _ = await session.Events.FetchStreamAsync($"SomeTestStream");
=> this gives me an activity from npgsql with a "received-first-response" event, but it DOES NOT include the db.statement tag
using var a = Tracer.StartActivity(this.VmInstanceId);
await using var session = testSp.GetRequiredService<IDocumentStore>().LightweightSession();
var newEvent = new EventTestMethodInvoked());
var _ = session.Events.Append($"SomeTestStream", newEvent);
=> 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.
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.