Skip to content

Commit 99b9082

Browse files
authored
Merge pull request #47451 from Ritikaa96/audit-annotation-etcd-decode-latency
Register some audit annotations
2 parents cd0efbd + 36e798b commit 99b9082

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

content/en/docs/reference/labels-annotations-taints/audit-annotations.md

+25-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ request used a deprecated API version.
3131

3232
Example: `k8s.io/removed-release: "1.22"`
3333

34-
Value **must** be in the format "<major>.<minor>". It is set to target the removal release
34+
Value **must** be in the format "\<MAJOR>\.\<MINOR>\". It is set to target the removal release
3535
on requests made to deprecated API versions with a target removal release.
3636

3737
## pod-security.kubernetes.io/exempt
@@ -72,6 +72,30 @@ violated from the PodSecurity enforcement.
7272
See [Pod Security Standards](/docs/concepts/security/pod-security-standards/)
7373
for more information.
7474

75+
## apiserver.latency.k8s.io/etcd
76+
77+
Example: `apiserver.latency.k8s.io/etcd: "4.730661757s"`
78+
79+
This annotation indiactes the measure of latency incurred inside the storage layer,
80+
it accounts for the time it takes to send data to the etcd and get the complete response back.
81+
82+
The value of this audit annotation does not include the time incurred in admission, or validation.
83+
84+
## apiserver.latency.k8s.io/decode-response-object
85+
86+
Example: `apiserver.latency.k8s.io/decode-response-object: "450.6649ns"`
87+
88+
This annotation records the time taken to decode the response received from the storage layer (etcd)
89+
90+
## apiserver.latency.k8s.io/apf-queue-wait
91+
92+
Example: `apiserver.latency.k8s.io/apf-queue-wait: "100ns"`
93+
94+
This annotation records the time that a request spent queued due to API server priorities.
95+
96+
See [API Priority and Fairness](/docs/concepts/cluster-administration/flow-control/) (APF)
97+
for more information about this mechanism.
98+
7599
## authorization.k8s.io/decision
76100

77101
Example: `authorization.k8s.io/decision: "forbid"`

0 commit comments

Comments
 (0)