-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update "Metrics" Plugins #7188
docs: update "Metrics" Plugins #7188
Conversation
Signed-off-by: Navendu Pottekkat <navendupottekkat@gmail.com>
Signed-off-by: Navendu Pottekkat <navendupottekkat@gmail.com>
…ub.com/navendu-pottekkat/apisix into docs/plugin-observability-metrics/6734
// @hf400159 @kwanhur @avinal @yzeng25 @juzhiyuan Please review when you are available. |
docs/en/latest/plugins/datadog.md
Outdated
@@ -23,62 +29,93 @@ title: datadog | |||
|
|||
## Description | |||
|
|||
`datadog` is a monitoring plugin built into Apache APISIX for seamless integration with [Datadog](https://www.datadoghq.com/), one of the most used monitoring and observability platform for cloud applications. If enabled, this plugin supports multiple powerful types of metrics capture for every request and response cycle that essentially reflects the behaviour and health of the system. | |||
The `datadog` monitoring Plugin if for seamless integration of APISIX with [Datadog](https://www.datadoghq.com/), one of the most used monitoring and observability platform for cloud applications. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The `datadog` monitoring Plugin if for seamless integration of APISIX with [Datadog](https://www.datadoghq.com/), one of the most used monitoring and observability platform for cloud applications. | |
The `datadog` monitoring Plugin is for seamless integration of APISIX with [Datadog](https://www.datadoghq.com/), one of the most used monitoring and observability platform for cloud applications. |
docs/en/latest/plugins/datadog.md
Outdated
|
||
For more info on Batch-Processor in Apache APISIX please refer. | ||
[Batch-Processor](../batch-processor.md) | ||
DogStatsD is basically an implementation of the StatsD protocol which collects the custom metrics for Apache APISIX agent, aggregates it into a single data point, and sends it to the configured Datadog server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DogStatsD is basically an implementation of the StatsD protocol which collects the custom metrics for Apache APISIX agent, aggregates it into a single data point, and sends it to the configured Datadog server. | |
DogStatsD implements the StatsD protocol which collects the custom metrics for the Apache APISIX agent, aggregates them into a single data point, and sends it to the configured Datadog server. |
docs/en/latest/plugins/datadog.md
Outdated
|
||
Apache APISIX agent, for every request response cycle, export the following metrics to DogStatsD server if the datadog plugin is enabled: | ||
When the `datadog` Plugin is enabled, APISIX agent exports the following metrics to the DogStatsD server for each request/response cycle: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the `datadog` Plugin is enabled, APISIX agent exports the following metrics to the DogStatsD server for each request/response cycle: | |
When the `datadog` Plugin is enabled, the APISIX agent exports the following metrics to the DogStatsD server for each request/response cycle: |
- `route_name`: Name specified in the Route schema definition. If not present or if the attribute `prefer_name` is set to false, falls back to the Route ID. | ||
- `service_name`: If a Route has been created with an abstracted Service, the Service name/ID based on the attribute `prefer_name`. | ||
- `consumer`: If the Route is linked to a Consumer, the username will be added as a tag. | ||
- `balancer_ip`: IP address of the Upstream balancer that processed the current request. | ||
- `response_status`: HTTP response status code. | ||
- `scheme`: Request scheme such as HTTP, gRPC, and gRPCs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it would be nice to put these into a tabular form. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are following this structure without tables in some other places as well. So, we can keep it as it is now.
IIRC we agreed upon using |
docs/en/latest/plugins/datadog.md
Outdated
| prefer_name | boolean | optional | true | true/false | If set to `false`, would use route/service id instead of name(default) with metric tags. | | ||
| Name | Type | Required | Default | Valid values | Description | | ||
| ----------- | ------- | -------- | ------- | ------------ | ---------------------------------------------------------------------------------------- | | ||
| prefer_name | boolean | False | true | true/false | When set to `false`, uses Route/Service ID instead of name (default) with metric tags. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| prefer_name | boolean | False | true | true/false | When set to `false`, uses Route/Service ID instead of name (default) with metric tags. | | |
| prefer_name | boolean | False | true | [true, false] | When set to `false`, uses Route/Service ID instead of name (default) with metric tags. | |
We are using "shell" in a lot of places and it seems to be working without issues right now. So, it was decided to keep using shell. |
Signed-off-by: Navendu Pottekkat <navendupottekkat@gmail.com>
Ready for another round of review. |
Signed-off-by: Navendu Pottekkat <navendupottekkat@gmail.com>
…ub.com/navendu-pottekkat/apisix into docs/plugin-observability-metrics/6734
Signed-off-by: Navendu Pottekkat navendupottekkat@gmail.com
Description
Updates the documentation of the "Observability/Metrics" Plugins.
Child PR of #6734