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

add more detailed metrics #379

Merged
merged 8 commits into from
Mar 1, 2018
Merged

add more detailed metrics #379

merged 8 commits into from
Mar 1, 2018

Conversation

mthenw
Copy link
Contributor

@mthenw mthenw commented Mar 1, 2018

This PR adds more detailed metrics, and add support for space label for some of them.

Added metrics (counters):

Functions/subscriptions all metrics are labeled with space label

  • gateway_functions_registered_total
  • gateway_functions_deleted_total
  • gateway_config_function_get_requests_total
  • gateway_config_function_register_requests_total
  • gateway_config_function_delete_requests_total
  • gateway_config_function_update_requests_total
  • gateway_config_function_list_requests_total
  • gateway_subscriptions_created_total
  • gateway_subscriptions_deleted_total
  • gateway_config_subscription_get_requests_total
  • gateway_config_subscription_create_requests_total
  • gateway_config_subscription_delete_requests_total
  • gateway_config_subscription_list_requests_total

Events:

  • gateway_events_system_function_invoking_received_total
  • gateway_events_system_function_invoked_received_total
  • gateway_events_system_function_invocation_failed_received_total
  • gateway_events_invoke_received_total
  • gateway_events_invoke_processed_total
  • gateway_events_http_received_total
  • gateway_events_http_processed_total

All Events metrics exept gateway_events_http_received_total include space label. It's not possible to determine space for HTTP event then it's received.

Regarding events we already have (all without space label) gateway_events_async_* metrics which were renamed to

  • gateway_events_custom_received_total
  • gateway_events_custom_processed_total
  • gateway_events_custom_dropped_total

@mthenw mthenw requested a review from alexdebrie March 1, 2018 10:43
@mthenw mthenw merged commit 464619f into master Mar 1, 2018
@mthenw mthenw deleted the more-detailed branch March 1, 2018 13:47
@mthenw mthenw mentioned this pull request Mar 27, 2018
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant