March 2020
Intermediate to advanced
626 pages
14h 45m
English
Istio provides a simple mechanism for collecting metrics for the microservices that we developed without adding any instrumentation to them. In the following example, we will use Mixer's attribute vocabulary to define an instance of Mixer metrics that can be applied to the bookinfo microservices to generate metrics. Then, we'll collect them without having to make any code changes to the application. Let's get started:
# Script : 02-create-metric-instance.yamlapiVersion: config.istio.io/v1alpha2kind: instancemetadata: name: doublerequestcountspec: compiledTemplate: metric params: value: "2" # count each request twice dimensions: reporter: ...
Read now
Unlock full access