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
Dimitris Sotirakis
8e2ee0a1c8
Chore: Update to Golang 1.17 ( #38608 )
...
* Update to golang 1.17
* Further updates
* Run go mod tidy on go 1.17
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Use build-container:1.4.2
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-08-31 09:19:26 +03:00
Gábor Farkas
9e8035ef30
devenv: influxdb: update telegraf config ( #37835 )
2021-08-23 09:38:47 +02:00
Gábor Farkas
28229fc344
devenv: influxdb: simplified versioning for old-version influxdb ( #37726 )
2021-08-12 08:36:50 +02:00
Ivana Huckova
4f340550ee
Change master to latest for docker block ( #37310 )
2021-07-29 10:10:45 +02:00
Gábor Farkas
367f3ea0ae
devenv: influxdb: updated telegraf to new version ( #36795 )
2021-07-16 08:44:54 +02:00
Serge Zaitsev
93cd375ada
remove GO111MODULE ( #36235 )
2021-06-29 10:01:21 +02:00
Ester Martí Vilaseca
81a79aef23
Elasticsearch: add rate aggregation ( #33311 )
...
* Elasticsearch: add first version of rate aggregation
* Add test for rate aggreation settings editor
* Fix unit
* Add default value for mode for rate agg
* Add todo
* Revert "Add default value for mode for rate agg"
This reverts commit a44c985d8b
.
* Fix width when select is empty
* Add rate aggregation to elasticsearch models
* Remove rate aggregation from extended stats
* Move elastic2 docker block & add elastic (latest)
* Add versionRange to rate aggregation
* add 7.10 elasticsearch version option
* Set supportsInlineScript to true for rate aggregation
* Remove fixed width from select
* Change seconds label for rate aggregation unit options dropdown
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Elfo404 <me@giordanoricci.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-06-28 11:55:31 +01:00
Gábor Farkas
31aaf94e91
devenv: updated influxdb1 version ( #36031 )
2021-06-23 08:35:13 +02:00
Chris Cowan
f580c9149c
Elasticsearch: Add Top Metrics Aggregation and X-Pack support ( #33041 )
...
* Elasticsearch: Add Top Metrics Aggregation
* Adding support for non-timeseries visualizations
* removing console.logs
* restoring loadOptions type
* Honor xpack setting
* Adding test for elastic_response
* adding test for query builder
* Adding support of alerting
* Fixing separator spelling
* Fixing linting issues
* attempting to reduce cyclomatic complexity
* Adding elastic77 Docker block
* Update public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/MetricEditor.test.tsx
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
* refactoring MetricsEditor tests
* Fixing typo
* Change getFields type & move TopMetrics to a separate component
* Fix SegmentAsync styles in TopMetrics Settings
* Fix field types for TopMetrics
* WIP
* Refactoring client side to support multiple top metrics
* Adding tests and finishing go implimentation
* removing fmt lib from debugging
* fixing tests
* reducing the cyclomatic complexity
* Update public/app/plugins/datasource/elasticsearch/elastic_response.ts
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
* Update public/app/plugins/datasource/elasticsearch/hooks/useFields.ts
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
* Checking for possible nil value
* Fixing types
* fix fake-data-gen param
* fix useFields hook
* Removing aggregateBy and size
* Fixing go tests
* Fixing TS tests
* fixing tests
* Fixes
* Remove date from top_metrics fields
* Restore previous formatting
* Update pkg/tsdb/elasticsearch/client/models.go
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
* Update pkg/tsdb/elasticsearch/client/models.go
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
* Fix code review comments on processTopMetricValue
* Remove underscore from variable names
* Remove intermediate array definition
* Refactor test to use testify
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
Co-authored-by: Elfo404 <me@giordanoricci.com>
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-06-04 11:07:59 +01:00
Marcus Efraimsson
35a4b2c651
Chore: Fix jaeger devenv block ( #34795 )
2021-05-28 08:47:18 +02:00
Gábor Farkas
49126bebaa
devenv: unify slow_proxy_mac and slow_proxy ( #34630 )
...
* devenv: update slow_proxy block to work on mac
* devenv: removed unnecessary block slow_proxy_mac
2021-05-27 08:44:35 +02:00
Gábor Farkas
0c2bb9562a
devenv: slow_proxy_mac: make configurable and smaller ( #34560 )
2021-05-24 10:25:30 +02:00
Andrej Ocenas
615de9bf34
Zipkin: Add node graph view to trace response ( #34414 )
...
* Add graph transform
* Add tests
* Refactor code
* Update test
* Fix zipkin block
Co-authored-by: David Kaltschmidt <david.kaltschmidt@gmail.com>
2021-05-20 10:01:28 +02:00