> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/https-collector/monitoring-and-troubleshooting.md).

# Monitoring and Troubleshooting

## HTTPS Collector Web Interface <a href="#https-collector-web-interface" id="https-collector-web-interface"></a>

The HTTPS Collector has a web interface available at `https://<Collector Url>:<port>/web` and provides you:

1. Flows: Full view of all incoming messages to the collector (including a full test search in all content and headers)
2. Agents and NodeJS Agents: A full detailed page for each Agent that is created for aggregation (including Node JS NYC collector)
3. Logs: Ability to stream and manipulate all the logs from the collector with options like full filters, saving…
4. About page on the collector, its version…

<table data-header-hidden><thead><tr><th width="115.33331298828125"></th><th></th></tr></thead><tbody><tr><td><strong>Flows</strong></td><td><p><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2F4z7VXTvzCMVA7bcz55Gk%2Fimage.png?alt=media&amp;token=766c3e17-495c-48c1-ae84-ba883a90bd8f" alt="" data-size="original"></p><p><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FD32BmB8k24afgYWTYfLs%2Fimage.png?alt=media&amp;token=9e6c0f85-e2f7-4652-8a3b-a73ff5e1fbc0" alt="" data-size="original"></p></td></tr><tr><td><strong>Agents</strong></td><td><p><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FYGvKrI50inuAWAsXdxt2%2Fimage.png?alt=media&amp;token=b9d6310a-f05d-4d65-86f5-dd6823cc47a2" alt="" data-size="original"></p><p><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FzuN0q4q7daWpUeluixJa%2Fimage.png?alt=media&amp;token=614959f4-da4e-4f98-afa2-f3181f42845e" alt="" data-size="original"></p></td></tr><tr><td><strong>Logs</strong></td><td><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2F4r27Z8ryj1q2rsIb3Onn%2Fimage.png?alt=media&amp;token=97c4c31c-dd63-4326-9f45-6796b76135d6" alt="" data-size="original"></td></tr><tr><td><strong>About</strong></td><td><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2F3E5pQnjRfqFaA91HNz3v%2Fimage.png?alt=media&amp;token=e6bd17b9-5f86-4c98-9153-c909ff40dc75" alt="" data-size="original"></td></tr></tbody></table>

Note, there is a separate web interface for both the standard collector port and the proxy port

## Health API Endpoint <a href="#health-api-endpoint" id="health-api-endpoint"></a>

Each collector exposes a health endpoint at: `https://{collector-host}:{collector-port}/health` and the result of the call will be JSON with metadata, statistics, and timestamps of collector operations.

If health works correctly and you still have problems, check that `https://{collector-host}:{collector-port}/api` is reachable. If not, something is blocking the collector from reaching SeaLights Cloud Services.

## Open Telemetry Metrics <a href="#open-telemetry-metrics" id="open-telemetry-metrics"></a>

The HTTPS Collector supports exporting HTTP metrics using the **OpenTelemetry Protocol (OTLP)**.\
This allows metrics to be sent to **any OTLP-compatible observability backend**, including platforms such as **Datadog**, **Grafana**, and **Prometheus (via an OpenTelemetry Collector)**.

Turning on this feature can be done by adding the `otel` section for the respective functionality in the `config.yaml` file. See [Configuration File Reference](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/https-collector/download-and-installation.md#configuration-file-reference) more details

The metrics that are exported are:

<table><thead><tr><th width="274">Metric Name</th><th width="152">Type</th><th width="92">Unit</th><th>Description</th></tr></thead><tbody><tr><td><code>http.server.request.duration</code></td><td>Histogram</td><td>seconds</td><td>Duration of HTTP requests</td></tr><tr><td><code>http.server.request.body.size</code></td><td>Counter</td><td>bytes</td><td>Size of HTTP request bodies</td></tr><tr><td><code>http.server.response.body.size</code></td><td>Counter</td><td>bytes</td><td>Size of HTTP response bodies</td></tr><tr><td><code>http.server.active_requests</code></td><td>UpDownCounter</td><td>requests</td><td>Number of active HTTP requests</td></tr></tbody></table>


---

# 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.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/https-collector/monitoring-and-troubleshooting.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.
