Skip to content

[vercel_otel] new vercel content pack - #20387

Merged
jakubgalecki0 merged 20 commits into
elastic:mainfrom
jakubgalecki0:vercel_otel_cp
Aug 2, 2026
Merged

[vercel_otel] new vercel content pack#20387
jakubgalecki0 merged 20 commits into
elastic:mainfrom
jakubgalecki0:vercel_otel_cp

Conversation

@jakubgalecki0

@jakubgalecki0 jakubgalecki0 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Proposed commit message

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

vercel_otel-audit-logs vercel_otel-logs vercel_otel-web-analytics
@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs Style Checker (Vale)

Summary: 1 warning found

⚠️ Warnings (1): Fix when the suggestion improves clarity or correctness.
File Line Rule Message
packages/vercel_otel/docs/README.md 73 Elastic.DontUse Don't use 'and/or'.

The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

@andrewkroh andrewkroh added the New Integration Issue or pull request for creating a new integration package. label Jul 29, 2026
@ishleenk17

ishleenk17 commented Jul 31, 2026

Copy link
Copy Markdown
Member

In the logs dashboard, I think it will be good to have a filter for log.source @jakubgalecki0
As different log sources help with different type of information

@jakubgalecki0

Copy link
Copy Markdown
Contributor Author

@ishleenk17

In the logs dashboard, I think it will be good to have a filter for log.source @jakubgalecki0 As different log sources help with different type of information

Added filter

image
@jakubgalecki0
jakubgalecki0 marked this pull request as ready for review July 31, 2026 16:40
@jakubgalecki0
jakubgalecki0 requested a review from a team as a code owner July 31, 2026 16:40
@ishleenk17

Copy link
Copy Markdown
Member

I see us mentoning the endpoint as managed OTLP endpoint.
Its not. Its just a managed endpoint.
Aslo lets give example of how the endpoint would look like.
Please remove al references of managed OTLP endpoint in the documetnation.

@ishleenk17

Copy link
Copy Markdown
Member

I don't think all logs are runtime logs. Only ones with sources as lambda and edge fall under this.
So we should name is something else in the documentation ?
Screenshot 2026-07-31 at 10 52 16 PM

Comment thread packages/vercel_otel/docs/README.md Outdated
Setup has three parts, done in order:

