Skip to content

Commit

Permalink
chore(graphql): Remove custom OTEL event listener (#1797)
Browse files Browse the repository at this point in the history
This custom listener adds no new info, we have built in telemetry from
HotChocolate

Co-authored-by: Knut Haug <knut.espen.haug@digdir.no>
  • Loading branch information
oskogstad and knuhau authored Feb 4, 2025
1 parent 663734c commit 56adb3f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 112 deletions.
111 changes: 0 additions & 111 deletions src/Digdir.Domain.Dialogporten.GraphQL/OpenTelemetryEventListener.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public static IServiceCollection AddDialogportenGraphQl(this IServiceCollection
.AddAuthorization()
.AddFluentValidation()
.RegisterDbContext<DialogDbContext>()
.AddDiagnosticEventListener<OpenTelemetryEventListener>()
.AddQueryType<Queries>()
.AddMutationType<Mutations>()
.AddType<DialogByIdDeleted>()
Expand Down

0 comments on commit 56adb3f

Please sign in to comment.