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 outbound policy index metrics #12302

Closed
wants to merge 2 commits into from

Conversation

adleong
Copy link
Member

@adleong adleong commented Mar 20, 2024

Adds index metrics to the outbound policy index.

# HELP outbound_policy_index_size Gauge of the number of resources in the index.
# TYPE outbound_policy_index_size gauge
outbound_policy_index_size{namespace="linkerd",kind="Service"} 8
outbound_policy_index_size{namespace="emojivoto",kind="Service"} 2
outbound_policy_index_size{namespace="default",kind="Service"} 2
outbound_policy_index_size{namespace="emojivoto",kind="HTTPRoute"} 0
outbound_policy_index_size{namespace="linkerd-viz",kind="Service"} 5
outbound_policy_index_size{namespace="kube-system",kind="Service"} 3
outbound_policy_index_size{namespace="cert-manager",kind="Service"} 2
# HELP outbound_policy_index_applies Count of applies to the index.
# TYPE outbound_policy_index_applies counter
outbound_policy_index_applies_total{namespace="linkerd",kind="Service"} 8
outbound_policy_index_applies_total{namespace="emojivoto",kind="HTTPRoute"} 600
outbound_policy_index_applies_total{namespace="linkerd-viz",kind="Service"} 5
outbound_policy_index_applies_total{namespace="kube-system",kind="Service"} 3
outbound_policy_index_applies_total{namespace="emojivoto",kind="Service"} 2
outbound_policy_index_applies_total{namespace="cert-manager",kind="Service"} 2
outbound_policy_index_applies_total{namespace="default",kind="Service"} 2
# HELP outbound_policy_index_deletes Counte of deletes to the index.
# TYPE outbound_policy_index_deletes counter
# HELP outbound_policy_index_resets Count of resets to the index.
# TYPE outbound_policy_index_resets counter

Signed-off-by: Alex Leong <alex@buoyant.io>
@adleong adleong requested a review from a team as a code owner March 20, 2024 18:40
@olix0r olix0r marked this pull request as draft March 22, 2024 17:05
@adleong
Copy link
Member Author

adleong commented Apr 13, 2024

replaced by #12429

@adleong adleong closed this Apr 13, 2024
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