Render.com Platform

Render.com is a modern cloud platform for deploying web services, static sites, and more. Middleware enables seamless metrics and log collection from your Render.com services.

Prerequisites

Before setting up the integration, ensure you have the following:

  • A Render.com workspace on a Professional plan or higher.
  • Your Middleware API Key (MW_API_KEY).
  • Your Middleware Target Endpoint (MW_TARGET) to be used for Render.com's metrics endpoint.

Forward Metrics to Middleware

Render.com supports streaming service metrics (CPU, memory, HTTP requests, storage, etc.) to any OpenTelemetry-compatible endpoint. Middleware can ingest these metrics using its OpenTelemetry endpoint.

Follow these steps to enable metrics forwarding from Render.com to Middleware:

1. Navigate to your workspace’s home in the Render Dashboard and select Integrations.

Render.com integrations

2. From the left sidebar, select Integrations > Observability.

Render.com observability

3. Under Metrics Stream, click + Add destination.

Render.com metrics destination

4. In the provider dropdown, select Custom.

Render.com custom metrics stream

5. Enter the following details:

  • For Endpoint, enter your Middleware metrics endpoint (MW_TARGET).
  • For API Key, enter your Middleware API key (MW_API_KEY).
Render.com custom metric details

6. Click Add destination.

All metrics use the OpenTelemetry JSON format, and metric names are prefixed with render (e.g., render.service.memory.usage).
Refer to the Render Metrics Streams documentation for more details.

Note that Render.com does not emit metrics for Static sites, Cron jobs, or One-off jobs.

Forward Logs to Middleware

Render.com can stream logs to any syslog-compatible endpoint. Middleware supports syslog ingestion.

Configure Log Stream

1. Navigate to your workspace’s home in the Render Dashboard and select Integrations.

Render.com integrations

2. From the left sidebar, select Integrations > Observability.

Render.com observability

3. Under Log Streams, click + Set default.

Render.com log streams destination

4. Enter the following details:

  • For Log Endpoint, enter syslog.middleware.io:5514.
  • For Token, enter your Middleware API key (MW_API_KEY).
Render.com log stream details

5. Click Add Log Stream.

Render forwards logs using the syslog protocol.
Refer to the Render Log Streams documentation for more details.

Reported Metrics

A detailed list of metrics collected through this integration is available in the Render Metrics Streams documentation.

Troubleshooting

  • Ensure your Middleware endpoints are accessible from Render.com.
  • Verify your API keys are correct.

References