-
Notifications
You must be signed in to change notification settings - Fork 244
/
apollo_router__plugins__telemetry__logging__test__when_header@logs.snap
47 lines (47 loc) 路 1.68 KB
/
apollo_router__plugins__telemetry__logging__test__when_header@logs.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
source: apollo-router/src/plugins/telemetry/logging/mod.rs
expression: yaml
---
- fields:
http.request.headers: "{\"content-type\": \"application/json\", \"custom-header1\": \"val1\", \"custom-header2\": \"val2\"}"
level: INFO
message: Supergraph request headers
- fields:
http.request.body: "Request { query: Some(\"query { foo }\"), operation_name: None, variables: {}, extensions: {} }"
level: INFO
message: Supergraph request body
- fields: {}
level: INFO
message: response
span:
apollo_private.field_level_instrumentation_ratio: 0.01
apollo_private.graphql.variables: "{}"
graphql.document: "query { foo }"
name: supergraph
otel.kind: INTERNAL
spans:
- apollo_private.field_level_instrumentation_ratio: 0.01
apollo_private.graphql.variables: "{}"
graphql.document: "query { foo }"
name: supergraph
otel.kind: INTERNAL
- fields:
http.response.headers: "{\"custom-header1\": \"val1\", \"custom-header2\": \"val2\"}"
level: INFO
message: Supergraph response headers
span:
apollo_private.field_level_instrumentation_ratio: 0.01
apollo_private.graphql.variables: "{}"
graphql.document: "query { foo }"
name: supergraph
otel.kind: INTERNAL
spans:
- apollo_private.field_level_instrumentation_ratio: 0.01
apollo_private.graphql.variables: "{}"
graphql.document: "query { foo }"
name: supergraph
otel.kind: INTERNAL
- fields:
http.response.body: "Response { label: None, errors: [], data: Some(Object({\"data\": String(\"res\")})), path: None, extensions: {}, has_next: None, subscribed: None, created_at: None, incremental: [] }"
level: INFO
message: Supergraph GraphQL response