Jens L
|
53e2b2c784
|
Prometheus metrics (#914)
* admin: add worker metrics
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* admin: add version metrics
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* events: add gauge for system tasks
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outposts: add gauge for last hello and connection status
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* root: re-add prometheus metrics to database
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* root: allow access to metrics without credentials when debug is on
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* root: add UpdatingGauge to auto-set value on load
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: add metrics for cache and building
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* policies: add metrics for policy engine
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* events: add histogram for task durations
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* events: revert to gauge because values are updated on export view
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add gauge to count all models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* events: add metrics for events
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-23 20:29:34 +02:00 |
Jens Langhammer
|
1a0f72d0a8
|
Merge branch 'version-2021.5' into next
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# authentik/stages/authenticator_static/api.py
# swagger.yaml
|
2021-05-21 21:33:18 +02:00 |
Jens Langhammer
|
b3390f0ab4
|
website/docs: update nginx config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-20 22:06:55 +02:00 |
Jens Langhammer
|
be5a6c0310
|
api: add set_*_url method for Application and Flow to set icon/background to URL
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-20 17:18:40 +02:00 |
Jens Langhammer
|
92106ca4bf
|
api: add capabilities to API, add can_save_media
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-20 17:00:47 +02:00 |
Jens Langhammer
|
3cf0f07baf
|
*: fix API Schema for file uploads
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-17 23:12:52 +02:00 |
Jens Langhammer
|
9e7c9ae649
|
web: fix API Path
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-17 20:48:58 +02:00 |
Jens Langhammer
|
8b6292b3de
|
api: don't overwrite 400 and 403
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 20:54:58 +02:00 |
Jens Langhammer
|
cbed5a6522
|
api: fix missing error definitions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 19:53:04 +02:00 |
Jens Langhammer
|
589f806b7c
|
flows: fix schema for flow executor
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 19:13:31 +02:00 |
Jens Langhammer
|
41f6d3b6e7
|
stages/authenticator_static: add serializer for tokens
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 18:55:47 +02:00 |
Jens Langhammer
|
d0f1daf025
|
admin: make tasks's retry api not ask for a body
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 18:43:47 +02:00 |
Jens Langhammer
|
d38fd603dd
|
web: fix more special API Calls
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 18:41:02 +02:00 |
Jens Langhammer
|
ba5374f6e1
|
web: mass update API calls
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 18:24:15 +02:00 |
Jens Langhammer
|
7152d7ee01
|
outposts: fix schema for outposts health
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 18:10:11 +02:00 |
Jens Langhammer
|
ab07113530
|
admin: migrate WorkerViewSet to APIView
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 18:06:46 +02:00 |
Jens Langhammer
|
a7d7b46747
|
admin: migrate version view to APIView
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 18:00:02 +02:00 |
Jens Langhammer
|
9a44088d2b
|
admin: migrate metrics viewset to APIView
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 17:49:37 +02:00 |
Jens Langhammer
|
b351ae12c5
|
api: make config viewset single view
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 17:44:19 +02:00 |
Jens Langhammer
|
759bf59780
|
core: make filefields readonly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 17:34:55 +02:00 |
Jens Langhammer
|
ef9f08553c
|
*: linting pass, rename from swagger to schema
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 15:22:57 +02:00 |
Jens Langhammer
|
4fb71a6bdd
|
api: fix pagination schema
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 15:08:51 +02:00 |
Jens Langhammer
|
3ab7588b73
|
web: Read() to Retrieve()
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 14:43:42 +02:00 |
Jens Langhammer
|
0bac738090
|
*: fix static response descriptions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 14:07:29 +02:00 |
Jens Langhammer
|
1324d03815
|
*: initial migration to openapi v3
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-15 23:57:28 +02:00 |