Skip to content

feat(cmn): have BSV2 export metadata metrics#2736

Merged
mergify[bot] merged 1 commit intodevelopfrom
sc/cmn-bs-version-metric
Jun 9, 2022
Merged

feat(cmn): have BSV2 export metadata metrics#2736
mergify[bot] merged 1 commit intodevelopfrom
sc/cmn-bs-version-metric

Conversation

@smartcontracts
Copy link
Contributor

Description
Updates BaseServiceV2 to require a version string. Also now exports
parameters in a synthetic metric but ignores any parameters explicitly
marked secret.

@changeset-bot
Copy link

changeset-bot bot commented Jun 9, 2022

🦋 Changeset detected

Latest commit: 57b7ed9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@eth-optimism/common-ts Minor
@eth-optimism/drippie-mon Minor
@eth-optimism/fault-detector Minor
@eth-optimism/message-relayer Minor
@eth-optimism/replica-healthcheck Minor
@eth-optimism/data-transport-layer Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@smartcontracts smartcontracts force-pushed the sc/cmn-bs-version-metric branch from 14d3f59 to c35c79a Compare June 9, 2022 20:47
Updates BaseServiceV2 to require a version string. Also now exports
parameters in a synthetic metric but ignores any parameters explicitly
marked secret.
@smartcontracts smartcontracts force-pushed the sc/cmn-bs-version-metric branch from c35c79a to 57b7ed9 Compare June 9, 2022 20:52
@mergify
Copy link
Contributor

mergify bot commented Jun 9, 2022

This PR has been added to the merge queue, and will be merged soon.

this.metrics.metadata.set(
{
// eslint-disable-next-line @typescript-eslint/no-var-requires
version: require('../package.json').version,
Copy link
Contributor

Choose a reason for hiding this comment

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

nice, definitely way more readable to do it this way

@mergify mergify bot merged commit 84a8934 into develop Jun 9, 2022
@mergify mergify bot deleted the sc/cmn-bs-version-metric branch June 9, 2022 21:54
@mergify
Copy link
Contributor

mergify bot commented Jun 9, 2022

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mergify mergify bot removed the on-merge-train label Jun 9, 2022
This was referenced Jun 9, 2022
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