Skip to content

Commit

Permalink
added db.redis.instance attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
manang-splunk committed Jan 31, 2022
1 parent f920bb8 commit e5f6243
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions semantic_conventions/resource/db/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
4 changes: 2 additions & 2 deletions specification/resource/semantic_conventions/db/redis.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Redis

**Status**: [Experimental](../../document-status.md)
**Status**: [Experimental](../../../document-status.md)

**type:** `db.redis`

Expand All @@ -9,5 +9,5 @@
<!-- semconv redis -->
| 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 |
<!-- endsemconv -->

0 comments on commit e5f6243

Please sign in to comment.