Created
July 3, 2018 14:14
-
-
Save corywright/1acc46eee741275fcda93fcc6a065ea0 to your computer and use it in GitHub Desktop.
gnocchi_resources.yaml
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
# /usr/lib/python2.7/dist-packages/ceilometer/dispatcher/data/gnocchi_resources.yaml | |
resources: | |
- resource_type: identity | |
metrics: | |
- 'identity.authenticate.success' | |
- 'identity.authenticate.pending' | |
- 'identity.authenticate.failure' | |
- 'identity.user.created' | |
- 'identity.user.deleted' | |
- 'identity.user.updated' | |
- 'identity.group.created' | |
- 'identity.group.deleted' | |
- 'identity.group.updated' | |
- 'identity.role.created' | |
- 'identity.role.deleted' | |
- 'identity.role.updated' | |
- 'identity.project.created' | |
- 'identity.project.deleted' | |
- 'identity.project.updated' | |
- 'identity.trust.created' | |
- 'identity.trust.deleted' | |
- 'identity.role_assignment.created' | |
- 'identity.role_assignment.deleted' | |
- resource_type: swift_account | |
metrics: | |
- 'storage.objects.incoming.bytes' | |
- 'storage.objects.outgoing.bytes' | |
- 'storage.api.request' | |
- 'storage.objects.size' | |
- 'storage.objects' | |
- 'storage.objects.containers' | |
- 'storage.containers.objects' | |
- 'storage.containers.objects.size' |
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
# /usr/lib/python2.7/dist-packages/ceilometer/data/meters.d/meters.yaml | |
# Identity | |
# NOTE(gordc): hack because jsonpath-rw-ext can't concat starting with string. | |
- name: $.payload.outcome - $.payload.outcome + 'identity.authenticate.' + $.payload.outcome | |
type: 'delta' | |
unit: 'user' | |
volume: 1 | |
event_type: | |
- 'identity.authenticate' | |
resource_id: $.payload.initiator.id | |
user_id: $.payload.initiator.id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment