diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 8c21aeb07eb..480e2962225 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -117,6 +117,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Add a `system/network_summary` metricset {pull}15196[15196] - Add mesh metricset for Istio Metricbeat module {pull}15535[15535] - Add mixer metricset for Istio Metricbeat module {pull}15696[15696] +- Add pilot metricset for Istio Metricbeat module {pull}15761[15761] - Make the `system/cpu` metricset collect normalized CPU metrics by default. {issue}15618[15618] {pull}15729[15729] - Add `key/value` mode for SQL module. {issue}15770[15770] {pull]15845[15845] - Add STAN dashboard {pull}15654[15654] diff --git a/metricbeat/docs/fields.asciidoc b/metricbeat/docs/fields.asciidoc index c6acd54d471..35fbb34acdf 100644 --- a/metricbeat/docs/fields.asciidoc +++ b/metricbeat/docs/fields.asciidoc @@ -17138,6 +17138,203 @@ type: long -- +[float] +=== pilot + +Contains statistics related to the Istio pilot service + + + +*`istio.pilot.xds.count`*:: ++ +-- +Count of concurrent xDS client connections for Pilot. + + +type: integer + +-- + +*`istio.pilot.xds.pushes`*:: ++ +-- +Count of xDS messages sent, as well as errors building or sending xDS messages for lds, rds, cds and eds. + + +type: integer + +-- + +*`istio.pilot.xds.push.time.sec`*:: ++ +-- +Total time in seconds Pilot takes to push lds, rds, cds and eds. + + +type: long + +-- + +*`istio.pilot.xds.eds.instances`*:: ++ +-- +Instances for each cluster, as of last push. Zero instances is an error. + + +type: object + +-- + +*`istio.pilot.xds.push.context.errors`*:: ++ +-- +Number of errors (timeouts) initiating push context. + + +type: integer + +-- + +*`istio.pilot.xds.internal.errors`*:: ++ +-- +Total number of internal XDS errors in pilot. + + +type: integer + +-- + +*`istio.pilot.conflict.listener.inbound`*:: ++ +-- +Number of conflicting inbound listeners. + + +type: integer + +-- + +*`istio.pilot.conflict.listener.outbound.http.over.current.tcp`*:: ++ +-- +Number of conflicting wildcard http listeners with current wildcard tcp listener. + + +type: integer + +-- + +*`istio.pilot.conflict.listener.outbound.http.over.https`*:: ++ +-- +Number of conflicting HTTP listeners with well known HTTPS ports. + + +type: integer + +-- + +*`istio.pilot.conflict.listener.outbound.tcp.over.current.http`*:: ++ +-- +Number of conflicting wildcard tcp listeners with current wildcard http listener. + + +type: integer + +-- + +*`istio.pilot.conflict.listener.outbound.tcp.over.current.tcp`*:: ++ +-- +Number of conflicting tcp listeners with current tcp listener. + + +type: integer + +-- + +*`istio.pilot.proxy.conv.ms.bucket.*`*:: ++ +-- +Time needed by Pilot to push Envoy configurations, histogram buckets in milliseconds. + + +type: object + +-- + +*`istio.pilot.proxy.conv.ms.sum`*:: ++ +-- +Time needed by Pilot to push Envoy configurations, histogram sum of times in milliseconds. + + +type: long + +-- + +*`istio.pilot.services`*:: ++ +-- +Total services known to pilot. + + +type: integer + +-- + +*`istio.pilot.virt.services`*:: ++ +-- +Total virtual services known to pilot. + + +type: integer + +-- + +*`istio.pilot.proxy.conv.ms.count`*:: ++ +-- +Time needed by Pilot to push Envoy configurations, histogram count of times. + + +type: long + +-- + +*`istio.pilot.no.ip`*:: ++ +-- +Pods not found in the endpoint table, possibly invalid. + + +type: object + +-- + +*`istio.pilot.cluster`*:: ++ +-- +The instance FQDN. + + +type: text + +-- + +*`istio.pilot.type`*:: ++ +-- +The Envoy proxy configuration type. + + +type: text + +-- + [[exported-fields-jolokia]] == Jolokia fields diff --git a/metricbeat/docs/modules/istio.asciidoc b/metricbeat/docs/modules/istio.asciidoc index 796e100032a..0a6a404a734 100644 --- a/metricbeat/docs/modules/istio.asciidoc +++ b/metricbeat/docs/modules/istio.asciidoc @@ -11,7 +11,7 @@ beta[] This is the Istio module. The Istio module collects metrics from the Istio https://istio.io/docs/tasks/observability/metrics/querying-metrics/#about-the-prometheus-add-on[prometheus exporters endpoints]. -The default metricsets are `mesh`, `mixer`. +The default metricsets are `mesh`, `mixer`, `pilot`. [float] === Compatibility @@ -41,6 +41,13 @@ metricbeat.modules: period: 10s # use istio-telemetry.istio-system:15014, when deploying Metricbeat in a kuberentes cluster as Pod or Daemonset hosts: ["localhost:15014"] + +# Istio pilot. To collect all Pilot-generated metrics. +- module: istio + metricsets: ["pilot"] + period: 10s + # use istio-pilot.istio-system:15014, when deploying Metricbeat in a kuberentes cluster as Pod or Daemonset + hosts: ["localhost:15014"] ---- [float] @@ -52,7 +59,11 @@ The following metricsets are available: * <> +* <> + include::istio/mesh.asciidoc[] include::istio/mixer.asciidoc[] +include::istio/pilot.asciidoc[] + diff --git a/metricbeat/docs/modules/istio/pilot.asciidoc b/metricbeat/docs/modules/istio/pilot.asciidoc new file mode 100644 index 00000000000..a1d0d245080 --- /dev/null +++ b/metricbeat/docs/modules/istio/pilot.asciidoc @@ -0,0 +1,23 @@ +//// +This file is generated! See scripts/mage/docs_collector.go +//// + +[[metricbeat-metricset-istio-pilot]] +=== istio pilot metricset + +beta[] + +include::../../../../x-pack/metricbeat/module/istio/pilot/_meta/docs.asciidoc[] + + +==== Fields + +For a description of each field in the metricset, see the +<> section. + +Here is an example document generated by this metricset: + +[source,json] +---- +include::../../../../x-pack/metricbeat/module/istio/pilot/_meta/data.json[] +---- diff --git a/metricbeat/docs/modules_list.asciidoc b/metricbeat/docs/modules_list.asciidoc index 966644c48fb..8303d7588bc 100644 --- a/metricbeat/docs/modules_list.asciidoc +++ b/metricbeat/docs/modules_list.asciidoc @@ -104,8 +104,9 @@ This file is generated! See scripts/mage/docs_collector.go |<> beta[] |image:./images/icon-yes.png[Prebuilt dashboards are available] | .1+| .1+| |<> beta[] |<> beta[] |image:./images/icon-no.png[No prebuilt dashboards] | -.2+| .2+| |<> beta[] +.3+| .3+| |<> beta[] |<> beta[] +|<> beta[] |<> |image:./images/icon-no.png[No prebuilt dashboards] | .1+| .1+| |<> |<> |image:./images/icon-yes.png[Prebuilt dashboards are available] | diff --git a/x-pack/metricbeat/include/list.go b/x-pack/metricbeat/include/list.go index d9ffd317c6f..e85f81e6f15 100644 --- a/x-pack/metricbeat/include/list.go +++ b/x-pack/metricbeat/include/list.go @@ -32,6 +32,7 @@ import ( _ "github.com/elastic/beats/x-pack/metricbeat/module/istio" _ "github.com/elastic/beats/x-pack/metricbeat/module/istio/mesh" _ "github.com/elastic/beats/x-pack/metricbeat/module/istio/mixer" + _ "github.com/elastic/beats/x-pack/metricbeat/module/istio/pilot" _ "github.com/elastic/beats/x-pack/metricbeat/module/mssql" _ "github.com/elastic/beats/x-pack/metricbeat/module/mssql/performance" _ "github.com/elastic/beats/x-pack/metricbeat/module/mssql/transaction_log" diff --git a/x-pack/metricbeat/metricbeat.reference.yml b/x-pack/metricbeat/metricbeat.reference.yml index 9e94fc905b2..aa22a82e6cb 100644 --- a/x-pack/metricbeat/metricbeat.reference.yml +++ b/x-pack/metricbeat/metricbeat.reference.yml @@ -552,6 +552,13 @@ metricbeat.modules: # use istio-telemetry.istio-system:15014, when deploying Metricbeat in a kuberentes cluster as Pod or Daemonset hosts: ["localhost:15014"] +# Istio pilot. To collect all Pilot-generated metrics. +- module: istio + metricsets: ["pilot"] + period: 10s + # use istio-pilot.istio-system:15014, when deploying Metricbeat in a kuberentes cluster as Pod or Daemonset + hosts: ["localhost:15014"] + #------------------------------- Jolokia Module ------------------------------- - module: jolokia #metricsets: ["jmx"] diff --git a/x-pack/metricbeat/module/istio/_meta/config.reference.yml b/x-pack/metricbeat/module/istio/_meta/config.reference.yml index 60c087484b4..57f5a9190ff 100644 --- a/x-pack/metricbeat/module/istio/_meta/config.reference.yml +++ b/x-pack/metricbeat/module/istio/_meta/config.reference.yml @@ -11,3 +11,10 @@ period: 10s # use istio-telemetry.istio-system:15014, when deploying Metricbeat in a kuberentes cluster as Pod or Daemonset hosts: ["localhost:15014"] + +# Istio pilot. To collect all Pilot-generated metrics. +- module: istio + metricsets: ["pilot"] + period: 10s + # use istio-pilot.istio-system:15014, when deploying Metricbeat in a kuberentes cluster as Pod or Daemonset + hosts: ["localhost:15014"] diff --git a/x-pack/metricbeat/module/istio/_meta/config.yml b/x-pack/metricbeat/module/istio/_meta/config.yml index 9e9f33d37e1..3179a94d061 100644 --- a/x-pack/metricbeat/module/istio/_meta/config.yml +++ b/x-pack/metricbeat/module/istio/_meta/config.yml @@ -11,3 +11,10 @@ period: 10s # use istio-telemetry.istio-system:15014, when deploying Metricbeat in a kuberentes cluster hosts: ["localhost:15014"] + +# Istio pilot. To collect all Pilot-generated metrics. +- module: istio + metricsets: ["pilot"] + period: 10s + # use istio-pilot.istio-system:15014, when deploying Metricbeat in a kuberentes cluster + hosts: ["localhost:15014"] diff --git a/x-pack/metricbeat/module/istio/_meta/docs.asciidoc b/x-pack/metricbeat/module/istio/_meta/docs.asciidoc index 7206ba40e3e..eda158d03f6 100644 --- a/x-pack/metricbeat/module/istio/_meta/docs.asciidoc +++ b/x-pack/metricbeat/module/istio/_meta/docs.asciidoc @@ -1,7 +1,7 @@ This is the Istio module. The Istio module collects metrics from the Istio https://istio.io/docs/tasks/observability/metrics/querying-metrics/#about-the-prometheus-add-on[prometheus exporters endpoints]. -The default metricsets are `mesh`, `mixer`. +The default metricsets are `mesh`, `mixer`, `pilot`. [float] === Compatibility diff --git a/x-pack/metricbeat/module/istio/fields.go b/x-pack/metricbeat/module/istio/fields.go index 21be91f98ad..e3c845676e8 100644 --- a/x-pack/metricbeat/module/istio/fields.go +++ b/x-pack/metricbeat/module/istio/fields.go @@ -19,5 +19,5 @@ func init() { // AssetIstio returns asset data. // This is the base64 encoded gzipped contents of module/istio. func AssetIstio() string { - return "eJzUmk9v2zgTxu/5FIMeX7T6ADm8wGIv20OBott7SlHjaBqK1A5Ju+6nX/CfrCiykihWkvWhiGWRz2+GD8kR1U9wh8drIOvIXAE4cgqv4UP8/uEKoEErmXpHRl/D/68AIN0LX0zjFV4BMCoUFq+hRieuAHaEqrHX8dZPoEWHp+7Dxx17vIZbNr7PV2Y0wudHbPUDpNFOkLZgnXDhmrTgWuHggIzAKBrYseng80hkDDEG6dC2w8U5lgWe8PlzhoVRCYcNOAOuxYQRhcAi70niqIdpsspnynsvedo6oe91c2J3+MtNfljAD5/vLULPpkPXorfzvRfpn6aeVb3D48Fw8yLhad9Fk/Efj9bZWWFl9O0zVY0TaugUWqEbhQ3URxA6j1XP5tdxiaVqPIsgUHW2qr28Q1f9b5bP1D9RTgckXbxZG8G3BAEFAlqyztyy6CCxhEGEjpQii9Loxj45Fuu7p6Z5Z7gT7nqgWBWDHZp/BOs7MLvhwvogpPF6mvIX5nrMqX1XIwfUWWdOySz9xqo+OnxDp/xNv/GhS56K/QxTrOOZCiywbDC2U5r7EmfAbG+0xf/e4D7kfsPRfQjzXoa3N+yQL7fVfcs9AjWoHe0IbawNilJYTdL35Hj47IAsWHShimjQOtJpraddbhR+j2WOiGUF8njzAqEbsMazxNkWUhFqN25RzWYidVEdDN8pI5oqXL1kAUB2mpGgELKR4YsyHFqSbSz92Kh0a4Z7MrjtxZmi6aL0UaYM6CSMRdieSUvqhdqWsUdkGLQKqGOx25EsLCMDHlrUqZHwrg1dyWxFC97ickyi77eNJidY9D3UwmIDRscvStSo1ozCHtk+LGcuTJ1FHuWbBR0tB28xM8er0XJGz4K+xUxch/0u5uQY6MUTc9zZ5rNznPTlKTo7PI9H8BazddlJjyLnQ4CqNXa+1LkI9xgyK0JQLGUX1QrDM1x46iUtTUf6dig/nhzD9qvOXBxB9XmMr73gzFA/4pCS+p6NM9Jsvd5kleW684+vn0930i78vacGm49gXIt8IDu0BMOhONMoY8yl1fwoDZW/NM38qKw41pmJsuhA0HkQamyR1iCy0DPaUBIbrY5hgfrr+/ev0KFjknY+ilO4lUXpmdyx6o0iedy44smzYLLoJ+nlAe2880LdOGXT5pHq/7xdxBvEXchW13ld+o2xYXygmDxGnNmWnAGv77Q56CQyaZVrHUs6/JsTV+il0No4qKNDe2QVful9PE89jcJweEu/7j2kbXh6G5QudXwbeqw62VdlkIS8u9jpZliJpgdUEASAUSLt01HnY49P0ugd3VaiEb1DrkjvTIXMhsMjevhpE9ykAKjjMzoyNtB4DhtTz0aiteHPbPCMBgEt45YjwCdHlK5tk/o0AbJcPMsM1NIzh1Um0yySOsdUe4eb8g0iKwjT0Tm/Qhqz0ksgs3v3QlEzd169mYNrlMJbLDHAiQAYnWeNTWq2GEZ5K/POZmHBesYMHCLZ3jZFao1v2Kv3luyA9IxEjyPohJPtNltMhmoovbRJL2KFhbCP94Itilot7zIRdHs3BJk1TnDY9aEkeGduKFjPcMQQyfbJLlJrEu61DdXYjrCpRCywb/LiuQlwksjO3QlSMesYCsBh36kxZN5rsRekzhu6IduHmYZ8MyqO7U2PfLMXTOiON864M6dJLw3kSyxSS2E0BoglX/FLBomi82GUPbOEX0llLE4fXS4DPaT49D84klpxfjIFOBba0nmLF+ZGYGf0Ja1dnHvfMXuEJAVsvCOdnC7glvY41H2Aek9sdIf6zKFKwQ6+8xxfI5J6jUxno0vGVIusy/aAHcfstdbEQ0sq2SQgD3GtC2EwucbDazlc40EdU+5XG33gZvSvODkZP/nVs/OSkPltRDwjTBNxVqUQ5FVvI4LS+78BAAD//wv4RSk=" + return "eJzUW81y47gRvvspuvaUpDx8AB9SldpJKnPYrcnOHFK5eCGwZWINAgzQkKx5+lTjh6JpirYl0nZ08Egkge/rH3Q3GpxPcI+HG1CelL0CIEUab+Cn+PunK4AavXSqI2XNDfz1CgDSs/CLrYPGKwCHGoXHG9ggiSuArUJd+5v46CcwosXj9PyhQ4c3cOds6PKVCQz+/B5H/Q7SGhLKePAkiK9JD9QIgj06BIeihq2zLXwZgAxJDIm06Jv+4hSXGT78+XmCi0MtCGsgC9RgohGBwKPbKYmDGcbKKp8x30fKM56EeTTNkTvhA41uzNDnz/cGoXO2RWow+OnZC/QfdjOJeo+HvXX1RcDjuQumw/8G9OQngbU1d69EtSR0Pyk0wtQaa9gcQJhsq87Zh8Mcl6oOTjBA1fpqE+Q9UvWXSX528wfKsUHSxdtzJfgtkYBCAhrlyd450ULiwkaEVmmtPEprav9iWXxoX6rmrXWtoJuexVky+H74NfjQgt32F84XQtpgxiq/UNdDnia0G3RMddIzx8y8+oHV5kD4jp7yTf3Ap17yUtqvcIrz+IwBZrisYNsxm8cQJ4j5zhqP/3/Gfcr7Ha37lMxHMW9nHaFbLtX9lmcEVaMhtVXoY21QkDiapN/J4+ELgfLgkbiKqNGTMinWq20exPdjmSNiWYFumLxAmBq8DU7i5AipFRoajqgmNZGmqPbW3Wsr6oqvLlkAKD/WCCOwNjL5ggz7Rskmln7O6vRoJvdi4r4TJ4qmRdlHmGLQkRizZDunjFSd0Oty7BAd9FiFKDmx3SpZuAwccN+gSYNEoIanktkVPQSP8zKJrltXmqxg0XWwER5rsCb+0GKD+hwr7ND5p+XMwqwzyLP8JokOwsF7rMxhNJrX6Emi77ESz6P9IdbkkNDFC3M42eqrc6j0+SU6aZ7nJXiP1TrvSc9Szk2AqrF+utRZhPeQZEYERixll9po5D0c73qVkbZV5q4vP14sw/pRZ0oORn0dx7cOOBOsn/GQovrOWbLSrh1vMsp83fm3r1+OT6otf9+pGutrsNSg2yvfjwTruDgzKKPMZdS0lfrKX9p62ipntHUmpCw4wDhPRI0jUgxSHjqHnktia/SBA9Q/v3//Ci2SU9JPS3EUt/Iog1N0qDqrlTysXPHkVTAK+gl63qBtoCD0LWmfkkeq/3O6iA+Ie9ZW2wZT5o2yYdxQjLYRJ9ISWQjm3ti9SSCjUbnW8crw36y4wl4KYyzBJnpoh07znS7EfurRCn3zVj082qSt2L1lpKXatzxj1cquKkYS8n6x7iZHonGDChgAHEpUu9TqfG77JK3ZqrtK1KIjdJUyW1uhc9bxFp1vrUI3IQCauEdHhzXUwXFi6pyV6D1/zQ6eqQFTy3RLC/DFEqVr66g+LYAMF3uZzFoG5zjKZDazTImc2gTCVfn1IGcwTK1z9wZqzEiXkMzeuxNa1VP96tU8eINSBI9FBjgyAIcUnME6DZsVo5zKfLBVWGi9YgX2kqzvNgXqHL9xQX80ZTOlVyh6KEErSDbrpJhMqlbp0CYdxAoPnMc74TyKjZ7PMpHo+t7AMOd4AmHbcUnwwbyh0HqFR/SSrK/sAnWOwoPxXI1tFdaViAX2bQ6eqxBOENlzt0LpqHXkArDPOxtkzQcjdkLp0w5dK9/xSkN3OyiO/W2H7nYnnEI63JKlE92kSwX5JRappTAaEoglX/GXTCSCTotRcmYRv5LaehxvXZYh3av4+AZHQiuen5wCyAnj1WkXL5xrga01S7p28dzHHrNDSFDgbCBlkqcLuFM77Os+QLNTzpoWzYmmSqHNfhdcPEZU+i00nR1dOky1yHna7mlHm71VTNw3Sic3Ycq9XOeJ0Du5wf1bebjBvT4k3Z/t6D1vh+ENF6fDT+Hs1bkkyXwaEXuEaSFOohQGOeqtxGA8e0HtlLb0Jh2KiLRQh+KhnjuJV4bw7oktn1HYzzwda0taUwLqw+dv5SD62EvzsSn9laWZdiUm1wXfnNgXX8aOKbXovbhDDx4NXYPwsEet+d8cimKIjpWY42fi1+HAJ9OzRLr21+D4j6x97KZhfaKxWCSsSLVYeZRLOW18840n5VSV36pKqgYS9+jZoxj4tWT5Zr/XmiQ7+f7LM3S/9Ls31h8K2YDUwRO6aBS7BS08RcIV/AedHe73mPXctrrXsbSG8IFycb+cS/06TmB/YsXbQP7PoIwiJSjW9azuwuEkU2bgjNCLs0wucQz4BQj+/flbIa5MCi6na3atJFVaeUITW2sbG8x0QrpQlQWMNZdhoOCe7tKP+NlAcWTVEHWV3aGrckSqSE6fhy5Ie690LYWrgdGP5GGvqOlLzf4hksdnLpCPv63i20PJ4onJSKAYOdOOkG9/g846er2lSI4MxQK9maWGRjhlqEfWvFy+N3DEGame97r0ypi0Zvcub0B/5xxmEOt0mpFTWE5efzc7e3jcFfHXz78j/RJBl3tX8iIJ8pvSnFBeKEauCxfPHGXe0vWxc6lipxxVazHhycNrGT227pIvn15kX1nK0WjhaerGVmo6RpxTa321derYbmNOzT07NHVnFQcEsdF4DZ31Xm30AZSJpxgn4lwq0ia5nfe/U/pThn/86/Ov06A8/YKIyULpVdpHdspds/8FAAD//9kkN0U=" } diff --git a/x-pack/metricbeat/module/istio/pilot/_meta/data.json b/x-pack/metricbeat/module/istio/pilot/_meta/data.json new file mode 100644 index 00000000000..46444b9e226 --- /dev/null +++ b/x-pack/metricbeat/module/istio/pilot/_meta/data.json @@ -0,0 +1,26 @@ +{ + "@timestamp": "2019-03-01T08:05:34.853Z", + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15031_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } +} diff --git a/x-pack/metricbeat/module/istio/pilot/_meta/docs.asciidoc b/x-pack/metricbeat/module/istio/pilot/_meta/docs.asciidoc new file mode 100644 index 00000000000..afbd3fddb20 --- /dev/null +++ b/x-pack/metricbeat/module/istio/pilot/_meta/docs.asciidoc @@ -0,0 +1 @@ +This is the pilot metricset of the module istio. This metricset collects all Pilot-generated metrics. diff --git a/x-pack/metricbeat/module/istio/pilot/_meta/fields.yml b/x-pack/metricbeat/module/istio/pilot/_meta/fields.yml new file mode 100644 index 00000000000..6830fb8643c --- /dev/null +++ b/x-pack/metricbeat/module/istio/pilot/_meta/fields.yml @@ -0,0 +1,84 @@ +- name: pilot + type: group + description: > + Contains statistics related to the Istio pilot service + release: beta + fields: + - name: xds.count + type: integer + description: > + Count of concurrent xDS client connections for Pilot. + - name: xds.pushes + type: integer + description: > + Count of xDS messages sent, as well as errors building or sending xDS messages + for lds, rds, cds and eds. + - name: xds.push.time.sec + type: long + description: > + Total time in seconds Pilot takes to push lds, rds, cds and eds. + - name: xds.eds.instances + type: object + description: > + Instances for each cluster, as of last push. Zero instances is an error. + - name: xds.push.context.errors + type: integer + description: > + Number of errors (timeouts) initiating push context. + - name: xds.internal.errors + type: integer + description: > + Total number of internal XDS errors in pilot. + - name: conflict.listener.inbound + type: integer + description: > + Number of conflicting inbound listeners. + - name: conflict.listener.outbound.http.over.current.tcp + type: integer + description: > + Number of conflicting wildcard http listeners with current wildcard tcp listener. + - name: conflict.listener.outbound.http.over.https + type: integer + description: > + Number of conflicting HTTP listeners with well known HTTPS ports. + - name: conflict.listener.outbound.tcp.over.current.http + type: integer + description: > + Number of conflicting wildcard tcp listeners with current wildcard http listener. + - name: conflict.listener.outbound.tcp.over.current.tcp + type: integer + description: > + Number of conflicting tcp listeners with current tcp listener. + - name: proxy.conv.ms.bucket.* + type: object + object_type: long + description: > + Time needed by Pilot to push Envoy configurations, histogram buckets in milliseconds. + - name: proxy.conv.ms.sum + type: long + description: > + Time needed by Pilot to push Envoy configurations, histogram sum of times in milliseconds. + - name: services + type: integer + description: > + Total services known to pilot. + - name: virt.services + type: integer + description: > + Total virtual services known to pilot. + - name: proxy.conv.ms.count + type: long + description: > + Time needed by Pilot to push Envoy configurations, histogram count of times. + - name: no.ip + type: object + description: > + Pods not found in the endpoint table, possibly invalid. + - name: cluster + type: text + description: > + The instance FQDN. + - name: type + type: text + description: > + The Envoy proxy configuration type. \ No newline at end of file diff --git a/x-pack/metricbeat/module/istio/pilot/_meta/testdata/config.yml b/x-pack/metricbeat/module/istio/pilot/_meta/testdata/config.yml new file mode 100644 index 00000000000..ab6bf241654 --- /dev/null +++ b/x-pack/metricbeat/module/istio/pilot/_meta/testdata/config.yml @@ -0,0 +1,3 @@ +type: http +url: "/metrics" +suffix: plain diff --git a/x-pack/metricbeat/module/istio/pilot/_meta/testdata/docs.plain b/x-pack/metricbeat/module/istio/pilot/_meta/testdata/docs.plain new file mode 100644 index 00000000000..78a99d0154e --- /dev/null +++ b/x-pack/metricbeat/module/istio/pilot/_meta/testdata/docs.plain @@ -0,0 +1,335 @@ +# HELP endpoint_no_pod Endpoints without an associated pod. +# TYPE endpoint_no_pod gauge +endpoint_no_pod 0 +# HELP go_gc_duration_seconds A summary of the GC invocation durations. +# TYPE go_gc_duration_seconds summary +go_gc_duration_seconds{quantile="0"} 5.984e-05 +go_gc_duration_seconds{quantile="0.25"} 0.000155621 +go_gc_duration_seconds{quantile="0.5"} 0.000403166 +go_gc_duration_seconds{quantile="0.75"} 0.088281143 +go_gc_duration_seconds{quantile="1"} 0.289008297 +go_gc_duration_seconds_sum 16.146093959 +go_gc_duration_seconds_count 377 +# HELP go_goroutines Number of goroutines that currently exist. +# TYPE go_goroutines gauge +go_goroutines 145 +# HELP go_info Information about the Go environment. +# TYPE go_info gauge +go_info{version="go1.10.4"} 1 +# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use. +# TYPE go_memstats_alloc_bytes gauge +go_memstats_alloc_bytes 9.312208e+06 +# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed. +# TYPE go_memstats_alloc_bytes_total counter +go_memstats_alloc_bytes_total 2.788295928e+09 +# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table. +# TYPE go_memstats_buck_hash_sys_bytes gauge +go_memstats_buck_hash_sys_bytes 2.186316e+06 +# HELP go_memstats_frees_total Total number of frees. +# TYPE go_memstats_frees_total counter +go_memstats_frees_total 3.1980158e+07 +# HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started. +# TYPE go_memstats_gc_cpu_fraction gauge +go_memstats_gc_cpu_fraction 0.0012551863919405206 +# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata. +# TYPE go_memstats_gc_sys_bytes gauge +go_memstats_gc_sys_bytes 1.978368e+06 +# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use. +# TYPE go_memstats_heap_alloc_bytes gauge +go_memstats_heap_alloc_bytes 9.312208e+06 +# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used. +# TYPE go_memstats_heap_idle_bytes gauge +go_memstats_heap_idle_bytes 2.7598848e+07 +# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use. +# TYPE go_memstats_heap_inuse_bytes gauge +go_memstats_heap_inuse_bytes 1.8997248e+07 +# HELP go_memstats_heap_objects Number of allocated objects. +# TYPE go_memstats_heap_objects gauge +go_memstats_heap_objects 68864 +# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS. +# TYPE go_memstats_heap_released_bytes gauge +go_memstats_heap_released_bytes 0 +# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system. +# TYPE go_memstats_heap_sys_bytes gauge +go_memstats_heap_sys_bytes 4.6596096e+07 +# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection. +# TYPE go_memstats_last_gc_time_seconds gauge +go_memstats_last_gc_time_seconds 1.57964879027918e+09 +# HELP go_memstats_lookups_total Total number of pointer lookups. +# TYPE go_memstats_lookups_total counter +go_memstats_lookups_total 15416 +# HELP go_memstats_mallocs_total Total number of mallocs. +# TYPE go_memstats_mallocs_total counter +go_memstats_mallocs_total 3.2049022e+07 +# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures. +# TYPE go_memstats_mcache_inuse_bytes gauge +go_memstats_mcache_inuse_bytes 6944 +# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system. +# TYPE go_memstats_mcache_sys_bytes gauge +go_memstats_mcache_sys_bytes 16384 +# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures. +# TYPE go_memstats_mspan_inuse_bytes gauge +go_memstats_mspan_inuse_bytes 377112 +# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system. +# TYPE go_memstats_mspan_sys_bytes gauge +go_memstats_mspan_sys_bytes 737280 +# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place. +# TYPE go_memstats_next_gc_bytes gauge +go_memstats_next_gc_bytes 1.8021456e+07 +# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations. +# TYPE go_memstats_other_sys_bytes gauge +go_memstats_other_sys_bytes 896172 +# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator. +# TYPE go_memstats_stack_inuse_bytes gauge +go_memstats_stack_inuse_bytes 1.6384e+06 +# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator. +# TYPE go_memstats_stack_sys_bytes gauge +go_memstats_stack_sys_bytes 1.6384e+06 +# HELP go_memstats_sys_bytes Number of bytes obtained from system. +# TYPE go_memstats_sys_bytes gauge +go_memstats_sys_bytes 5.4049016e+07 +# HELP go_threads Number of OS threads created. +# TYPE go_threads gauge +go_threads 17 +# HELP istio_build Istio component build info +# TYPE istio_build gauge +istio_build{component="pilot",tag="1.1.5-11-g04850e1"} 1 +# HELP pilot_conflict_inbound_listener Number of conflicting inbound listeners. +# TYPE pilot_conflict_inbound_listener gauge +pilot_conflict_inbound_listener 0 +# HELP pilot_conflict_outbound_listener_http_over_current_tcp Number of conflicting wildcard http listeners with current wildcard tcp listener. +# TYPE pilot_conflict_outbound_listener_http_over_current_tcp gauge +pilot_conflict_outbound_listener_http_over_current_tcp 0 +# HELP pilot_conflict_outbound_listener_tcp_over_current_http Number of conflicting wildcard tcp listeners with current wildcard http listener. +# TYPE pilot_conflict_outbound_listener_tcp_over_current_http gauge +pilot_conflict_outbound_listener_tcp_over_current_http 0 +# HELP pilot_conflict_outbound_listener_tcp_over_current_tcp Number of conflicting tcp listeners with current tcp listener. +# TYPE pilot_conflict_outbound_listener_tcp_over_current_tcp gauge +pilot_conflict_outbound_listener_tcp_over_current_tcp 0 +# HELP pilot_destrule_subsets Duplicate subsets across destination rules for same host +# TYPE pilot_destrule_subsets gauge +pilot_destrule_subsets 0 +# HELP pilot_duplicate_envoy_clusters Duplicate envoy clusters caused by service entries with same hostname +# TYPE pilot_duplicate_envoy_clusters gauge +pilot_duplicate_envoy_clusters 0 +# HELP pilot_eds_no_instances Number of clusters without instances. +# TYPE pilot_eds_no_instances gauge +pilot_eds_no_instances 0 +# HELP pilot_endpoint_not_ready Endpoint found in unready state. +# TYPE pilot_endpoint_not_ready gauge +pilot_endpoint_not_ready 0 +# HELP pilot_info Pilot version and build information. +# TYPE pilot_info gauge +pilot_info{version="root@1844d064-72cc-11e9-a0d5-0a580a2c0304-docker.io/istio-1.1.6-04850e14d38a69a38c16c800e237b1108056513e-dirty-Modified"} 1 +# HELP pilot_invalid_out_listeners Number of invalid outbound listeners. +# TYPE pilot_invalid_out_listeners gauge +pilot_invalid_out_listeners 0 +# HELP pilot_k8s_reg_events Events from k8s registry. +# TYPE pilot_k8s_reg_events counter +pilot_k8s_reg_events{event="add",type="Endpoints"} 30 +pilot_k8s_reg_events{event="add",type="Nodes"} 1 +pilot_k8s_reg_events{event="add",type="Pod"} 41 +pilot_k8s_reg_events{event="add",type="Services"} 28 +pilot_k8s_reg_events{event="delete",type="Endpoints"} 1 +pilot_k8s_reg_events{event="delete",type="Pod"} 5 +pilot_k8s_reg_events{event="delete",type="Services"} 1 +pilot_k8s_reg_events{event="update",type="Endpoints"} 46 +pilot_k8s_reg_events{event="update",type="Nodes"} 409 +pilot_k8s_reg_events{event="update",type="Pod"} 169 +pilot_k8s_reg_events{event="update",type="Services"} 1 +pilot_k8s_reg_events{event="updateSame",type="Endpoints"} 35043 +pilot_k8s_reg_events{event="updateSame",type="Nodes"} 410 +pilot_k8s_reg_events{event="updateSame",type="Pod"} 12944 +pilot_k8s_reg_events{event="updateSame",type="Services"} 9729 +# HELP pilot_mcp_sink_reconnections The number of times the sink has reconnected. +# TYPE pilot_mcp_sink_reconnections counter +pilot_mcp_sink_reconnections 5 +# HELP pilot_mcp_sink_recv_failures_total The number of recv failures in the source. +# TYPE pilot_mcp_sink_recv_failures_total counter +pilot_mcp_sink_recv_failures_total{code="14",error="rpc error: code = Unavailable desc = transport is closing"} 8 +# HELP pilot_mcp_sink_request_acks_total The number of request acks received by the source. +# TYPE pilot_mcp_sink_request_acks_total counter +pilot_mcp_sink_request_acks_total{collection="istio/authentication/v1alpha1/meshpolicies",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/authentication/v1alpha1/policies",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/config/v1alpha2/httpapispecbindings",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/config/v1alpha2/httpapispecs",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/mixer/v1/config/client/quotaspecbindings",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/mixer/v1/config/client/quotaspecs",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/networking/v1alpha3/destinationrules",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/networking/v1alpha3/envoyfilters",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/networking/v1alpha3/gateways",connectionID="0"} 6 +pilot_mcp_sink_request_acks_total{collection="istio/networking/v1alpha3/serviceentries",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/networking/v1alpha3/sidecars",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/networking/v1alpha3/virtualservices",connectionID="0"} 6 +pilot_mcp_sink_request_acks_total{collection="istio/rbac/v1alpha1/clusterrbacconfigs",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/rbac/v1alpha1/rbacconfigs",connectionID="0"} 5 +pilot_mcp_sink_request_acks_total{collection="istio/rbac/v1alpha1/servicerolebindings",connectionID="0"} 7 +pilot_mcp_sink_request_acks_total{collection="istio/rbac/v1alpha1/serviceroles",connectionID="0"} 7 +# HELP pilot_no_ip Pods not found in the endpoint table, possibly invalid. +# TYPE pilot_no_ip gauge +pilot_no_ip 0 +# HELP pilot_proxy_convergence_time Delay between config change and all proxies converging. +# TYPE pilot_proxy_convergence_time histogram +pilot_proxy_convergence_time_bucket{le="1"} 9 +pilot_proxy_convergence_time_bucket{le="3"} 13 +pilot_proxy_convergence_time_bucket{le="5"} 24 +pilot_proxy_convergence_time_bucket{le="10"} 27 +pilot_proxy_convergence_time_bucket{le="20"} 29 +pilot_proxy_convergence_time_bucket{le="30"} 29 +pilot_proxy_convergence_time_bucket{le="50"} 29 +pilot_proxy_convergence_time_bucket{le="100"} 29 +pilot_proxy_convergence_time_bucket{le="+Inf"} 29 +pilot_proxy_convergence_time_sum 103.05756475999998 +pilot_proxy_convergence_time_count 29 +# HELP pilot_rds_expired_nonce Total number of RDS messages with an expired nonce. +# TYPE pilot_rds_expired_nonce counter +pilot_rds_expired_nonce 27 +# HELP pilot_services Total services known to pilot. +# TYPE pilot_services gauge +pilot_services 27 +# HELP pilot_total_xds_internal_errors Total number of internal XDS errors in pilot (check logs). +# TYPE pilot_total_xds_internal_errors counter +pilot_total_xds_internal_errors 0 +# HELP pilot_total_xds_rejects Total number of XDS responses from pilot rejected by proxy. +# TYPE pilot_total_xds_rejects counter +pilot_total_xds_rejects 0 +# HELP pilot_virt_services Total virtual services known to pilot. +# TYPE pilot_virt_services gauge +pilot_virt_services 0 +# HELP pilot_vservice_dup_domain Virtual services with dup domains. +# TYPE pilot_vservice_dup_domain gauge +pilot_vservice_dup_domain 0 +# HELP pilot_xds Number of endpoints connected to this pilot using XDS. +# TYPE pilot_xds gauge +pilot_xds 12 +# HELP pilot_xds_eds_instances Instances for each cluster, as of last push. Zero instances is an error. +# TYPE pilot_xds_eds_instances gauge +pilot_xds_eds_instances{cluster="outbound_.14267_._.jaeger-collector.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.14268_._.jaeger-collector.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15004_._.istio-policy.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15004_._.istio-telemetry.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15010_._.istio-pilot.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15011_._.istio-pilot.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15014_._.istio-citadel.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15014_._.istio-galley.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15014_._.istio-pilot.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15014_._.istio-policy.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15014_._.istio-telemetry.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15020_._.istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15029_._.istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15030_._.istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15031_._.istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15032_._.istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15443_._.istio-egressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.15443_._.istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.16686_._.jaeger-query.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.20001_._.kiali.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.3000_._.grafana.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.31400_._.istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.42422_._.istio-telemetry.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.443_._.istio-egressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.443_._.istio-galley.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.443_._.istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.443_._.istio-sidecar-injector.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.443_._.kubernetes.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.53_._.kube-dns.kube-system.svc.cluster.local"} 2 +pilot_xds_eds_instances{cluster="outbound_.5432_._.postgresql.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.8060_._.istio-citadel.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.8080_._.istio-pilot.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.80_._.default-http-backend.kube-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.80_._.httpbin.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.80_._.istio-egressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.80_._.istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.80_._.tracing.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.9080_._.details.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.9080_._.productpage.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.9080_._.ratings.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.9080_._.reviews.default.svc.cluster.local"} 3 +pilot_xds_eds_instances{cluster="outbound_.9090_._.prometheus.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.9091_._.istio-policy.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.9091_._.istio-telemetry.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.9153_._.kube-dns.kube-system.svc.cluster.local"} 2 +pilot_xds_eds_instances{cluster="outbound_.9411_._.zipkin.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound_.9901_._.istio-galley.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|14267||jaeger-collector.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|14268||jaeger-collector.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15004||istio-policy.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15004||istio-telemetry.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15010||istio-pilot.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15011||istio-pilot.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15014||istio-citadel.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15014||istio-galley.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15014||istio-pilot.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15014||istio-policy.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15014||istio-telemetry.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15020||istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15029||istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15030||istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15031||istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15032||istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15443||istio-egressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|15443||istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|16686||jaeger-query.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|20001||kiali.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|3000||grafana.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|31400||istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|42422||istio-telemetry.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|443||istio-egressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|443||istio-galley.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|443||istio-ingressgateway.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|443||istio-sidecar-injector.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|443||kubernetes.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|80||tracing.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|9080||details.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|9080||productpage.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|9080||ratings.default.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|9080||reviews.default.svc.cluster.local"} 3 +pilot_xds_eds_instances{cluster="outbound|9090||prometheus.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|9091||istio-policy.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|9091||istio-telemetry.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|9153||kube-dns.kube-system.svc.cluster.local"} 2 +pilot_xds_eds_instances{cluster="outbound|9411||zipkin.istio-system.svc.cluster.local"} 1 +pilot_xds_eds_instances{cluster="outbound|9901||istio-galley.istio-system.svc.cluster.local"} 1 +# HELP pilot_xds_push_context_errors Number of errors (timeouts) initiating push context. +# TYPE pilot_xds_push_context_errors counter +pilot_xds_push_context_errors 0 +# HELP pilot_xds_push_errors Number of errors (timeouts) pushing to sidecars. +# TYPE pilot_xds_push_errors counter +pilot_xds_push_errors{type="retry"} 10 +# HELP pilot_xds_push_timeout Pilot push timeout, will retry. +# TYPE pilot_xds_push_timeout counter +pilot_xds_push_timeout 15 +# HELP pilot_xds_push_timeout_failures Pilot push timeout failures after repeated attempts. +# TYPE pilot_xds_push_timeout_failures counter +pilot_xds_push_timeout_failures 0 +# HELP pilot_xds_pushes Pilot build and send errors for lds, rds, cds and eds. +# TYPE pilot_xds_pushes counter +pilot_xds_pushes{type="cds"} 250 +pilot_xds_pushes{type="eds"} 309 +pilot_xds_pushes{type="lds"} 248 +pilot_xds_pushes{type="lds_senderr"} 2 +pilot_xds_pushes{type="rds"} 181 +# HELP pilot_xds_write_timeout Pilot XDS response write timeouts. +# TYPE pilot_xds_write_timeout counter +pilot_xds_write_timeout 0 +# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds. +# TYPE process_cpu_seconds_total counter +process_cpu_seconds_total 103.12 +# HELP process_max_fds Maximum number of open file descriptors. +# TYPE process_max_fds gauge +process_max_fds 1.048576e+06 +# HELP process_open_fds Number of open file descriptors. +# TYPE process_open_fds gauge +process_open_fds 29 +# HELP process_resident_memory_bytes Resident memory size in bytes. +# TYPE process_resident_memory_bytes gauge +process_resident_memory_bytes 8.0949248e+07 +# HELP process_start_time_seconds Start time of the process since unix epoch in seconds. +# TYPE process_start_time_seconds gauge +process_start_time_seconds 1.57962419182e+09 +# HELP process_virtual_memory_bytes Virtual memory size in bytes. +# TYPE process_virtual_memory_bytes gauge +process_virtual_memory_bytes 9.4363648e+07 +# HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes. +# TYPE process_virtual_memory_max_bytes gauge +process_virtual_memory_max_bytes -1 diff --git a/x-pack/metricbeat/module/istio/pilot/_meta/testdata/docs.plain-expected.json b/x-pack/metricbeat/module/istio/pilot/_meta/testdata/docs.plain-expected.json new file mode 100644 index 00000000000..1e5b26bc30a --- /dev/null +++ b/x-pack/metricbeat/module/istio/pilot/_meta/testdata/docs.plain-expected.json @@ -0,0 +1,2345 @@ +[ + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15031_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15004||istio-policy.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15032||istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15014_._.istio-policy.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9153_._.kube-dns.kube-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 2 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|31400||istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|14267||jaeger-collector.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15014_._.istio-galley.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15014||istio-citadel.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15010_._.istio-pilot.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15443||istio-egressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15014_._.istio-citadel.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9091||istio-telemetry.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.3000_._.grafana.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15004_._.istio-telemetry.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15014_._.istio-pilot.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9901_._.istio-galley.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9091_._.istio-policy.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|443||kubernetes.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9090||prometheus.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.443_._.istio-galley.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15020||istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15014||istio-policy.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9080||reviews.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 3 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15011||istio-pilot.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|443||istio-egressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|16686||jaeger-query.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15443_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.31400_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9080_._.reviews.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 3 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|20001||kiali.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9411_._.zipkin.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.20001_._.kiali.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.8080_._.istio-pilot.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.443_._.kubernetes.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "type": "lds_senderr", + "xds": { + "pushes": 2 + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15029||istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.42422_._.istio-telemetry.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|443||istio-sidecar-injector.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|443||istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15011_._.istio-pilot.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|3000||grafana.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "type": "lds", + "xds": { + "pushes": 248 + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9080_._.ratings.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9080_._.details.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15010||istio-pilot.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "type": "eds", + "xds": { + "pushes": 309 + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|42422||istio-telemetry.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.8060_._.istio-citadel.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.80_._.istio-egressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.14267_._.jaeger-collector.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9153||kube-dns.kube-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 2 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.443_._.istio-sidecar-injector.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9080||ratings.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "conflict": { + "listener": { + "inbound": 0, + "outbound": { + "http": { + "over": { + "current": { + "tcp": 0 + } + } + }, + "tcp": { + "over": { + "current": { + "http": 0, + "tcp": 0 + } + } + } + } + } + }, + "no": { + "ip": 0 + }, + "proxy": { + "conv": { + "ms": { + "bucket": { + "+Inf": 29, + "1000": 9, + "10000": 27, + "100000": 29, + "20000": 29, + "3000": 13, + "30000": 29, + "5000": 24, + "50000": 29 + }, + "count": 29, + "sum": 103057.56475999998 + } + } + }, + "services": 27, + "virt": { + "services": 0 + }, + "xds": { + "count": 12, + "internal": { + "errors": 0 + }, + "push": { + "context": { + "errors": 0 + } + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15014||istio-telemetry.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|80||tracing.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9411||zipkin.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.16686_._.jaeger-query.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9090_._.prometheus.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15014||istio-galley.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9080_._.productpage.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9080||productpage.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.80_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15443_._.istio-egressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15032_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.14268_._.jaeger-collector.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "type": "rds", + "xds": { + "pushes": 181 + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15014_._.istio-telemetry.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.80_._.httpbin.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|443||istio-galley.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15443||istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.443_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "type": "cds", + "xds": { + "pushes": 250 + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15004_._.istio-policy.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15020_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15031||istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15030||istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9901||istio-galley.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9091||istio-policy.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.53_._.kube-dns.kube-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 2 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|9080||details.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15029_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.15030_._.istio-ingressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.443_._.istio-egressgateway.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.80_._.default-http-backend.kube-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.80_._.tracing.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|14268||jaeger-collector.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.9091_._.istio-telemetry.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound_.5432_._.postgresql.default.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15014||istio-pilot.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + }, + { + "event": { + "dataset": "istio.pilot", + "duration": 115000, + "module": "istio" + }, + "istio": { + "pilot": { + "cluster": "outbound|15004||istio-telemetry.istio-system.svc.cluster.local", + "xds": { + "eds": { + "instances": 1 + } + } + } + }, + "metricset": { + "name": "pilot", + "period": 10000 + }, + "service": { + "address": "127.0.0.1:55555", + "type": "istio" + } + } +] \ No newline at end of file diff --git a/x-pack/metricbeat/module/istio/pilot/pilot.go b/x-pack/metricbeat/module/istio/pilot/pilot.go new file mode 100644 index 00000000000..ddde1d7c94d --- /dev/null +++ b/x-pack/metricbeat/module/istio/pilot/pilot.go @@ -0,0 +1,54 @@ +// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one +// or more contributor license agreements. Licensed under the Elastic License; +// you may not use this file except in compliance with the Elastic License. + +package pilot + +import ( + "github.com/elastic/beats/metricbeat/helper/prometheus" + "github.com/elastic/beats/metricbeat/mb" + "github.com/elastic/beats/metricbeat/mb/parse" +) + +const ( + defaultScheme = "http" + defaultPath = "/metrics" +) + +var ( + hostParser = parse.URLHostParserBuilder{ + DefaultScheme: defaultScheme, + DefaultPath: defaultPath, + }.Build() +) + +var mapping = &prometheus.MetricsMapping{ + Metrics: map[string]prometheus.MetricMap{ + "pilot_xds": prometheus.Metric("xds.count"), + "pilot_xds_pushes": prometheus.Metric("xds.pushes"), + "pilot_xds_push_time": prometheus.Metric("xds.push.time.sec"), + "pilot_xds_eds_instances": prometheus.Metric("xds.eds.instances"), + "pilot_xds_push_context_errors": prometheus.Metric("xds.push.context.errors"), + "pilot_total_xds_internal_errors": prometheus.Metric("xds.internal.errors"), + "pilot_conflict_inbound_listener": prometheus.Metric("conflict.listener.inbound"), + "pilot_conflict_outbound_listener_http_over_current_tcp": prometheus.Metric("conflict.listener.outbound.http.over.current.tcp"), + "pilot_conflict_outbound_listener_http_over_https": prometheus.Metric("conflict.listener.outbound.http.over.https"), + "pilot_conflict_outbound_listener_tcp_over_current_http": prometheus.Metric("conflict.listener.outbound.tcp.over.current.http"), + "pilot_conflict_outbound_listener_tcp_over_current_tcp": prometheus.Metric("conflict.listener.outbound.tcp.over.current.tcp"), + "pilot_services": prometheus.Metric("services"), + "pilot_virt_services": prometheus.Metric("virt.services"), + "pilot_no_ip": prometheus.Metric("no.ip"), + "pilot_proxy_convergence_time": prometheus.Metric("proxy.conv.ms", prometheus.OpMultiplyBuckets(1000)), + }, + + Labels: map[string]prometheus.LabelMap{ + "cluster": prometheus.KeyLabel("cluster"), + "type": prometheus.KeyLabel("type"), + }, +} + +func init() { + mb.Registry.MustAddMetricSet("istio", "pilot", + prometheus.MetricSetBuilder(mapping), + mb.WithHostParser(hostParser)) +} diff --git a/x-pack/metricbeat/module/istio/pilot/pilot_test.go b/x-pack/metricbeat/module/istio/pilot/pilot_test.go new file mode 100644 index 00000000000..748360fdac3 --- /dev/null +++ b/x-pack/metricbeat/module/istio/pilot/pilot_test.go @@ -0,0 +1,19 @@ +// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one +// or more contributor license agreements. Licensed under the Elastic License; +// you may not use this file except in compliance with the Elastic License. + +// +build !integration + +package pilot + +import ( + "testing" + + mbtest "github.com/elastic/beats/metricbeat/mb/testing" + + _ "github.com/elastic/beats/x-pack/metricbeat/module/istio" +) + +func TestData(t *testing.T) { + mbtest.TestDataFiles(t, "istio", "pilot") +} diff --git a/x-pack/metricbeat/modules.d/istio.yml.disabled b/x-pack/metricbeat/modules.d/istio.yml.disabled index 6a87b3428e5..b4863d730f6 100644 --- a/x-pack/metricbeat/modules.d/istio.yml.disabled +++ b/x-pack/metricbeat/modules.d/istio.yml.disabled @@ -14,3 +14,10 @@ period: 10s # use istio-telemetry.istio-system:15014, when deploying Metricbeat in a kuberentes cluster hosts: ["localhost:15014"] + +# Istio pilot. To collect all Pilot-generated metrics. +- module: istio + metricsets: ["pilot"] + period: 10s + # use istio-pilot.istio-system:15014, when deploying Metricbeat in a kuberentes cluster + hosts: ["localhost:15014"]