Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Conversation

@billyang-arch
Copy link

新增Metric指标上报

}
}

public function createCounter(string $name, ?string $unit = null,
Copy link
Owner

Choose a reason for hiding this comment

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

这几个 createXXX 我希望改成 laravel style, 就是直接 Metric::counter() Metric::histogram

Copy link
Author

Choose a reason for hiding this comment

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

好的

}

public function createHistogram(string $name, ?string $unit = null,
?string $description = null, array $advisory = []): HistogramInterface
Copy link
Owner

Choose a reason for hiding this comment

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

这里是不是应该叫 advisories ?

@overtrue overtrue merged commit 7dbe1ef into overtrue:main Sep 8, 2025
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants