Skip to content

Conversation

ylorph
Copy link
Contributor

@ylorph ylorph commented May 25, 2025

No description provided.

@ylorph ylorph requested a review from a team as a code owner May 25, 2025 15:33
@ylorph ylorph force-pushed the ylorph/cert_metric branch from 1d6eacb to ef12985 Compare May 25, 2025 15:37
Copy link
Contributor

github-actions bot commented May 25, 2025

Qodana for .NET

4 new problems were found

Inspection name Severity Problems
Parameter is only used for precondition check (private accessibility) 🔶 Warning 3
Redundant 'object.ToString()' call 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

new(Tags.SerialNumber, cert.GetSerialNumberString()),
new(Tags.Thumbprint, cert.Thumbprint),
new(Tags.ValidityPeriod, ValidityPeriod(DateTimeOffset.FromUnixTimeSeconds(clock.SecondsSinceEpoch).DateTime, cert.NotBefore, cert.NotAfter).ToString())

Copy link
Member

Choose a reason for hiding this comment

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

Could you please reformat the file (add empty lines between classes, remove redundant empty lines)?

Copy link
Member

Choose a reason for hiding this comment

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

Applies to all files

new(Tags.SerialNumber, cert.GetSerialNumberString()),
new(Tags.Thumbprint, cert.Thumbprint),
new(Tags.ValidityPeriod, ValidityPeriod(DateTimeOffset.FromUnixTimeSeconds(clock.SecondsSinceEpoch).DateTime, cert.NotBefore, cert.NotAfter).ToString())

Copy link
Member

Choose a reason for hiding this comment

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

Applies to all files

@alexeyzimarev
Copy link
Member

How does it get wired up with the meter?

@alexeyzimarev
Copy link
Member

Also, we need to add the new metrics to the docs (metrics page)

@ylorph ylorph marked this pull request as draft May 30, 2025 08:20
@CLAassistant
Copy link

CLAassistant commented Aug 1, 2025

CLA assistant check
All committers have signed the CLA.

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