Skip to content
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

Add customizable adhoc SQL query for select adhoc values #655

Merged
merged 29 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3e0a716
Add adhoc query editor
lunaticusgreen Nov 1, 2024
ef8913c
Merge branch 'master' of github.com:Altinity/clickhouse-grafana into …
Slach Nov 4, 2024
fd885f3
update package-lock.json
Slach Nov 4, 2024
46d7ad2
Merge branch 'master' into issue-330
Slach Nov 4, 2024
a3c0f20
fix type error
lunaticusgreen Nov 6, 2024
1b4122f
Merge branch 'master' of github.com:Altinity/clickhouse-grafana into …
Slach Nov 11, 2024
df641f4
Fix query error
lunaticusgreen Nov 13, 2024
c734565
Merge branch 'master' into issue-330
Slach Nov 13, 2024
bdacdd1
Fix adhoc filters reset error
lunaticusgreen Nov 14, 2024
a10941e
Merge branch 'master' of github.com:Altinity/clickhouse-grafana into …
Slach Nov 15, 2024
1a87670
Remove not duplicated adhoc dependencies
lunaticusgreen Nov 17, 2024
a9aa533
Merge branch 'issue-330' of github.com:Altinity/clickhouse-grafana in…
Slach Nov 17, 2024
0a5182c
add float variables
lunaticusgreen Nov 18, 2024
ef8513c
fix datasource.jest.ts
Slach Nov 18, 2024
f932258
Merge branch 'master' of github.com:Altinity/clickhouse-grafana into …
Slach Nov 18, 2024
d81f229
replace getadhocvariables with getadhocfilters
lunaticusgreen Nov 18, 2024
2ec498d
replace getadhocvariables with getadhocfilters
lunaticusgreen Nov 19, 2024
eca8372
Improving adhoc tests.
antip00 Nov 19, 2024
9935b85
Merge branch 'master' into issue-330-e2e
antip00 Nov 19, 2024
906e4a0
Merge branch 'master' of github.com:Altinity/clickhouse-grafana into …
Slach Nov 20, 2024
7ea70ac
Updating adhoc tests.
antip00 Nov 20, 2024
a527b2e
Merge branch 'issue-330' into issue-330-e2e
antip00 Nov 20, 2024
ff4d475
Merge branch 'master' of github.com:Altinity/clickhouse-grafana into …
Slach Nov 20, 2024
6ed91d5
Add check operator
lunaticusgreen Nov 21, 2024
2fc1337
Merge branch 'issue-330' into issue-330-e2e
antip00 Nov 22, 2024
2d7fedc
update go.mod to trigger tests
Slach Nov 22, 2024
099a9fb
add synthetic key for adhoc filters
lunaticusgreen Nov 22, 2024
bf731b2
Merge branch 'issue-330' of github.com:Altinity/clickhouse-grafana in…
Slach Nov 22, 2024
c0b08e0
Merge pull request #666 from Altinity/issue-330-e2e
Slach Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": "./.config/.eslintrc",
"rules": {
"array-element-newline": ["error", {
"ArrayPattern": { "minItems": 3 }
}],
"object-curly-newline": ["error", {
"ObjectPattern": { "multiline": true, "minProperties": 10 }
}]
Expand Down
50 changes: 25 additions & 25 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.23
require (
github.com/andybalholm/brotli v1.1.1
github.com/dlclark/regexp2 v1.11.4
github.com/grafana/grafana-plugin-sdk-go v0.258.0
github.com/grafana/grafana-plugin-sdk-go v0.259.3
github.com/klauspost/compress v1.17.11
github.com/stretchr/testify v1.9.0
golang.org/x/sync v0.8.0
golang.org/x/sync v0.9.0
)

require (
Expand All @@ -18,7 +18,7 @@ require (
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cheekybits/genny v1.0.0 // indirect
github.com/chromedp/cdproto v0.0.0-20241022234722-4d5d5faf59fb // indirect
github.com/chromedp/cdproto v0.0.0-20241110205750-a72e6703cd9b // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/elazarl/goproxy v0.0.0-20240909085733-6741dbfc16a1 // indirect
Expand All @@ -39,14 +39,14 @@ require (
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.1 // indirect
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-plugin v1.6.2 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/invopop/yaml v0.3.1 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/klauspost/cpuid/v2 v2.2.9 // indirect
github.com/magefile/mage v1.15.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattetti/filebuffer v1.0.1 // indirect
Expand Down Expand Up @@ -74,28 +74,28 @@ require (
github.com/unknwon/log v0.0.0-20200308114134-929b1006e34a // indirect
github.com/urfave/cli v1.22.16 // indirect
github.com/zeebo/xxh3 v1.0.2 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.56.0 // indirect
go.opentelemetry.io/contrib/propagators/jaeger v1.31.0 // indirect
go.opentelemetry.io/contrib/samplers/jaegerremote v0.25.0 // indirect
go.opentelemetry.io/otel v1.31.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.31.0 // indirect
go.opentelemetry.io/otel/metric v1.31.0 // indirect
go.opentelemetry.io/otel/sdk v1.31.0 // indirect
go.opentelemetry.io/otel/trace v1.31.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.57.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.57.0 // indirect
go.opentelemetry.io/contrib/propagators/jaeger v1.32.0 // indirect
go.opentelemetry.io/contrib/samplers/jaegerremote v0.26.0 // indirect
go.opentelemetry.io/otel v1.32.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.32.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.32.0 // indirect
go.opentelemetry.io/otel/metric v1.32.0 // indirect
go.opentelemetry.io/otel/sdk v1.32.0 // indirect
go.opentelemetry.io/otel/trace v1.32.0 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
golang.org/x/tools v0.26.0 // indirect
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/net v0.31.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.20.0 // indirect
golang.org/x/tools v0.27.0 // indirect
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.1 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697 // indirect
google.golang.org/grpc v1.68.0 // indirect
google.golang.org/protobuf v1.35.2 // indirect
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading
Loading