--- source: apollo-router/tests/integration_tests.rs assertion_line: 138 expression: get_spans() --- { "name": "integration_tests::root", "record": { "entries": [], "metadata": { "name": "root", "target": "integration_tests", "level": "INFO", "module_path": "integration_tests", "fields": { "names": [] } } }, "children": { "apollo_router::plugins::telemetry::supergraph": { "name": "apollo_router::plugins::telemetry::supergraph", "record": { "entries": [ [ "graphql.document", "{ topProducts { upc name reviews {id product { name } author { id name } } } }" ], [ "graphql.operation.name", "" ], [ "client.name", "" ], [ "client.version", "" ], [ "otel.kind", "internal" ], [ "apollo_private.field_level_instrumentation_ratio", 0.0 ], [ "apollo_private.graphql.variables", "{\"reviewsForAuthorAuthorId\":[\"\"],\"topProductsFirst\":[\"\"]}" ], [ "apollo_private.http.request_headers", "{\"content-type\":[\"\"]}" ], [ "apollo_private.operation_signature", "# -\n{topProducts{name reviews{author{id name}id product{name}}upc}}" ] ], "metadata": { "name": "supergraph", "target": "apollo_router::plugins::telemetry", "level": "INFO", "module_path": "apollo_router::plugins::telemetry", "fields": { "names": [ "graphql.document", "graphql.operation.name", "client.name", "client.version", "otel.kind", "apollo_private.field_level_instrumentation_ratio", "apollo_private.operation_signature", "apollo_private.graphql.variables", "apollo_private.http.request_headers" ] } } }, "children": { "apollo_router::services::supergraph_service::query_planning": { "name": "apollo_router::services::supergraph_service::query_planning", "record": { "entries": [ [ "graphql.document", "{ topProducts { upc name reviews {id product { name } author { id name } } } }" ], [ "graphql.operation.name", "" ], [ "otel.kind", "internal" ] ], "metadata": { "name": "query_planning", "target": "apollo_router::services::supergraph_service", "level": "INFO", "module_path": "apollo_router::services::supergraph_service", "fields": { "names": [ "graphql.document", "graphql.operation.name", "otel.kind" ] } } }, "children": { "apollo_router::query_planner::bridge_query_planner::parse_query": { "name": "apollo_router::query_planner::bridge_query_planner::parse_query", "record": { "entries": [ [ "otel.kind", "internal" ] ], "metadata": { "name": "parse_query", "target": "apollo_router::query_planner::bridge_query_planner", "level": "INFO", "module_path": "apollo_router::query_planner::bridge_query_planner", "fields": { "names": [ "otel.kind" ] } } }, "children": {} } } }, "apollo_router::plugins::telemetry::execution": { "name": "apollo_router::plugins::telemetry::execution", "record": { "entries": [ [ "graphql.document", "{ topProducts { upc name reviews {id product { name } author { id name } } } }" ], [ "graphql.operation.name", "" ], [ "otel.kind", "internal" ], [ "ftv1.do_not_sample_reason", "" ] ], "metadata": { "name": "execution", "target": "apollo_router::plugins::telemetry", "level": "INFO", "module_path": "apollo_router::plugins::telemetry", "fields": { "names": [ "graphql.document", "graphql.operation.name", "otel.kind", "ftv1.do_not_sample_reason" ] } } }, "children": { "apollo_router::query_planner::sequence": { "name": "apollo_router::query_planner::sequence", "record": { "entries": [], "metadata": { "name": "sequence", "target": "apollo_router::query_planner", "level": "INFO", "module_path": "apollo_router::query_planner", "fields": { "names": [] } } }, "children": { "apollo_router::query_planner::fetch": { "name": "apollo_router::query_planner::fetch", "record": { "entries": [ [ "otel.kind", "internal" ], [ "service.name", "products" ], [ "apollo_private.sent_time_offset", 0 ] ], "metadata": { "name": "fetch", "target": "apollo_router::query_planner", "level": "INFO", "module_path": "apollo_router::query_planner", "fields": { "names": [ "otel.kind", "service.name", "apollo_private.sent_time_offset" ] } } }, "children": { "apollo_router::query_planner::fetch::make_variables": { "name": "apollo_router::query_planner::fetch::make_variables", "record": { "entries": [], "metadata": { "name": "make_variables", "target": "apollo_router::query_planner::fetch", "level": "DEBUG", "module_path": "apollo_router::query_planner::fetch", "fields": { "names": [] } } }, "children": {} }, "apollo_router::plugins::telemetry::subgraph": { "name": "apollo_router::plugins::telemetry::subgraph", "record": { "entries": [ [ "name", "products" ], [ "graphql.document", "{topProducts{__typename upc name}}" ], [ "graphql.operation.name", "" ], [ "otel.kind", "internal" ] ], "metadata": { "name": "subgraph", "target": "apollo_router::plugins::telemetry", "level": "INFO", "module_path": "apollo_router::plugins::telemetry", "fields": { "names": [ "name", "graphql.document", "graphql.operation.name", "otel.kind", "apollo_private.ftv1" ] } } }, "children": { "apollo_router::services::subgraph_service::body_compression": { "name": "apollo_router::services::subgraph_service::body_compression", "record": { "entries": [], "metadata": { "name": "body_compression", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} }, "apollo_router::services::subgraph_service::subgraph_request": { "name": "apollo_router::services::subgraph_service::subgraph_request", "record": { "entries": [ [ "otel.kind", "client" ], [ "net.peer.name", "products.demo.starstuff.dev" ], [ "net.peer.port", "443" ], [ "http.route", "/" ], [ "net.transport", "ip_tcp" ] ], "metadata": { "name": "subgraph_request", "target": "apollo_router::services::subgraph_service", "level": "INFO", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [ "otel.kind", "net.peer.name", "net.peer.port", "http.route", "net.transport" ] } } }, "children": {} }, "apollo_router::services::subgraph_service::aggregate_response_data": { "name": "apollo_router::services::subgraph_service::aggregate_response_data", "record": { "entries": [], "metadata": { "name": "aggregate_response_data", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} }, "apollo_router::services::subgraph_service::parse_subgraph_response": { "name": "apollo_router::services::subgraph_service::parse_subgraph_response", "record": { "entries": [], "metadata": { "name": "parse_subgraph_response", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} } } }, "apollo_router::query_planner::fetch::response_insert": { "name": "apollo_router::query_planner::fetch::response_insert", "record": { "entries": [], "metadata": { "name": "response_insert", "target": "apollo_router::query_planner::fetch", "level": "DEBUG", "module_path": "apollo_router::query_planner::fetch", "fields": { "names": [] } } }, "children": {} } } }, "apollo_router::query_planner::flatten": { "name": "apollo_router::query_planner::flatten", "record": { "entries": [ [ "apollo_private.path", "/topProducts/@" ] ], "metadata": { "name": "flatten", "target": "apollo_router::query_planner", "level": "INFO", "module_path": "apollo_router::query_planner", "fields": { "names": [ "apollo_private.path" ] } } }, "children": { "apollo_router::query_planner::fetch": { "name": "apollo_router::query_planner::fetch", "record": { "entries": [ [ "otel.kind", "internal" ], [ "service.name", "reviews" ], [ "apollo_private.sent_time_offset", 0 ] ], "metadata": { "name": "fetch", "target": "apollo_router::query_planner", "level": "INFO", "module_path": "apollo_router::query_planner", "fields": { "names": [ "otel.kind", "service.name", "apollo_private.sent_time_offset" ] } } }, "children": { "apollo_router::query_planner::fetch::make_variables": { "name": "apollo_router::query_planner::fetch::make_variables", "record": { "entries": [], "metadata": { "name": "make_variables", "target": "apollo_router::query_planner::fetch", "level": "DEBUG", "module_path": "apollo_router::query_planner::fetch", "fields": { "names": [] } } }, "children": {} }, "apollo_router::plugins::telemetry::subgraph": { "name": "apollo_router::plugins::telemetry::subgraph", "record": { "entries": [ [ "name", "reviews" ], [ "graphql.document", "query($representations:[_Any!]!){_entities(representations:$representations){...on Product{reviews{id product{__typename upc}author{__typename id}}}}}" ], [ "graphql.operation.name", "" ], [ "otel.kind", "internal" ] ], "metadata": { "name": "subgraph", "target": "apollo_router::plugins::telemetry", "level": "INFO", "module_path": "apollo_router::plugins::telemetry", "fields": { "names": [ "name", "graphql.document", "graphql.operation.name", "otel.kind", "apollo_private.ftv1" ] } } }, "children": { "apollo_router::services::subgraph_service::body_compression": { "name": "apollo_router::services::subgraph_service::body_compression", "record": { "entries": [], "metadata": { "name": "body_compression", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} }, "apollo_router::services::subgraph_service::subgraph_request": { "name": "apollo_router::services::subgraph_service::subgraph_request", "record": { "entries": [ [ "otel.kind", "client" ], [ "net.peer.name", "reviews.demo.starstuff.dev" ], [ "net.peer.port", "443" ], [ "http.route", "/" ], [ "net.transport", "ip_tcp" ] ], "metadata": { "name": "subgraph_request", "target": "apollo_router::services::subgraph_service", "level": "INFO", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [ "otel.kind", "net.peer.name", "net.peer.port", "http.route", "net.transport" ] } } }, "children": {} }, "apollo_router::services::subgraph_service::aggregate_response_data": { "name": "apollo_router::services::subgraph_service::aggregate_response_data", "record": { "entries": [], "metadata": { "name": "aggregate_response_data", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} }, "apollo_router::services::subgraph_service::parse_subgraph_response": { "name": "apollo_router::services::subgraph_service::parse_subgraph_response", "record": { "entries": [], "metadata": { "name": "parse_subgraph_response", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} } } }, "apollo_router::query_planner::fetch::response_insert": { "name": "apollo_router::query_planner::fetch::response_insert", "record": { "entries": [], "metadata": { "name": "response_insert", "target": "apollo_router::query_planner::fetch", "level": "DEBUG", "module_path": "apollo_router::query_planner::fetch", "fields": { "names": [] } } }, "children": {} } } } } }, "apollo_router::query_planner::parallel": { "name": "apollo_router::query_planner::parallel", "record": { "entries": [], "metadata": { "name": "parallel", "target": "apollo_router::query_planner", "level": "INFO", "module_path": "apollo_router::query_planner", "fields": { "names": [] } } }, "children": { "apollo_router::query_planner::flatten": { "name": "apollo_router::query_planner::flatten", "record": { "entries": [ [ "apollo_private.path", "/topProducts/@/reviews/@/product" ] ], "metadata": { "name": "flatten", "target": "apollo_router::query_planner", "level": "INFO", "module_path": "apollo_router::query_planner", "fields": { "names": [ "apollo_private.path" ] } } }, "children": { "apollo_router::query_planner::fetch": { "name": "apollo_router::query_planner::fetch", "record": { "entries": [ [ "otel.kind", "internal" ], [ "service.name", "products" ], [ "apollo_private.sent_time_offset", 0 ] ], "metadata": { "name": "fetch", "target": "apollo_router::query_planner", "level": "INFO", "module_path": "apollo_router::query_planner", "fields": { "names": [ "otel.kind", "service.name", "apollo_private.sent_time_offset" ] } } }, "children": { "apollo_router::query_planner::fetch::make_variables": { "name": "apollo_router::query_planner::fetch::make_variables", "record": { "entries": [], "metadata": { "name": "make_variables", "target": "apollo_router::query_planner::fetch", "level": "DEBUG", "module_path": "apollo_router::query_planner::fetch", "fields": { "names": [] } } }, "children": {} }, "apollo_router::plugins::telemetry::subgraph": { "name": "apollo_router::plugins::telemetry::subgraph", "record": { "entries": [ [ "name", "products" ], [ "graphql.document", "query($representations:[_Any!]!){_entities(representations:$representations){...on Product{name}}}" ], [ "graphql.operation.name", "" ], [ "otel.kind", "internal" ] ], "metadata": { "name": "subgraph", "target": "apollo_router::plugins::telemetry", "level": "INFO", "module_path": "apollo_router::plugins::telemetry", "fields": { "names": [ "name", "graphql.document", "graphql.operation.name", "otel.kind", "apollo_private.ftv1" ] } } }, "children": { "apollo_router::services::subgraph_service::body_compression": { "name": "apollo_router::services::subgraph_service::body_compression", "record": { "entries": [], "metadata": { "name": "body_compression", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} }, "apollo_router::services::subgraph_service::subgraph_request": { "name": "apollo_router::services::subgraph_service::subgraph_request", "record": { "entries": [ [ "otel.kind", "client" ], [ "net.peer.name", "products.demo.starstuff.dev" ], [ "net.peer.port", "443" ], [ "http.route", "/" ], [ "net.transport", "ip_tcp" ] ], "metadata": { "name": "subgraph_request", "target": "apollo_router::services::subgraph_service", "level": "INFO", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [ "otel.kind", "net.peer.name", "net.peer.port", "http.route", "net.transport" ] } } }, "children": {} }, "apollo_router::services::subgraph_service::aggregate_response_data": { "name": "apollo_router::services::subgraph_service::aggregate_response_data", "record": { "entries": [], "metadata": { "name": "aggregate_response_data", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} }, "apollo_router::services::subgraph_service::parse_subgraph_response": { "name": "apollo_router::services::subgraph_service::parse_subgraph_response", "record": { "entries": [], "metadata": { "name": "parse_subgraph_response", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} } } }, "apollo_router::query_planner::fetch::response_insert": { "name": "apollo_router::query_planner::fetch::response_insert", "record": { "entries": [], "metadata": { "name": "response_insert", "target": "apollo_router::query_planner::fetch", "level": "DEBUG", "module_path": "apollo_router::query_planner::fetch", "fields": { "names": [] } } }, "children": {} } } } } }, "apollo_router::query_planner::flatten": { "name": "apollo_router::query_planner::flatten", "record": { "entries": [ [ "apollo_private.path", "/topProducts/@/reviews/@/author" ] ], "metadata": { "name": "flatten", "target": "apollo_router::query_planner", "level": "INFO", "module_path": "apollo_router::query_planner", "fields": { "names": [ "apollo_private.path" ] } } }, "children": { "apollo_router::query_planner::fetch": { "name": "apollo_router::query_planner::fetch", "record": { "entries": [ [ "otel.kind", "internal" ], [ "service.name", "accounts" ], [ "apollo_private.sent_time_offset", 0 ] ], "metadata": { "name": "fetch", "target": "apollo_router::query_planner", "level": "INFO", "module_path": "apollo_router::query_planner", "fields": { "names": [ "otel.kind", "service.name", "apollo_private.sent_time_offset" ] } } }, "children": { "apollo_router::query_planner::fetch::make_variables": { "name": "apollo_router::query_planner::fetch::make_variables", "record": { "entries": [], "metadata": { "name": "make_variables", "target": "apollo_router::query_planner::fetch", "level": "DEBUG", "module_path": "apollo_router::query_planner::fetch", "fields": { "names": [] } } }, "children": {} }, "apollo_router::plugins::telemetry::subgraph": { "name": "apollo_router::plugins::telemetry::subgraph", "record": { "entries": [ [ "name", "accounts" ], [ "graphql.document", "query($representations:[_Any!]!){_entities(representations:$representations){...on User{name}}}" ], [ "graphql.operation.name", "" ], [ "otel.kind", "internal" ] ], "metadata": { "name": "subgraph", "target": "apollo_router::plugins::telemetry", "level": "INFO", "module_path": "apollo_router::plugins::telemetry", "fields": { "names": [ "name", "graphql.document", "graphql.operation.name", "otel.kind", "apollo_private.ftv1" ] } } }, "children": { "apollo_router::services::subgraph_service::body_compression": { "name": "apollo_router::services::subgraph_service::body_compression", "record": { "entries": [], "metadata": { "name": "body_compression", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} }, "apollo_router::services::subgraph_service::subgraph_request": { "name": "apollo_router::services::subgraph_service::subgraph_request", "record": { "entries": [ [ "otel.kind", "client" ], [ "net.peer.name", "accounts.demo.starstuff.dev" ], [ "net.peer.port", "443" ], [ "http.route", "/" ], [ "net.transport", "ip_tcp" ] ], "metadata": { "name": "subgraph_request", "target": "apollo_router::services::subgraph_service", "level": "INFO", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [ "otel.kind", "net.peer.name", "net.peer.port", "http.route", "net.transport" ] } } }, "children": {} }, "apollo_router::services::subgraph_service::aggregate_response_data": { "name": "apollo_router::services::subgraph_service::aggregate_response_data", "record": { "entries": [], "metadata": { "name": "aggregate_response_data", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} }, "apollo_router::services::subgraph_service::parse_subgraph_response": { "name": "apollo_router::services::subgraph_service::parse_subgraph_response", "record": { "entries": [], "metadata": { "name": "parse_subgraph_response", "target": "apollo_router::services::subgraph_service", "level": "DEBUG", "module_path": "apollo_router::services::subgraph_service", "fields": { "names": [] } } }, "children": {} } } }, "apollo_router::query_planner::fetch::response_insert": { "name": "apollo_router::query_planner::fetch::response_insert", "record": { "entries": [], "metadata": { "name": "response_insert", "target": "apollo_router::query_planner::fetch", "level": "DEBUG", "module_path": "apollo_router::query_planner::fetch", "fields": { "names": [] } } }, "children": {} } } } } } } } } } } }, "apollo_router::services::supergraph_service::format_response": { "name": "apollo_router::services::supergraph_service::format_response", "record": { "entries": [], "metadata": { "name": "format_response", "target": "apollo_router::services::supergraph_service", "level": "DEBUG", "module_path": "apollo_router::services::supergraph_service", "fields": { "names": [] } } }, "children": {} } } } } }