-
-
Notifications
You must be signed in to change notification settings - Fork 78
Add alerting support #630
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
Closed
Closed
Add alerting support #630
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
641fbd3
Initial migration to a backend plugin
pcolladosoto 21fc19b
Update relevant info and paths
pcolladosoto d150fa5
WIP
pcolladosoto 383dac8
CheckHealth() seems to be working!
pcolladosoto 2fea9f2
wip: resources working
pcolladosoto 98a7526
Add a dummy test server
pcolladosoto 007122a
wip: funnel requests to the backend
pcolladosoto 6e61a00
Fix the pipelines (hopefully)
pcolladosoto 05375aa
Fix the pipelines (hopefully)
pcolladosoto 3296816
Merge branch '0.7.x' into main
simPod 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 |
|---|---|---|
|
|
@@ -11,3 +11,6 @@ | |
| /coverage/ | ||
| /dist/ | ||
| /node_modules/ | ||
|
|
||
| # Ignore packaged plugins | ||
| *.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 |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| //go:build mage | ||
| // +build mage | ||
|
|
||
| package main | ||
|
|
||
| import ( | ||
| // mage:import | ||
| build "github.com/grafana/grafana-plugin-sdk-go/build" | ||
| ) | ||
|
|
||
| // Default configures the default target. | ||
| var Default = build.BuildAll |
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 |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| CC := go | ||
| PKG_NAME := "uam_gtom" | ||
| VERSION := "1.0.0" | ||
| TRASH := dist $(PKG_NAME) *.zip | ||
|
|
||
| # Be sure to check https://grafana.com/developers/plugin-tools/publish-a-plugin/package-a-plugin?current-package-manager=yarn | ||
|
|
||
| package: clean build | ||
| mv dist/ $(PKG_NAME) | ||
| zip $(PKG_NAME)-$(VERSION).zip $(PKG_NAME) -r | ||
| rm -rf $(PKG_NAME) | ||
|
|
||
| build: frontend backend | ||
|
|
||
| frontend: | ||
| yarn build | ||
|
|
||
| backend: | ||
| mage -v build:linux | ||
|
|
||
| .PHONY: clean | ||
|
|
||
| clean: | ||
| rm -rf $(TRASH) |
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 |
|---|---|---|
| @@ -0,0 +1,92 @@ | ||
| module github.com/pcolladosoto/gtom-native | ||
|
|
||
| go 1.21 | ||
|
|
||
| require github.com/grafana/grafana-plugin-sdk-go v0.245.0 | ||
|
|
||
| require ( | ||
| github.com/BurntSushi/toml v1.3.2 // indirect | ||
| github.com/apache/arrow/go/v15 v15.0.2 // indirect | ||
| github.com/beorn7/perks v1.0.1 // indirect | ||
| 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-20220208224320-6efb837e6bc2 // indirect | ||
| github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect | ||
| github.com/elazarl/goproxy v0.0.0-20230731152917-f99041a5c027 // indirect | ||
| github.com/fatih/color v1.15.0 // indirect | ||
| github.com/getkin/kin-openapi v0.124.0 // indirect | ||
| github.com/go-logr/logr v1.4.2 // indirect | ||
| github.com/go-logr/stdr v1.2.2 // indirect | ||
| github.com/go-openapi/jsonpointer v0.20.2 // indirect | ||
| github.com/go-openapi/swag v0.22.8 // indirect | ||
| github.com/goccy/go-json v0.10.2 // indirect | ||
| github.com/gogo/protobuf v1.3.2 // indirect | ||
| github.com/golang/protobuf v1.5.4 // indirect | ||
| github.com/google/flatbuffers v23.5.26+incompatible // indirect | ||
| github.com/google/go-cmp v0.6.0 // indirect | ||
| github.com/google/uuid v1.6.0 // indirect | ||
| github.com/gorilla/mux v1.8.1 // indirect | ||
| github.com/grafana/otel-profiling-go v0.5.1 // indirect | ||
| 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.20.0 // indirect | ||
| github.com/hashicorp/go-hclog v1.6.3 // indirect | ||
| github.com/hashicorp/go-plugin v1.6.1 // indirect | ||
| github.com/hashicorp/yamux v0.1.1 // indirect | ||
| github.com/invopop/yaml v0.2.0 // indirect | ||
| github.com/josharian/intern v1.0.0 // indirect | ||
| github.com/json-iterator/go v1.1.12 // indirect | ||
| github.com/klauspost/compress v1.17.9 // indirect | ||
| github.com/klauspost/cpuid/v2 v2.2.5 // 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 | ||
| github.com/mattn/go-colorable v0.1.13 // indirect | ||
| github.com/mattn/go-isatty v0.0.19 // indirect | ||
| github.com/mattn/go-runewidth v0.0.9 // indirect | ||
| github.com/mitchellh/go-testing-interface v1.14.1 // indirect | ||
| github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
| github.com/modern-go/reflect2 v1.0.2 // indirect | ||
| github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect | ||
| github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
| github.com/oklog/run v1.1.0 // indirect | ||
| github.com/olekukonko/tablewriter v0.0.5 // indirect | ||
| github.com/perimeterx/marshmallow v1.1.5 // indirect | ||
| github.com/pierrec/lz4/v4 v4.1.18 // indirect | ||
| github.com/prometheus/client_golang v1.20.0 // indirect | ||
| github.com/prometheus/client_model v0.6.1 // indirect | ||
| github.com/prometheus/common v0.55.0 // indirect | ||
| github.com/prometheus/procfs v0.15.1 // indirect | ||
| github.com/russross/blackfriday/v2 v2.1.0 // indirect | ||
| github.com/unknwon/bra v0.0.0-20200517080246-1e3013ecaff8 // indirect | ||
| github.com/unknwon/com v1.0.1 // indirect | ||
| github.com/unknwon/log v0.0.0-20150304194804-e617c87089d3 // indirect | ||
| github.com/urfave/cli v1.22.15 // indirect | ||
| github.com/zeebo/xxh3 v1.0.2 // indirect | ||
| go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 // indirect | ||
| go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.53.0 // indirect | ||
| go.opentelemetry.io/contrib/propagators/jaeger v1.28.0 // indirect | ||
| go.opentelemetry.io/contrib/samplers/jaegerremote v0.22.0 // indirect | ||
| go.opentelemetry.io/otel v1.28.0 // indirect | ||
| go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 // indirect | ||
| go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0 // indirect | ||
| go.opentelemetry.io/otel/metric v1.28.0 // indirect | ||
| go.opentelemetry.io/otel/sdk v1.28.0 // indirect | ||
| go.opentelemetry.io/otel/trace v1.28.0 // indirect | ||
| go.opentelemetry.io/proto/otlp v1.3.1 // indirect | ||
| golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect | ||
| golang.org/x/mod v0.17.0 // indirect | ||
| golang.org/x/net v0.28.0 // indirect | ||
| golang.org/x/sync v0.8.0 // indirect | ||
| golang.org/x/sys v0.24.0 // indirect | ||
| golang.org/x/text v0.17.0 // indirect | ||
| golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect | ||
| golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect | ||
| google.golang.org/genproto v0.0.0-20210630183607-d20f26d13c79 // indirect | ||
| google.golang.org/grpc v1.65.0 // indirect | ||
| google.golang.org/protobuf v1.34.2 // indirect | ||
| gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect | ||
| gopkg.in/yaml.v3 v3.0.1 // indirect | ||
| ) | ||
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.
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.
Already bumped up the version and tweaked the module names to target your repo instead of my fork :P