-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add semantic conventions for redis receiver
update CHANGELOG.md and README.md for redis resource semantic convention added db.redis.instance semantic convention added db.redis.instance attribute
- Loading branch information
Showing
4 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
groups: | ||
- id: redis | ||
prefix: db.redis | ||
brief: > | ||
A redis instance | ||
attributes: | ||
- id: instance | ||
type: string | ||
brief: > | ||
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. | ||
examples: ['localhost:6379', 'product_info_redis'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | 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 --> |