fix(node_stats/data.go):修复es,当一个指标没有,整个node_stats指标集不上报 refs MONITOR-… #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-x-pack-metricbeat | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/check-xpack-metricbeat.yml' | |
- 'x-pack/metricbeat/**' | |
- 'metricbeat/**' | |
env: | |
BEAT_MODULE: 'x-pack/metricbeat' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: .go-version | |
- name: Run check/update | |
run: | | |
go install github.com/magefile/mage | |
make -C ${{ env.BEAT_MODULE }} check update | |
make check-no-changes |