You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"error.message": "exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id",
18
+
"error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 242, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\", line 26, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id\n",
"events": "[{\"name\": \"dd.graphql.query.error\", \"time_unix_nano\": 1738254217957740000, \"attributes\": {\"message\": \"exception was raised in a graphene query\", \"type\": \"graphql.error.graphql_error.GraphQLError\", \"locations\": \"3:7\", \"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\\\", line 242, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\\\", line 26, in resolve_patron\\n raise Exception(\\\"exception was raised in a graphene query\\\")\\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\\n\\nGraphQL request:3:7\\n2 | {\\n3 | patron {\\n | ^\\n4 | id\\n\", \"path\": \"patron\"}}]",
21
+
"language": "python",
22
+
"runtime-id": "8203164c8f8a4840943bf798c4daea9a"
23
+
},
24
+
"metrics": {
25
+
"_dd.measured": 1,
26
+
"_dd.top_level": 1,
27
+
"_dd.tracer_kr": 1.0,
28
+
"_sampling_priority_v1": 1,
29
+
"process_id": 62451
30
+
},
31
+
"duration": 5396000,
32
+
"start": 1738254217952345000
20
33
},
21
-
"metrics": {
22
-
"_dd.measured": 1,
23
-
"_dd.top_level": 1,
24
-
"_dd.tracer_kr": 1.0,
25
-
"_sampling_priority_v1": 1,
26
-
"process_id": 47948
34
+
{
35
+
"name": "graphql.parse",
36
+
"service": "graphql",
37
+
"resource": "graphql.parse",
38
+
"trace_id": 0,
39
+
"span_id": 2,
40
+
"parent_id": 1,
41
+
"type": "graphql",
42
+
"error": 0,
43
+
"meta": {
44
+
"_dd.base_service": "tests.contrib.graphene",
45
+
"component": "graphql",
46
+
"graphql.source": "{ patron { id name age } }"
47
+
},
48
+
"duration": 828000,
49
+
"start": 1738254217952815000
27
50
},
28
-
"duration": 3427167,
29
-
"start": 1692710307375136045
30
-
},
31
-
{
32
-
"name": "graphql.parse",
33
-
"service": "graphql",
34
-
"resource": "graphql.parse",
35
-
"trace_id": 0,
36
-
"span_id": 2,
37
-
"parent_id": 1,
38
-
"type": "graphql",
39
-
"error": 0,
40
-
"meta": {
41
-
"_dd.base_service": "tests.contrib.graphene",
42
-
"_dd.p.tid": "654a694400000000",
43
-
"component": "graphql",
44
-
"graphql.source": "{ patron { id name age } }"
45
-
},
46
-
"duration": 140959,
47
-
"start": 1692710307375365003
48
-
},
49
-
{
50
-
"name": "graphql.validate",
51
-
"service": "graphql",
52
-
"resource": "graphql.validate",
53
-
"trace_id": 0,
54
-
"span_id": 3,
55
-
"parent_id": 1,
56
-
"type": "graphql",
57
-
"error": 0,
58
-
"meta": {
59
-
"_dd.base_service": "tests.contrib.graphene",
60
-
"_dd.p.tid": "654a694400000000",
61
-
"component": "graphql",
62
-
"graphql.source": "{ patron { id name age } }"
63
-
},
64
-
"duration": 1062625,
65
-
"start": 1692710307375544295
66
-
},
67
-
{
68
-
"name": "graphql.execute",
69
-
"service": "graphql",
70
-
"resource": "{ patron { id name age } }",
71
-
"trace_id": 0,
72
-
"span_id": 4,
73
-
"parent_id": 1,
74
-
"type": "graphql",
75
-
"error": 1,
76
-
"meta": {
77
-
"_dd.base_service": "tests.contrib.graphene",
78
-
"_dd.p.tid": "654a694400000000",
79
-
"component": "graphql",
80
-
"error.message": "exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id",
"error.message": "exception was raised in a graphene query",
105
-
"error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/graphql/patch.py\", line 236, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/root/project/tests/contrib/graphene/test_graphene.py\", line 26, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\nException: exception was raised in a graphene query\n",
106
-
"error.type": "builtins.Exception"
107
-
},
108
-
"duration": 1716208,
109
-
"start": 1692710307376713212
110
-
}]]
51
+
{
52
+
"name": "graphql.validate",
53
+
"service": "graphql",
54
+
"resource": "graphql.validate",
55
+
"trace_id": 0,
56
+
"span_id": 3,
57
+
"parent_id": 1,
58
+
"type": "graphql",
59
+
"error": 0,
60
+
"meta": {
61
+
"_dd.base_service": "tests.contrib.graphene",
62
+
"component": "graphql",
63
+
"graphql.source": "{ patron { id name age } }"
64
+
},
65
+
"duration": 2534000,
66
+
"start": 1738254217954222000
67
+
},
68
+
{
69
+
"name": "graphql.execute",
70
+
"service": "graphql",
71
+
"resource": "{ patron { id name age } }",
72
+
"trace_id": 0,
73
+
"span_id": 4,
74
+
"parent_id": 1,
75
+
"type": "graphql",
76
+
"error": 1,
77
+
"meta": {
78
+
"_dd.base_service": "tests.contrib.graphene",
79
+
"component": "graphql",
80
+
"error.message": "exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id",
81
+
"error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 242, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\", line 26, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id\n",
"events": "[{\"name\": \"dd.graphql.query.error\", \"time_unix_nano\": 1738254217957645000, \"attributes\": {\"message\": \"exception was raised in a graphene query\", \"type\": \"graphql.error.graphql_error.GraphQLError\", \"locations\": \"3:7\", \"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\\\", line 242, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\\\", line 26, in resolve_patron\\n raise Exception(\\\"exception was raised in a graphene query\\\")\\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\\n\\nGraphQL request:3:7\\n2 | {\\n3 | patron {\\n | ^\\n4 | id\\n\", \"path\": \"patron\"}}]",
84
+
"graphql.operation.type": "query",
85
+
"graphql.source": "{ patron { id name age } }"
86
+
},
87
+
"metrics": {
88
+
"_dd.measured": 1
89
+
},
90
+
"duration": 803000,
91
+
"start": 1738254217956843000
92
+
},
93
+
{
94
+
"name": "graphql.resolve",
95
+
"service": "graphql",
96
+
"resource": "patron",
97
+
"trace_id": 0,
98
+
"span_id": 5,
99
+
"parent_id": 4,
100
+
"type": "graphql",
101
+
"error": 1,
102
+
"meta": {
103
+
"_dd.base_service": "tests.contrib.graphene",
104
+
"component": "graphql",
105
+
"error.message": "exception was raised in a graphene query",
106
+
"error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 242, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\", line 26, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\nException: exception was raised in a graphene query\n",
0 commit comments