Istio collects a number of metrics automatically by default. Metrics can be added or removed by changing the configuration at any time. Let's take a look:
- Let's check out attributemanifest, which is a list of attributes for Kubernetes and Istio:
$ kubectl -n istio-system get attributemanifest
NAME AGE
istioproxy 5d
kubernetes 5d
As we can see, Kubernetes has its own set of manifest attributes. Istio also provides a set of manifest attributes.
- Check the attribute list for istioproxy and notice the list of predefined matrices:
$ kubectl -n istio-system get attributemanifest istioproxy -o yaml
...
spec:
attributes:
check.error_code:
...
check.error_code:
valueType: INT64
check.error_message:
valueType: STRING
connection.duration:
valueType: DURATION
...
Here, we can see various attributes, such as errorcode, error_message...