-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add redis resource #2836
Add redis resource #2836
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
groups: | ||
- id: redis | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't this PR having the same "issue" as the original PR: #2145 (comment) Did you use this approach as a "workaround" for the conflict as here #2145 (comment) or is the intention to have redis as a "top-level" entry? If it's because it's a workaround, then maybe we should look into the generator more, or find another way to generate it. |
||
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'] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Redis | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We already have Redis-specific conventions in database.md. Do we need to introduce a new file just for Redis? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After talking with Joao and verifying on my end, it looks like you're correct and we can indeed use the existing file even though it's under a different "path" with the "traces". |
||
|
||
**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 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add this PR here before moving out of draft
#2836