Skip to content

Commit

Permalink
added db.redis.instance semantic convention
Browse files Browse the repository at this point in the history
  • Loading branch information
manang-splunk committed Jan 31, 2022
1 parent db31915 commit f920bb8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ release.
([2100](https://github.com/open-telemetry/opentelemetry-specification/pull/2100))
- Add JVM memory runtime semantic
conventions. ([#2272](https://github.com/open-telemetry/opentelemetry-specification/pull/2272))
- Add `redis.instance` Resource attribute in Redis.
- Add `db.redis.instance` Resource attribute in Redis.
([#2145](https://github.com/open-telemetry/opentelemetry-specification/pull/2145))

### Compatibility
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
groups:
- id: redis
prefix: redis
prefix: db.redis
brief: >
A redis instance
attributes:
Expand Down
2 changes: 1 addition & 1 deletion specification/resource/semantic_conventions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Attributes defining a running environment (e.g. Operating System, Cloud, Data Ce

Attributes defining a database service.

- [Redis](./redis.md)
- [Redis](./db/redis.md)

## Version attributes

Expand Down
13 changes: 13 additions & 0 deletions specification/resource/semantic_conventions/db/redis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Redis

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

**type:** `db.redis`

**Description:** A redis instance

<!-- 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 |
<!-- endsemconv -->
13 changes: 0 additions & 13 deletions specification/resource/semantic_conventions/redis.md

This file was deleted.

0 comments on commit f920bb8

Please sign in to comment.