Skip to content

Commit 3f631f7

Browse files
author
rish691
committed
Merge remote-tracking branch 'origin/main' into update-submodule
2 parents d9ada2b + 1d9513e commit 3f631f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hypertrace-graphql-attribute-scope/src/main/java/org/hypertrace/graphql/atttribute/scopes/HypertraceAttributeScopeModule.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import static org.hypertrace.core.graphql.attributes.IdMapping.forForeignId;
44
import static org.hypertrace.core.graphql.attributes.IdMapping.forId;
5+
import static org.hypertrace.core.graphql.atttributes.scopes.HypertraceCoreAttributeScopeString.LOG_EVENT;
56
import static org.hypertrace.core.graphql.atttributes.scopes.HypertraceCoreAttributeScopeString.SPAN;
67
import static org.hypertrace.core.graphql.atttributes.scopes.HypertraceCoreAttributeScopeString.TRACE;
78
import static org.hypertrace.graphql.atttribute.scopes.HypertraceAttributeScopeString.API;
@@ -48,5 +49,7 @@ protected void configure() {
4849
idBinder.addBinding().toInstance(forForeignId(BACKEND_TRACE, API, "callerApiId"));
4950
idBinder.addBinding().toInstance(forForeignId(BACKEND_TRACE, TRACE, "traceId"));
5051
idBinder.addBinding().toInstance(forForeignId(BACKEND_TRACE, BACKEND, "backendId"));
52+
53+
idBinder.addBinding().toInstance(forForeignId(LOG_EVENT, SPAN, "spanId"));
5154
}
5255
}

0 commit comments

Comments
 (0)