> For the complete documentation index, see [llms.txt](https://docs.verygoodsecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verygoodsecurity.com/enterprise-platform/core-platform/observability/metrics-templates.md).

# Metrics Templates

## RED - VGS HTTP Proxy

The dashboard is based on [the RED Method](https://grafana.com/blog/2018/08/02/the-red-method-how-to-instrument-your-services/) (Rate, Error, Duration) for monitoring the HTTP Proxy.

Reach out to [Customer Support](mailto:support@vgs.io) if you need assistance.

### ![datadog logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2F5J2exJREm2x3PCHQwZ1J%2Flogo-datadog.svg?alt=media\&token=8294e2ef-41ee-4689-bb44-f411cf9ad4e6) Datadog Dashboard <a href="#red-vgs-proxy-datadog-dashboard" id="red-vgs-proxy-datadog-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FNz3DTvwIUNkC1tJPSnyy%2FRED_proxy-datadog-preview.png?alt=media&amp;token=626d2a7e-743f-4a73-b5c5-de5ccd102cfa" alt=""><figcaption></figcaption></figure>

### ![grafana logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FwqQDLFqq2QSavnSpbTk0%2Flogo-grafana.svg?alt=media\&token=138d065d-9ec7-495f-bb3b-a4efd04812bc) Grafana Dashboard <a href="#red-vgs-proxy-grafana-dashboard" id="red-vgs-proxy-grafana-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FBL7rfov2RpbVurcJpScv%2FRED_proxy-grafana-preview.png?alt=media&amp;token=b2d831bd-4b9c-4f81-98fd-4855c0453b56" alt=""><figcaption></figcaption></figure>

## RED - VGS HTTP Upstreams

The dashboard is based on [the RED Method](https://grafana.com/blog/2018/08/02/the-red-method-how-to-instrument-your-services/) (Rate, Error, Duration) for monitoring HTTP Upstreams.

Reach out to [Customer Support](mailto:support@verygoodsecurity.com) if you need assistance.

### ![datadog logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2F5J2exJREm2x3PCHQwZ1J%2Flogo-datadog.svg?alt=media\&token=8294e2ef-41ee-4689-bb44-f411cf9ad4e6) Datadog Dashboard <a href="#red-vgs-upstreams-datadog-dashboard" id="red-vgs-upstreams-datadog-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FXtpYHDvkdPlasbX4LPOu%2FRED_upstreams-datadog-preview.png?alt=media&amp;token=e9c9f5c8-5f75-45b8-abcd-2796f82da2d4" alt=""><figcaption></figcaption></figure>

### ![grafana logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FwqQDLFqq2QSavnSpbTk0%2Flogo-grafana.svg?alt=media\&token=138d065d-9ec7-495f-bb3b-a4efd04812bc) Grafana Dashboard <a href="#red-vgs-upstreams-grafana-dashboard" id="red-vgs-upstreams-grafana-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2Fbl06Sg1pTBCurlFcvJ1o%2FRED_upstreams-grafana-preview.png?alt=media&amp;token=01897fad-c888-4d49-804c-4206ef970965" alt=""><figcaption></figcaption></figure>

## RED - VGS HTTP Unified

The dashboard is based on [the RED Method](https://grafana.com/blog/2018/08/02/the-red-method-how-to-instrument-your-services/) (Rate, Error, Duration) for monitoring HTTP Proxy and HTTP Upstreams. It’s a union of [RED - VGS HTTP Upstreams](#red---vgs-http-upstreams) and [RED - VGS HTTP Proxy](#red---vgs-http-proxy) dashboards.

Reach out to [Customer Support](mailto:support@verygoodsecurity.com) if you need assistance.

### ![datadog logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2F5J2exJREm2x3PCHQwZ1J%2Flogo-datadog.svg?alt=media\&token=8294e2ef-41ee-4689-bb44-f411cf9ad4e6) Datadog Dashboard <a href="#red-vgs-unified-datadog-dashboard" id="red-vgs-unified-datadog-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2Fx2X5urySs3INgn025ntA%2FRED_unified-datadog-preview.png?alt=media&amp;token=d2853efd-625f-43d8-b73e-3a22a140c171" alt=""><figcaption></figcaption></figure>

### ![grafana logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FwqQDLFqq2QSavnSpbTk0%2Flogo-grafana.svg?alt=media\&token=138d065d-9ec7-495f-bb3b-a4efd04812bc) Grafana Dashboard <a href="#red-vgs-unified-grafana-dashboard" id="red-vgs-unified-grafana-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FruPKU6L6ZaytL9P9LXBQ%2FRED_unified-grafana-preview.png?alt=media&amp;token=a3408346-53f4-4aae-a125-92a0730fac94" alt=""><figcaption></figcaption></figure>

## Failed reveals tracking

The dashboard represents the per-minute average failed record usage rate over the last 4 minutes.

If you observe spikes in failed record usage metric, it usually means that there might be a route misconfiguration. Check your routes or reach out to [Customer Support](mailto:support@verygoodsecurity.com) if you need assistance.

### ![datadog logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2F5J2exJREm2x3PCHQwZ1J%2Flogo-datadog.svg?alt=media\&token=8294e2ef-41ee-4689-bb44-f411cf9ad4e6) Datadog Dashboard <a href="#failed-reveals-datadog-dashboard" id="failed-reveals-datadog-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FeZUbcsdEgpRYrJ3UPI55%2Fmetrics-dashboard-failed-reveals-datadog.png?alt=media&amp;token=a0b2646d-698e-48d8-8bf1-e4f8d473cb87" alt=""><figcaption></figcaption></figure>

### ![grafana logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FwqQDLFqq2QSavnSpbTk0%2Flogo-grafana.svg?alt=media\&token=138d065d-9ec7-495f-bb3b-a4efd04812bc) Grafana Dashboard <a href="#failed-reveals-grafana-dashboard" id="failed-reveals-grafana-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FDMU7cc9gRyY7JnwkCcuC%2Fmetrics-dashboard-failed-reveals-grafana.png?alt=media&amp;token=c9952829-a1f3-4369-a702-4cab9bf9291e" alt=""><figcaption></figcaption></figure>

## HTTP Proxy Timeouts tracking

The dashboard represents responses with [504 HTTP codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) from VGS Proxy and Upstreams.

Reach out to [Customer Support](mailto:support@vgs.io) if you need assistance.

### ![datadog logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2F5J2exJREm2x3PCHQwZ1J%2Flogo-datadog.svg?alt=media\&token=8294e2ef-41ee-4689-bb44-f411cf9ad4e6) Datadog Dashboard <a href="#http-proxy-timeouts-datadog-dashboard" id="http-proxy-timeouts-datadog-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FxtzC02do8N8oTzRtYwQy%2Fhttp-timeout-datadog-preview.png?alt=media&amp;token=8cbe34b0-d245-48b1-86e6-aa7c57781c93" alt=""><figcaption></figcaption></figure>

### ![grafana logo](https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FwqQDLFqq2QSavnSpbTk0%2Flogo-grafana.svg?alt=media\&token=138d065d-9ec7-495f-bb3b-a4efd04812bc) Grafana Dashboard <a href="#http-proxy-timeouts-grafana-dashboard" id="http-proxy-timeouts-grafana-dashboard"></a>

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FqDCectFWfld8TjDaA5Hw%2Fhttp-timeout-grafana-preview.png?alt=media&amp;token=84e3136c-99e5-4881-bbc1-4e23b2719b71" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.verygoodsecurity.com/enterprise-platform/core-platform/observability/metrics-templates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
