Skip to content

Conversation

@yunfengzhou-hub
Copy link
Collaborator

@yunfengzhou-hub yunfengzhou-hub commented Sep 13, 2023

What is the purpose of the change

This PR mainly adds metrics CountMap and Average.

Brief change log

  • Introduce built-in function SIZE
  • Adds metrics CountMap and Average.
  • Fixes the bug that prometheus sink function does not remove map-typed metrics with outdated labels.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): no
  • The public API: yes

Documentation

  • Does this pull request introduce a new feature? yes
  • If yes, how is the feature documented? docs & python docs

@yunfengzhou-hub yunfengzhou-hub force-pushed the metric-map-list branch 2 times, most recently from 7e9ffa7 to 543462f Compare September 13, 2023 03:52
@yunfengzhou-hub
Copy link
Collaborator Author

Hi @Sxnan could you please take a look at this PR?

Copy link
Collaborator

@Sxnan Sxnan left a comment

Choose a reason for hiding this comment

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

@yunfengzhou-hub Thanks for the PR! I left some comments below.

@yunfengzhou-hub yunfengzhou-hub force-pushed the metric-map-list branch 2 times, most recently from 0c5f3f1 to f03eea9 Compare September 15, 2023 08:42
@yunfengzhou-hub
Copy link
Collaborator Author

Thanks for the comments @Sxnan. I have updated the PR according to the comments.

@Sxnan
Copy link
Collaborator

Sxnan commented Sep 18, 2023

@yunfengzhou-hub Thanks for the update! LGTM. @lindong28 Could you take a look at this PR?

@yunfengzhou-hub yunfengzhou-hub force-pushed the metric-map-list branch 2 times, most recently from d07754e to 3fcbb35 Compare September 18, 2023 06:24
Copy link
Collaborator

@lindong28 lindong28 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Left some comments below.

@yunfengzhou-hub yunfengzhou-hub force-pushed the metric-map-list branch 3 times, most recently from 4fcd9a6 to 1aaf733 Compare September 18, 2023 09:54
@yunfengzhou-hub yunfengzhou-hub changed the title Add metric CountMap, RatioMap and AverageSize Add metric CountMap and Average Sep 18, 2023
@yunfengzhou-hub
Copy link
Collaborator Author

Thanks for the comments @lindong28. I have updated the PR according to the comments.

Copy link
Collaborator

@lindong28 lindong28 left a comment

Choose a reason for hiding this comment

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

Thanks for the update. Left one comment below.

@yunfengzhou-hub
Copy link
Collaborator Author

Thanks for the comment @lindong28. I have updated PR according to the comment.

@lindong28
Copy link
Collaborator

Thanks for the update! LGTM.

@lindong28 lindong28 merged commit adc90c9 into alibaba:master Sep 19, 2023
@yunfengzhou-hub yunfengzhou-hub linked an issue Sep 19, 2023 that may be closed by this pull request
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.

Copy TableDescriptor during default building process

3 participants