From 910e2853a4bd335a0224f64baf3e64cb1fbebc1c Mon Sep 17 00:00:00 2001 From: apmmachine Date: Mon, 6 Sep 2021 11:34:53 +0000 Subject: [PATCH] test: synchronizing json specs --- spec/fixtures/span_types.json | 47 ++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/spec/fixtures/span_types.json b/spec/fixtures/span_types.json index b3c7d404b..e6af90312 100644 --- a/spec/fixtures/span_types.json +++ b/spec/fixtures/span_types.json @@ -11,6 +11,7 @@ ".subtypes..__used_by": "list of agents that use to help document alignment (optional)" }, "app": { + "__description": "Spans within application (usually not calling an external system)", "allow_null_subtype": true, "subtypes": { "inferred": { @@ -90,6 +91,12 @@ "ruby" ] }, + "graphql": { + "__description": "GraphQL", + "__used_by": [ + "nodejs" + ] + }, "h2": { "__description": "H2", "__used_by": [ @@ -112,6 +119,12 @@ "ruby" ] }, + "memcached": { + "__description": "Memcached", + "__used_by": [ + "nodejs" + ] + }, "mongodb": { "__description": "MongoDB", "__used_by": [ @@ -119,6 +132,12 @@ "ruby" ] }, + "mssql": { + "__description": "Microsoft SQL Server", + "__used_by": [ + "nodejs" + ] + }, "mysql": { "__description": "MySQL", "__used_by": [ @@ -173,20 +192,26 @@ } }, "external": { + "__description": "Request to external service, usually in request/response pattern", "subtypes": { "dubbo": { - "__description": "Apache Dubbo" + "__description": "Apache Dubbo", + "__used_by": [ + "java" + ] }, "grpc": { "__description": "gRPC", "__used_by": [ - "ruby" + "ruby", + "java" ] }, "http": { "__description": "HTTP client", "__used_by": [ - "ruby" + "ruby", + "java" ] } } @@ -254,12 +279,12 @@ }, "storage": { "subtypes": { + "azureblob": { + "__description": "Azure Blob Storage" + }, "azurefile": { "__description": "Azure Files" }, - "azuresblob": { - "__description": "Azure Blob Storage" - }, "azuretable": { "__description": "Azure Storage Table", "__used_by": [ @@ -281,5 +306,15 @@ "ruby" ], "allow_unlisted_subtype": true + }, + "websocket": { + "__description": "Websockets", + "subtypes": { + "send": { + "__used_by": [ + "nodejs" + ] + } + } } }