Skip to content

Commit 1d9513e

Browse files
author
Rishabh
authored
chore: update submodule (#82)
* update submodule * Add foreignId binding in HypertraceAttributeScopeModule
1 parent 99e98dc commit 1d9513e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

hypertrace-core-graphql

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)