Skip to content

chore: add telemetry reminder if meeting type/feature #1

chore: add telemetry reminder if meeting type/feature

chore: add telemetry reminder if meeting type/feature #1

Workflow file for this run

name: Label Triggered
on:
pull_request:
types:
- labeled
jobs:
add-comment-feature-telemetry:
if: github.event.label.name == 'type/feature'
runs-on: ubuntu-latest
permissions:
pull_request: write

Check failure on line 12 in .github/workflows/label-triggered.yml

View workflow run for this annotation

GitHub Actions / Label Triggered

Invalid workflow file

The workflow is not valid. .github/workflows/label-triggered.yml (Line: 12, Col: 7): Unexpected value 'pull_request'
steps:
- name: Add comment
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
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/storage/compactor/src/telemetry.rs`) as if finding it hard to implement.
:sparkles: Thank you for your contribution to RisingWave! :sparkles: