Refactoring prometheus metrics and labels #2375
Merged
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 change mainly fixes few things around router and executor
exposed metrices.
so they are getting relabled to exported_namespace. Added function prefix
to resolve this.
Signed-off-by: Sanket Sudake sanketsudake@gmail.com
Description
Router
name
tofunction_name
namespace
tofunction_namespace
fission_function_calls_total
fission_function_errors_total
fission_function_duration_seconds
fission_function_overhead_seconds
fission_function_response_size_bytes
Executor
funcname
->function_name
funcuid
->function_uid
funcaddress
->function_address
fission_cold_starts_total
->fission_function_cold_starts_total
fission_func_running_seconds_summary
->fission_function_running_seconds
fission_func_alive_seconds_summary
->fission_function_alive_seconds
fission_func_is_alive
->fission_function_is_alive
fission_pod_reaptime_seconds
->fission_function_pod_reaptime_seconds
fission_idle_pod_time
->fission_function_idle_pod_time
Reference
prometheus/prometheus#9832
Which issue(s) this PR fixes:
Fixes #
Testing
Checklist: