From e5f6243445f60f4369df788c47dbd2b368609a71 Mon Sep 17 00:00:00 2001 From: Manan Gandhi Date: Mon, 24 Jan 2022 17:12:02 +0530 Subject: [PATCH] added db.redis.instance attribute --- semantic_conventions/resource/db/redis.yaml | 6 +++--- specification/resource/semantic_conventions/db/redis.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/semantic_conventions/resource/db/redis.yaml b/semantic_conventions/resource/db/redis.yaml index c33e8f618ce..9503068e9e4 100644 --- a/semantic_conventions/resource/db/redis.yaml +++ b/semantic_conventions/resource/db/redis.yaml @@ -7,8 +7,8 @@ groups: - id: instance type: string brief: > - Reported name of the Redis instance. This can be in the form + The reported name of the Redis instance. This can be in the form of `{host}:{port}` or any other name provided manually while configuring - the instrumentation and defaults to the `endpoint` value provided in the - configuration. + the instrumentation. If not provided, the default value is the `endpoint` + value provided in the configuration. examples: ['localhost:6379', 'product_info_redis'] diff --git a/specification/resource/semantic_conventions/db/redis.md b/specification/resource/semantic_conventions/db/redis.md index 1a20f540328..4ce19dffab5 100644 --- a/specification/resource/semantic_conventions/db/redis.md +++ b/specification/resource/semantic_conventions/db/redis.md @@ -1,6 +1,6 @@ # Redis -**Status**: [Experimental](../../document-status.md) +**Status**: [Experimental](../../../document-status.md) **type:** `db.redis` @@ -9,5 +9,5 @@ | Attribute | Type | Description | Examples | Required | |---|---|---|---|---| -| `db.redis.instance` | string | Reported name of the Redis instance. This can be in the form `{host}:{port}` or any other name provided manually while configuring the instrumentation and defaults to the `endpoint` value provided in the configuration. | `localhost:6379`; `product_info_redis` | No | +| `db.redis.instance` | string | The reported name of the Redis instance. This can be in the form of `{host}:{port}` or any other name provided manually while configuring the instrumentation. If not provided, the default value is the `endpoint` value provided in the configuration. | `localhost:6379`; `product_info_redis` | No | \ No newline at end of file