Commit Graph
60 Commits
Author SHA1 Message Date
Owen Diehl 9976efda9d [hack] ignores embedded field in generation 2021-02-24 17:50:35 -05:00
Owen Diehl b7ba398bbf Merge remote-tracking branch 'origin/master' into lib/validation 2021-02-24 17:08:42 -05:00
Owen Diehl 4ba7757281 begins work on routing lib 2021-02-24 17:06:55 -05:00
Owen Diehl 0ef573754f api marshaling & validation 2021-02-24 16:53:23 -05:00
Owen Diehl ded0d4a969 ability to split routes between AM & Grafana 2021-02-24 11:15:39 -05:00
Owen Diehl 3b8ceda26a receiver unmarshaling tests 2021-02-24 10:35:03 -05:00
Sofia Papagiannaki a95bdfd1bd Merge pull request #12 from grafana/testing-endpoints
Add testing endpoints
2021-02-24 12:57:54 +02:00
Sofia Papagiannaki 875a8e5bb3 Change response type for Cortex/Loki alerts 2021-02-24 12:53:05 +02:00
Sofia Papagiannaki 093cc9a7d4 Merge remote-tracking branch 'origin/master' into testing-endpoints 2021-02-24 12:10:23 +02:00
Owen Diehl 0e9b78868f Merge remote-tracking branch 'origin/master' into lib/validation 2021-02-23 22:07:04 -05:00
Owen Diehl 27b287f587 Merge pull request #13 from grafana/replace-directives
Compilation fixes
2021-02-23 22:03:59 -05:00
Owen Diehl f889b7b3ef ignores vendor dir 2021-02-23 22:01:12 -05:00
Owen Diehl c933f7bf48 go mod tidy 2021-02-23 22:00:31 -05:00
Owen Diehl 9f283b16c3 pkg cleanup 2021-02-23 21:55:30 -05:00
Owen Diehl 87cabcda8d [wip] starts validation 2021-02-23 16:48:27 -05:00
Owen Diehl 5477076cb2 removes grpc replace directives 2021-02-23 16:47:38 -05:00
Sofia Papagiannaki 81ba27e6c3 Add testing endpoints 2021-02-23 20:17:30 +02:00
Domas e9ec87dc67 fix silences 2021-02-22 16:51:31 +02:00
Ganesh Vernekar 9cc5b1adaf Add POST /api/v1/alerts (#10)
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2021-02-22 20:11:25 +05:30
Ganesh Vernekar dbf8a3e27e Add id to POST /api/v1/silences (#9)
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2021-02-22 19:43:55 +05:30
Domas 0440301569 fix Ok -> Ack 2021-02-19 17:06:30 +02:00
Domas 5cab9b2a6d silences 2021-02-19 17:04:49 +02:00
Domas 0ceb0668c3 Merge pull request #8 from grafana/domas/ruler-json
make ruler json again
2021-02-19 16:38:50 +02:00
Domas 9804e0c1c7 PR fixes 2021-02-19 16:12:55 +02:00
Domas e0109cdebd make ruler json again 2021-02-19 16:01:16 +02:00
Sofia Papagiannaki e721368447 Merge pull request #7 from grafana/add-rules-endpoints
Add cortex ruler endpoints
2021-02-19 12:50:54 +02:00
Sofia Papagiannaki e2fb5533c9 Merge remote-tracking branch 'origin/master' into add-rules-endpoints 2021-02-19 12:48:20 +02:00
Domas b4a23f00cb rename fodler->namespace for perms 2021-02-19 12:36:05 +02:00
Domas 29b3354e4d fix grafana receiver type 2021-02-19 12:31:05 +02:00
Domas b74a29dd39 make folders POST again 2021-02-19 11:32:27 +02:00
Domas 50f0fbb3bc Merge pull request #6 from grafana/domas/folder-permissions
get/set folder permission routes
2021-02-19 11:20:00 +02:00
Domas bad13af6f2 folder perms 2021-02-19 11:15:08 +02:00
Sofia Papagiannaki 29c665ef0a Add missing json and yaml tags 2021-02-19 10:53:47 +02:00
Domas e93a13f8a7 rename prom swagger section for clarity, remove example endpoints 2021-02-19 10:30:53 +02:00
Domas bf5fc19e9c am alerts routes 2021-02-19 10:24:28 +02:00
Sofia Papagiannaki 5c6d44c549 Some fixes
- /api/v1/rules/{Namespace} should return a map
- update ExtendedUpsertAlertDefinitionCommand properties
2021-02-19 10:21:50 +02:00
Domas 2eeceb955d Merge pull request #3 from grafana/domas/update-config-route
align config endpoint with cortex, include templates
2021-02-19 09:40:06 +02:00
Sofia Papagiannaki eb26bb8842 Expose GrafanaManagedAlert properties 2021-02-18 17:35:56 +02:00
Domas d3f7df7c73 Update README.md 2021-02-18 17:30:35 +02:00
Domas 7aa2e6caca standalone swagger ui html page 2021-02-18 17:26:49 +02:00
Domas 6dae414764 Merge branch 'master' of github.com:grafana/alerting-api 2021-02-18 16:58:04 +02:00
Domas e4f779255f index html 2021-02-18 16:57:18 +02:00
Sofia Papagiannaki fd5fd392b2 add rules API 2021-02-18 16:36:20 +02:00
Owen Diehl bb5eb2afce Merge pull request #4 from grafana/change-grafana-receiver-type
Change grafana receiver type
2021-02-18 08:04:15 -05:00
Domas b51a59a59f rename struct to stop swagger thrashing 2021-02-18 12:41:05 +02:00
Sofia Papagiannaki 9961b19c11 Update receivers.go 2021-02-18 12:27:09 +02:00
Sofia Papagiannaki 17a0bdb205 Change grafana receiver type 2021-02-18 11:20:30 +02:00
Domas 5c2077f328 align config endpoint with cortex, include templates 2021-02-18 10:35:48 +02:00
Owen Diehl eee8f08f6f prometheus endpoints 2021-02-17 17:44:12 -05:00
Owen Diehl 51d5fb6f42 renames to receivers 2021-02-17 16:37:37 -05:00