linoman
c915cb2d5c
Update auth/jwt_proxy
and auth/oauth
reference ( #54781 )
2022-09-06 15:46:01 +02:00
linoman
638fb5dc6d
Fix docker compose for openldap
and oauth
( #54745 )
...
* Fix reference for `openldap` block
* Fix volume reference for `oauth` block
2022-09-06 14:22:03 +02:00
Jo
4952b7f22d
Add JWT url auth documentation ( #54040 )
...
* add jwt auth docs
* add appropriate warnings to docs
* remove unimplemented login_token assumptions
* Update conf/sample.ini
2022-09-05 03:46:50 -04:00
Joe Blubaugh
56369457d4
Grafana Backend: Establish a database version support policy. ( #54374 )
...
As stated in the documentation, Grafana will support the versions of our backend database options that are supported by their projects at the time that a Grafana release is issued.
2022-08-31 09:40:35 +08:00
linoman
3f0beee362
Update README build references ( #54394 )
2022-08-29 16:36:06 +02:00
Marcus Efraimsson
9ff2b33ff1
Chore: Fix prometheus docker block ( #54388 )
2022-08-29 08:42:46 -04:00
linoman
d2547bb832
Chore: Group auth docker blocks ( #54274 )
...
* Move auth docker images to parent folder
* Add README file for auth parent folder
* Add grafana-authnz-team as code owner
* Update `devenv` docs
2022-08-29 08:36:56 +02:00
Marcus Efraimsson
cd5f27a25d
Plugins: Propagate distributed tracing headers to backend plugins ( #54107 )
2022-08-24 11:55:49 +02:00
linoman
52904151f1
Update open ldap for macos ( #53819 )
...
* Add new OpenLDAP Docker block for macOS
* Add preconfigured users, groups and modules
* Add README
2022-08-18 12:31:19 +02:00
Gábor Farkas
6fe2d4724a
devenv: elastic: update to new version ( #53825 )
2022-08-17 15:02:00 +02:00
Jo
062d255124
Handle ioutil deprecations ( #53526 )
...
* replace ioutil.ReadFile -> os.ReadFile
* replace ioutil.ReadAll -> io.ReadAll
* replace ioutil.TempFile -> os.CreateTemp
* replace ioutil.NopCloser -> io.NopCloser
* replace ioutil.WriteFile -> os.WriteFile
* replace ioutil.TempDir -> os.MkdirTemp
* replace ioutil.Discard -> io.Discard
2022-08-10 15:37:51 +02:00
linoman
9f749eead7
Fix cloak typo ( #53474 )
2022-08-09 17:38:49 +02:00
Mihály Gyöngyösi
3ac4415d6d
Devenv: Universal jwt_proxy environment ( #53377 )
...
* change hostname to env.grafana.local to not collide with any custom host.docker.internal settings
* add WSL2 documentation
* update general documentation
* cleanup
2022-08-09 17:02:36 +02:00
linoman
ed5dac7a75
Fix groups and useres indentation ( #53414 )
2022-08-09 08:05:15 +02:00
Joey Tawadrous
1592ea45b0
Tempo: Devenv update to support all features ( #52728 )
...
* Tempo devenv
* Add logging to tempo devenv
* Update readme
* Formatting
* Update loki image
* Update tempo image
2022-08-03 11:24:50 +01:00
Jo
c2d3c90bc8
Auth: Implement Token URL JWT Auth ( #52662 )
...
* Auth: check of auth_token in url and resolve user if present
* check if auth_token is passed in url
* Auth: Pass auth_token for request if present in path
* no need to decode token in index
* temp
* use loadURLToken and set authorization header
* cache token in memory and strip it from url
* Use loadURLToken
* Keep token in url
* strip sensitive query strings from url used by context logger
* adapt login by url to jwt token
* add jwt iframe devenv
* add jwt iframe devenv instructions
* add access note
* add test for cleaning request
* ensure jwt token is not carried into handlers
* do not reshuffle queries, might be important
* add correct db dump location
* prefer set token instead of cached token
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-07-27 16:10:47 +02:00
Kristina
0e13ee345d
Explore: Change datasourceName usage to datasourceUID or datasourceRef where appropriate ( #52479 )
...
* First pass at using datasource UID when appropriate
* Fix tests
* be more lenient with lookup to accomodate different URLs
* Make test setup get mock work like real datasource get
* Fix the typing issue and remaining tests
* Fix PR feedback
2022-07-25 13:05:57 -05:00
Jguer
b79b53cbdb
JWT: Add JWT proxy setup devenv ( #51731 )
...
* JWT: Add JWT Auth devenv
* Auth: JWT allow retrieving login token
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
* JWT: Add JWT Auth Proxy devenv
* JWT: Add instructions to readme
* JWT: Add JWT users
* JWT: Remove oauth users
* revert session changes, unnecessary
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2022-07-07 10:28:04 -04:00
Gábor Farkas
df9f86190f
devenv: influxdb: fix config ( #51781 )
2022-07-06 11:58:17 +02:00
Gabriel MABILLE
c9708e1813
Devenv: Add an oauth block ( #51514 )
...
* Devenv: Add an oauth block
* Adding profile to responses
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
2022-07-04 13:56:15 +02:00
Gabriel MABILLE
849d4a3c56
Fix postgres devenv ( #49487 )
2022-06-28 09:12:25 +02:00
Gábor Farkas
113e601dcf
devenv: elastic: fixed docker-compose syntax ( #49517 )
2022-06-07 11:04:27 +02:00
Gábor Farkas
6011c373ae
loki: handle ad hoc filters in backend mode ( #50135 )
...
* loki: handle ad hoc filters in backend mode
* devenv: better loki fake data
* added test
2022-06-03 10:53:03 +02:00
Gábor Farkas
52c775368b
devenv: loki: better fake logs ( #50024 )
...
* devenv: loki: more log-levels
* devenv: loki: logfmt mode
2022-06-02 10:23:26 +02:00
Will Browne
abfc711c53
Plugins: Remove deprecated /api/tsdb/query metrics endpoint ( #49916 )
...
* remove /api/tsdb/query
* revert changes to alert rules
* regenerate spec based on 9.0.x
2022-06-01 13:05:15 +02:00
Gábor Farkas
ebc20849bd
devenv: better loki environment ( #49383 )
...
* devenv: rename loki to loki-promtail
* devenv: new loki devenv entry with fake data generation
2022-05-25 11:01:17 +02:00
Gabriel MABILLE
41c99e4487
Devenv: Fix fake data gen to target mysql server ( #49472 )
2022-05-24 14:11:39 +02:00
Gábor Farkas
a3c5834594
Elastic: devenv: improved devenv-image ( #49002 )
...
* devenv: elastic: improved config
* better ascii-codes
2022-05-19 08:29:23 +02:00
Gábor Farkas
d73bd617f0
devenv: elastic: removed unsupported versions, first step ( #48960 )
2022-05-16 06:34:38 +00:00
Sofia Papagiannaki
f263cad8ab
Devenv: fix alert_webhook_listener ( #44820 )
2022-04-15 13:32:20 +02:00
Marcus Efraimsson
9eb2cd537d
Plugins: Make backend plugin metrics endpoints available with optional authentication ( #46467 )
...
* add new endpoint without auth+config
* add cfg check
* fit lint issue
* Add basic auth support
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
* WIP docs
* Update docs/sources/administration/view-server/internal-metrics.md
Co-authored-by: Dave Henderson <dhenderson@gmail.com>
* update instructions
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Dave Henderson <dhenderson@gmail.com>
2022-03-29 11:18:26 +02:00
Todd Treece
cf9f76319a
DevEnv: Enable remote write for prometheus ( #46256 )
2022-03-14 09:18:33 -04:00
Gábor Farkas
f0f43e4635
loki:devenv: better config name ( #45906 )
2022-02-25 13:32:24 +01:00
Ivana Huckova
9e452c7166
Devenv: Update Elasticsearch v7 image so it is usable on ARM (M1) ( #45612 )
...
* Devenv: Update Elasticsearch v7 images so they are usable on ARM (M1)
* Remove changes in 77
* Update data sources
2022-02-24 16:48:18 +01:00
Will Browne
4e23b06b40
remove old fields and expose ports ( #45626 )
2022-02-21 16:52:38 +01:00
Gabriel MABILLE
7c41cd15d7
Chore: Remove devenv link ( #45583 )
2022-02-18 09:44:18 +01:00
Christopher Moyer
46360ca0c3
Docs: refactored manage users and permissions content ( #44343 )
...
* initial refactor
* initial draft for teams
* restructed topics, added front matter
* modified aliases
* removes old files
* removed files
* initial refactor
* initial draft for teams
* restructed topics, added front matter
* modified aliases
* removes old files
* removed files
* final xrefs updates
* xref adjustment
* copy updates
* copy and content updates to about, add to org, add user, admin
* copy updates to remove user from org
* update org vs server admin section names, cross-link
* cross-link add and invite users to org
* add remaining cross-links between org and server admin
* add dashboard permissions table
* add permissions information to teams
* add copy invite instructions to invite management
* tweaks and link updates
* incorporated PM feedback
* fixed xrefs
* yarn prettier
* fix codespell
* combined teams and dashboard permissions content
Co-authored-by: Mitchel Seaman <mitchel.seaman@gmail.com>
2022-02-15 13:20:45 -06:00
Sofia Papagiannaki
4ca8529b76
Devenv: fix permission failures for mysql_tests and postgres_tests docker blocks ( #44203 )
2022-01-28 11:39:28 +02:00
Morten Nygaard Åsnes
9e4aafa719
MSSQL: Configuration of certificate verification for TLS connection ( #31865 )
...
Fixes #24589
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-01-26 15:00:18 +01:00
Victor Marin
f8b527b818
Build: Add MSSQL devenv for ARM64 processors ( #43888 )
...
* Build: Add MSSQL devenv for ARM64 processors
* Change docker image tag from latest to fixed version
2022-01-12 16:24:06 +02:00
lean.dev
79bf0fc3d1
Fixing login request in loadtest ( #43750 )
2022-01-11 10:35:02 -03:00
Gilles De Mey
56d088c441
devenv: fix maildev block ( #43624 )
2022-01-03 22:15:24 +01:00
Daniel Lee
e993f0c62e
devenv: Solving two of the code scanning fails ( #43084 )
...
* Solving two of the code scanning fails
Removes new lines from user input that is logged. Fixes CWE-117 from CodeQL
* remove newlines from request headers
* mask cookie value in header
* comment out logging of headers to solve CWE-117
Instructions added on uncommenting the log statement and on rebuilding the docker container
2021-12-21 11:36:21 +01:00
Yuriy Tseretyan
cdfb2d02d5
add maildev to docker blocks ( #42661 )
2021-12-02 19:45:56 -05:00
Giordano Ricci
1b99d88337
Elasticsearch: Add support for Elasticsearch 8.0 (Beta) ( #41729 )
...
* use fixed_interval in date_histogram
* Add 8.0 to available versions in datasource settings
* Remove moving_avg from available metric aggregations
* Add ES8 devenv
* Update public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/utils.ts
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Add FE tests
* Add BE test
* fix FE test
* fix BE test
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-11-17 20:30:53 +01:00
Gábor Farkas
f6ad3e420a
devenv: influxdb: better config ( #41456 )
2021-11-11 14:20:57 +01:00
Zoltán Bedi
ea583e7d42
Devenv: Fix fake data gen docker to use same network ( #41355 )
...
* Dev: MSSql fake data gen docker to use same network
* Fix all datasources that used network_mode: bridge
2021-11-08 19:53:57 +01:00
Jesse Weaver
502169baa8
Fix K6 load test script ( #38465 )
...
K6 now requires that the path to the load test be prefixed with /.
2021-10-29 09:38:41 -06:00
gotjosh
7db97097c9
Alerting: Support Unified Alerting with Grafana HA ( #37920 )
...
* Alerting: Support Unified Alerting in Grafana's HA mode.
2021-09-16 15:33:51 +01:00
Kyle Brandt
f524cdb5ee
devenv: update prom random_data for go1.17 (use go install) ( #38763 )
...
* devenv: update prom random_data for go1.17 (use go install)
* restore env vars and tags to install cmd
2021-09-02 10:32:09 +02:00