Skip to content

add WorkflowUserMetric#319

Open
karen-stepanyan wants to merge 9 commits intomainfrom
DF-23780
Open

add WorkflowUserMetric#319
karen-stepanyan wants to merge 9 commits intomainfrom
DF-23780

Conversation

@karen-stepanyan
Copy link

@karen-stepanyan karen-stepanyan commented Mar 19, 2026

@changeset-bot
Copy link

changeset-bot bot commented Mar 19, 2026

⚠️ No Changeset found

Latest commit: 8084d6c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions
Copy link

github-actions bot commented Mar 19, 2026

The latest Buf updates on your PR. Results from workflow Regenerate Protobuf Files / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed⏩ skippedMar 20, 2026, 12:34 PM

Copy link

@alecgard alecgard left a comment

Choose a reason for hiding this comment

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

May need a changeset

string timestamp = 4;

string name = 5;
double value = 6;

Choose a reason for hiding this comment

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

thinking more about this, I don't know if this value will support histograms as they don't have a single value

Choose a reason for hiding this comment

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

looks like official Prometheus protobufs use a more complex value: https://github.com/prometheus/client_model/blob/master/io/prometheus/client/metrics.proto#L75

Choose a reason for hiding this comment

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

Discussed offline - we're going to drop Histogram support for now and focus on the immediate use case of Counters and Gauges.

To support histograms we need to figure out:

  • How to define buckets
  • How to handle when the buckets change
  • How to handle initialisation
  • Where to aggregate into the Histogram value

CreInfo creInfo = 1;
WorkflowKey workflow = 2;
string workflowExecutionID = 3;
string timestamp = 4;

Choose a reason for hiding this comment

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

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.

2 participants