Skip to content

Conversation

safareli
Copy link

@safareli safareli commented Mar 2, 2025

No description provided.

@CLAassistant
Copy link

CLAassistant commented Mar 2, 2025

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

logger: new DefaultLogger("WARN", (entry) => {
const seconds = Number(entry.timestampNanos / BigInt(1e9));
const nanos = Number(entry.timestampNanos % BigInt(1e9));
const hrTime= [seconds, nanos];

Choose a reason for hiding this comment

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

Suggested change
const hrTime= [seconds, nanos];
const hrTime: HrTime = [seconds, nanos];

hrTime needed a proper type for typescript to be happy.

import { HrTime } from "@opentelemetry/api"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants