-
Notifications
You must be signed in to change notification settings - Fork 9
Agent v2 updates #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Agent v2 updates #28
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
d9e8363
Update contexts request
kapantzak a8a73e2
Uopdate nodes request
kapantzak aa0cfb4
wip
kapantzak 352e04e
Format files
kapantzak 68f24d4
Fix response
kapantzak f5b5f2f
Fix contexts request
kapantzak 30a327f
Add missing useEffect dependencies
kapantzak dfcb379
Fix failing test
kapantzak a317804
Transform nodes response
kapantzak 320d436
[DEBUG]
kapantzak 0846677
Revert "[DEBUG]"
kapantzak 6054b0c
Fix node tranformation
kapantzak dfd7603
[DEBUG]
kapantzak ee23cf3
Revert "[DEBUG]"
kapantzak fa3df38
[wip] Refactor data payload
kapantzak ad7856b
Remove debuging code and add dimensions to scope
kapantzak 054d25d
Adjust to v3 data response
kapantzak ef16f7a
Fix type
kapantzak 8a32ce1
Get value index form point
kapantzak 87a267d
wip
kapantzak 159cfa6
Update deprecated actions/upload-artifact version
kapantzak 55f9ac4
Remove charts/<context> request
kapantzak fb07644
Fix linting error
kapantzak 3f62e66
Remove unused import
kapantzak 9741528
[DEBUG]
kapantzak ec41559
Revert "[DEBUG]"
kapantzak be84d41
Fix groupingByList options type
kapantzak ee7b523
Remove comments
kapantzak 9e17a58
Handle empty labels array
kapantzak 413cc31
Fix filters
kapantzak 1895452
Delete unused useFetchDimensions
kapantzak ab368c8
Reset filter value on each filter change
kapantzak 491c3cf
Change node name accessor prop
kapantzak 8b555cf
fixup! Change node name accessor prop
kapantzak 4c7111b
Update major version
kapantzak 45031cc
Fix licence text
kapantzak 5e5fdc1
Minor change
kapantzak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,16 +17,16 @@ on: | |
| default: 'false' | ||
| type: choice | ||
| options: | ||
| - 'true' | ||
| - 'false' | ||
| - 'true' | ||
| - 'false' | ||
| ENV: | ||
| required: true | ||
| default: 'testing' | ||
| type: choice | ||
| options: | ||
| - testing | ||
| - staging | ||
| - production | ||
| - testing | ||
| - staging | ||
| - production | ||
|
|
||
| env: | ||
| BRANCH: ${{ github.event.inputs.BRANCH || github.ref }} | ||
|
|
@@ -44,7 +44,7 @@ jobs: | |
| - name: Setup Node.js environment | ||
| uses: actions/[email protected] | ||
| with: | ||
| node-version: "14.x" | ||
| node-version: '14.x' | ||
|
|
||
| - name: Get yarn cache directory path | ||
| id: yarn-cache-dir-path | ||
|
|
@@ -84,7 +84,7 @@ jobs: | |
| zip "netdata-datasource-${{ steps.build_environment.outputs.BUILD_VERSION }}.zip" netdata-datasource -r | ||
|
|
||
| - name: Upload artifacts | ||
| uses: actions/upload-artifact@v2 | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: netdata-datasource-${{ steps.build_environment.outputs.BUILD_VERSION }}.zip | ||
| path: ./netdata-datasource-${{ steps.build_environment.outputs.BUILD_VERSION }}.zip | ||
|
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ name: Release | |
| on: | ||
| push: | ||
| tags: | ||
| - "v*.*.*" | ||
| - 'v*.*.*' | ||
|
|
||
| jobs: | ||
| release: | ||
|
|
@@ -17,7 +17,7 @@ jobs: | |
| - name: Setup Node.js environment | ||
| uses: actions/[email protected] | ||
| with: | ||
| node-version: "14.x" | ||
| node-version: '14.x' | ||
|
|
||
| - name: Get yarn cache directory path | ||
| id: yarn-cache-dir-path | ||
|
|
@@ -64,7 +64,7 @@ jobs: | |
| export GRAFANA_PLUGIN_TYPE=$(cat dist/plugin.json | jq -r .type) | ||
| export GRAFANA_PLUGIN_ARTIFACT=${GRAFANA_PLUGIN_ID}-${GRAFANA_PLUGIN_VERSION}.zip | ||
| export GRAFANA_PLUGIN_ARTIFACT_CHECKSUM=${GRAFANA_PLUGIN_ARTIFACT}.md5 | ||
|
|
||
| echo "plugin-id=${GRAFANA_PLUGIN_ID}" >> $GITHUB_OUTPUT | ||
| echo "plugin-version=${GRAFANA_PLUGIN_VERSION}" >> $GITHUB_OUTPUT | ||
| echo "plugin-type=${GRAFANA_PLUGIN_TYPE}" >> $GITHUB_OUTPUT | ||
|
|
@@ -91,7 +91,7 @@ jobs: | |
| echo "checksum=$(cat './${{ steps.metadata.outputs.archive-checksum }}' | cut -d' ' -f1)" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Upload artifacts | ||
| uses: actions/upload-artifact@v2 | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: ${{ steps.metadata.outputs.archive }} | ||
| path: ./${{ steps.metadata.outputs.archive }} | ||
|
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| module.exports = { | ||
| ...require("./node_modules/@grafana/toolkit/src/config/prettier.plugin.config.json"), | ||
| ...require('./node_modules/@grafana/toolkit/src/config/prettier.plugin.config.json'), | ||
| }; |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct?