Skip to content
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

redisreceiver: Add missing units in metadata.yaml #23573

Merged
merged 5 commits into from
Jul 18, 2023

Conversation

mackjmr
Copy link
Member

@mackjmr mackjmr commented Jun 20, 2023

Description:

Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

This PR adds the unit to metrics where this is missing:

  • redis.role
  • redis.cmd.calls
  • redis.clients.connected
  • redis.clients.blocked
  • redis.keys.expired
  • redis.keys.evicted
  • redis.connections.received
  • redis.connections.rejected
  • redis.memory.fragmentation_ratio
  • redis.rdb.changes_since_last_save
  • redis.commands.processed
  • redis.keyspace.hits
  • redis.keyspace.misses
  • redis.slaves.connected
  • redis.db.keys
  • redis.db.expires

Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

This PR adds the unit to metrics where this is missing:
- redis.role
- redis.cmd.calls
- redis.clients.connected
- redis.clients.blocked
- redis.keys.expired
- redis.keys.evicted
- redis.connections.received
- redis.connections.rejected
- redis.memory.fragmentation_ratio
- redis.rdb.changes_since_last_save
- redis.commands.processed
- redis.keyspace.hits
- redis.keyspace.misses
- redis.slaves.connected
- redis.db.keys
- redis.db.expires
@mackjmr mackjmr requested a review from a team June 20, 2023 08:51
@mackjmr mackjmr requested a review from dmitryax as a code owner June 20, 2023 08:51
@github-actions github-actions bot added the receiver/redis Redis related issues label Jun 20, 2023
@github-actions github-actions bot requested a review from hughesjj June 20, 2023 08:51
@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jul 6, 2023
@mackjmr
Copy link
Member Author

mackjmr commented Jul 6, 2023

Could someone please remove the Stale from this PR ?

@github-actions github-actions bot removed the Stale label Jul 7, 2023
@mackjmr
Copy link
Member Author

mackjmr commented Jul 10, 2023

cc @dmitryax and/or @hughesjj if you could please take a look at this PR ?

@dmitryax dmitryax merged commit f4d0426 into open-telemetry:main Jul 18, 2023
88 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 18, 2023
mackjmr added a commit to mackjmr/opentelemetry-collector-contrib that referenced this pull request Jul 19, 2023
dmitryax pushed a commit that referenced this pull request Jul 20, 2023
**Description:**
Now that #23573 has been merged, we can remove the todo.

Co-authored-by: Antoine Toulme <antoine@lunar-ocean.com>
@bjandras bjandras mentioned this pull request Sep 6, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
receiver/redis Redis related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants