Skip to content

Commit

Permalink
chore: add telemetry reminder if meeting type/feature (#19359)
Browse files Browse the repository at this point in the history
Co-authored-by: tabversion <[email protected]>
Co-authored-by: Chengyou Liu <[email protected]>
  • Loading branch information
3 people authored Nov 21, 2024
1 parent bae490a commit bd61bc6
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/label-commenter-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
comment:
header: Hi, there.
footer: "\
---\n\n\
> This is an automated comment created by the [peaceiris/actions-label-commenter]. \
Responding to the bot or mentioning it won't have any effect.\n\n\
[peaceiris/actions-label-commenter]: https://github.com/peaceiris/actions-label-commenter"

labels:
- name: 'user-facing-changes'
labeled:
pr:
body: |
:memo: **Telemetry Reminder**:
If you're implementing this feature, please consider adding telemetry metrics to track its usage. This helps us understand how the feature is being used and improve it further.
You can find the function `report_event` of telemetry reporting in the following files. Feel free to ask questions if you need any guidance!
* `src/frontend/src/telemetry.rs`
* `src/meta/src/telemetry.rs`
* `src/stream/src/telemetry.rs`
* `src/storage/compactor/src/telemetry.rs`
Or calling `report_event_common` (`src/common/telemetry_event/src/lib.rs`) as if finding it hard to implement.
:sparkles: Thank you for your contribution to RisingWave! :sparkles:
23 changes: 23 additions & 0 deletions .github/workflows/label-triggered.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Label Triggered Comment

on:
issues:
types: [labeled, unlabeled]
pull_request:
types: [labeled, unlabeled]

permissions:
contents: read
issues: write
pull-requests: write

jobs:
comment:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Label Commenter
uses: peaceiris/actions-label-commenter@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
config_file: .github/label-commenter-config.yml

0 comments on commit bd61bc6

Please sign in to comment.