-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add citadel metricset for Istio Metricbeat module (#15990)
- Loading branch information
Showing
20 changed files
with
682 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-metricset-istio-citadel]] | ||
=== istio citadel metricset | ||
|
||
beta[] | ||
|
||
include::../../../../x-pack/metricbeat/module/istio/citadel/_meta/docs.asciidoc[] | ||
|
||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-istio,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../../x-pack/metricbeat/module/istio/citadel/_meta/data.json[] | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"@timestamp": "2019-03-01T08:05:34.853Z", | ||
"event": { | ||
"dataset": "istio.citadel", | ||
"duration": 115000, | ||
"module": "istio" | ||
}, | ||
"istio": { | ||
"citadel": { | ||
"secret_controller_svc_acc_created_cert": { | ||
"count": 58 | ||
}, | ||
"server_root_cert_expiry_seconds": 1894287345 | ||
} | ||
}, | ||
"metricset": { | ||
"name": "citadel", | ||
"period": 10000 | ||
}, | ||
"service": { | ||
"address": "127.0.0.1:55555", | ||
"type": "istio" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is the citadel metricset of the module istio. This metricset collects Citadel-specific metrics. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
- name: citadel | ||
type: group | ||
description: > | ||
Contains statistics related to the Istio Citadel service | ||
release: beta | ||
fields: | ||
- name: grpc.method | ||
type: keyword | ||
description: > | ||
The grpc method | ||
- name: grpc.service | ||
type: keyword | ||
description: > | ||
The grpc service | ||
- name: grpc.type | ||
type: keyword | ||
description: > | ||
The type of the respective grpc service | ||
- name: secret_controller_svc_acc_created_cert.count | ||
type: long | ||
description: > | ||
The number of certificates created due to service account creation. | ||
- name: server_root_cert_expiry_seconds | ||
type: float | ||
description: > | ||
The unix timestamp, in seconds, when Citadel root cert will expire. We set it to negative in case of internal error. | ||
- name: grpc.server.handled | ||
type: long | ||
description: > | ||
Total number of RPCs completed on the server, regardless of success or failure. | ||
- name: grpc.server.msg.received | ||
type: long | ||
description: > | ||
Total number of RPC stream messages received on the server. | ||
- name: grpc.server.msg.sent | ||
type: long | ||
description: > | ||
Total number of gRPC stream messages sent by the server. | ||
- name: grpc.server.started | ||
type: long | ||
description: > | ||
Total number of RPCs started on the server. | ||
- name: grpc.server.handling.latency.ms.bucket.* | ||
type: object | ||
object_type: long | ||
description: > | ||
The response latency (milliseconds) of gRPC that had been application-level handled by the server. | ||
- name: grpc.server.handling.latency.ms.sum | ||
type: long | ||
format: duration | ||
description: > | ||
The response latency of gRPC, sum of latencies in milliseconds | ||
- name: grpc.server.handling.latency.ms.count | ||
type: long | ||
description: > | ||
The response latency of gRPC, number of metrics | ||
3 changes: 3 additions & 0 deletions
3
x-pack/metricbeat/module/istio/citadel/_meta/testdata/config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
type: http | ||
url: "/metrics" | ||
suffix: plain |
Oops, something went wrong.