Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
labelgateway_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
includespace
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 togateway_events_custom_received_total
gateway_events_custom_processed_total
gateway_events_custom_dropped_total