1. Enable the Vercel features you want to collect.
2. Gather two values from Elastic: a **drain URL** and an **API key**.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2. Gather two values from Elastic: a **drain URL** and an **API key**.
2. Gather two values from Elastic: a **managed endpoint URL** and an **API key**.
Comment thread packages/vercel_otel/docs/README.md Outdated
- **Web Analytics**: install and enable the [@vercel/analytics](https://vercel.com/docs/analytics) SDK in your application so page views and custom events are emitted.
- **Speed Insights**: install and enable the [@vercel/speed-insights](https://vercel.com/docs/speed-insights) SDK in your application so Web Vitals are collected in the browser.

### Step 2: Gather the drain URL and API key from Elastic

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Step 2: Gather the drain URL and API key from Elastic
### Step 2: Gather the managed endpoint URL and API key from Elastic
Comment thread packages/vercel_otel/docs/README.md Outdated

You need an Elastic Cloud Serverless project or an Elastic Cloud Hosted deployment.

#### Drain URL

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Drain URL
#### Managed Endpoint URL for Vercel
Comment thread packages/vercel_otel/docs/README.md Outdated

1. Log in to the [Elastic Cloud Console](https://cloud.elastic.co/).
2. Open your project or deployment and select **Manage**.
3. In **Application endpoints, cluster and component IDs**, select **OpenTelemetry** (Serverless projects) or **Managed OTLP** (Hosted deployments), then copy the public endpoint value.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. In **Application endpoints, cluster and component IDs**, select **OpenTelemetry** (Serverless projects) or **Managed OTLP** (Hosted deployments), then copy the public endpoint value.
3. In **Application endpoints, cluster and component IDs**, select the Vercel endpoint, then copy the public endpoint value.

The vercel endpoint will be added to the application endpoints

Comment thread packages/vercel_otel/docs/README.md Outdated
2. Open your project or deployment and select **Manage**.
3. In **Application endpoints, cluster and component IDs**, select **OpenTelemetry** (Serverless projects) or **Managed OTLP** (Hosted deployments), then copy the public endpoint value.

The drain URL is that public endpoint plus `/vercel`, which is the path that accepts Vercel drain payloads:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The drain URL is that public endpoint plus `/vercel`, which is the path that accepts Vercel drain payloads:
The managed endpoint URL for Vercel is that public endpoint plus `/vercel`, which is the path that accepts Vercel drain payloads:
Comment thread packages/vercel_otel/docs/README.md Outdated
https://<managed-endpoint>/vercel
```

For example, if your public endpoint is `https://abc123.ingest.us-east-1.aws.elastic.cloud`, then the drain URL is:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For example, if your public endpoint is `https://abc123.ingest.us-east-1.aws.elastic.cloud`, then the drain URL is:
For example, if your public endpoint is `https://abc123.ingest.us-east-1.aws.elastic.cloud`, then the managed endpoint URL for vercel is:
Comment thread packages/vercel_otel/docs/README.md Outdated

1. Open your team **Drains** settings and create a drain for that data type.
2. Choose **Custom Endpoint** as the destination.
3. Set the **Endpoint URL** to the drain URL, for example `https://abc123.ingest.us-east-1.aws.elastic.cloud/vercel`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. Set the **Endpoint URL** to the drain URL, for example `https://abc123.ingest.us-east-1.aws.elastic.cloud/vercel`.
3. Set the **Endpoint URL** to the managed endpoint URL for Vercel, for example `https://abc123.ingest.us-east-1.aws.elastic.cloud/vercel`.
Comment thread packages/vercel_otel/docs/README.md Outdated

For Logs drains, you can also narrow which sources, environments, and sampling rates are forwarded under **Additional configuration for logs**. Refer to [Log Drains reference](https://vercel.com/docs/drains/reference/logs).

> **Note**: The drain URL is always your Elastic Cloud public endpoint plus `/vercel`. Do not point the drain at a self-hosted collector for these assets; the supported path is the Elastic Cloud managed endpoint.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> **Note**: The drain URL is always your Elastic Cloud public endpoint plus `/vercel`. Do not point the drain at a self-hosted collector for these assets; the supported path is the Elastic Cloud managed endpoint.
> **Note**: The managed endpoint URL for Vercel is always your Elastic Cloud public endpoint plus `/vercel`. Do not point the drain at a self-hosted collector for these assets; the supported path is the Elastic Cloud managed endpoint.
## Reference

Vercel drain payloads are decoded by the Elastic Cloud managed endpoint and written to the data streams below. For drain configuration and payload types on the Vercel side, see [Using drains](https://vercel.com/docs/drains/using-drains). For managed endpoint behavior, see [Managed inputs](https://www.elastic.co/docs/reference/opentelemetry/managed-inputs).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jakubgalecki0 : Can we point to a place where the fields (for meterics and logs) are documented ?

@ishleenk17

Copy link
Copy Markdown
Member
Screenshot 2026-08-01 at 11 34 56 PM why Screenshot 2026-08-01 at 11 35 05 PM are the Screenshot 2026-08-01 at 11 35 15 PM

project values different across the 3 dashbaord. Don't they refer to same field ?

@ishleenk17

Copy link
Copy Markdown
Member
Screenshot 2026-08-01 at 11 37 04 PM Shouldn't these be integer values ?
@ishleenk17

ishleenk17 commented Aug 2, 2026

Copy link
Copy Markdown
Member

Thanks for making the changes @jakubgalecki0
Please add screenshots of the dashboard in the PR description and remove the alerts screesnhot.

Also update the web analytics screenshot in the PR. it still shows decimal values

@ishleenk17 ishleenk17 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the screenshots in the img folder to showcase the latest changes.
Else looks good now!

@mergify

mergify Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@mergify

mergify Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • 🟠 Waiting for queue conditions
  • ⏳ Enter queue
  • ⏳ Run checks
  • ⏳ Merge
Waiting for
  • -closed [📌 queue requirement]
All conditions
  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • any of [📌 queue -> configuration change requirements]:
    • -mergify-configuration-changed
    • check-success = Configuration changed
  • any of [🔀 queue conditions]:
    • all of [📌 queue conditions of queue rule default]:
      • github-review-approved [🛡 GitHub branch protection]
      • github-review-approved [🛡 GitHub repository ruleset rule [org] Require a PR for Renovate]
      • github-review-approved [🛡 GitHub repository ruleset rule [org] Require a PR]
      • any of [🛡 GitHub branch protection]:
        • check-success = CLA
        • check-neutral = CLA
        • check-skipped = CLA
      • any of [🛡 GitHub branch protection]:
        • check-success = buildkite/integrations
        • check-neutral = buildkite/integrations
        • check-skipped = buildkite/integrations
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

✅ All changelog entries have the correct PR link.

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

@jakubgalecki0
jakubgalecki0 merged commit 356555d into elastic:main Aug 2, 2026
11 checks passed
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package vercel_otel - 0.1.0 containing this change is available at https://epr.elastic.co/package/vercel_otel/0.1.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Integration Issue or pull request for creating a new integration package.

3 participants