Skip to content

Metrics and logs? #192

@dev-samples

Description

@dev-samples

Its seems tracing just works out of the box when adding:

import { registerOTel } from '@vercel/otel';
export function register() {
    registerOTel('my-app');
}

Is it correct that this "no-code" configuration currently only works for tracing?

I could not see any metrics or logs being emitted out of the box (e.g. in prometheus connected to the otel collector).

I did find a similar issue here: #134 so it seems doable to get something up and running.

But maybe I am missing something in the docs that says its primarily intended for tracing or maybe I am missing some examples for metrics and logs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions