David Parrott
7fbeefc090
Alerting: create wrapper for Alertmanager to enable org level isolation ( #37320 )
...
Introduces org-level isolation for the Alertmanager and its components.
Silences, Alerts and Contact points are not separated by org and are not shared between them.
Co-authored with @davidmparrott and @papagian
2021-08-24 11:28:09 +01:00
Karl Persson
7ebf4027a7
Access Control: refactor permission evaluator to be more flexible ( #35996 )
...
* add a more flexible way to create permissions
* update interface for accesscontrol to use new eval interface
* use new eval interface
* update middleware to use new eval interface
* remove evaluator function and move metrics to service
* add tests for accesscontrol middleware
* Remove failed function from interface and update inejct to create a new
evaluator
* Change name
* Support Several sopes for a permission
* use evaluator and update fakeAccessControl
* Implement String that will return string representation of permissions
for an evaluator
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2021-08-24 11:36:28 +02:00
Domas
9d8f61c738
Alerting: allow creating/editing recording rules for Loki and Cortex ( #38064 )
2021-08-24 10:31:56 +02:00
Dimitris Sotirakis
309d263531
Chore: Add public/lib to .prettierignore ( #38479 )
...
* Add public/lib to .prettierignore
* Fixes according to reviewer's comments
2021-08-24 10:11:44 +02:00
Vicky Lee
c5f384c654
docs: update cloud data sources README links ( #37820 )
...
* docs: update cloud data sources README links
* Update public/app/plugins/datasource/cloudwatch/README.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update public/app/plugins/datasource/grafana-azure-monitor-datasource/README.md
* Update public/app/plugins/datasource/cloud-monitoring/README.md
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-08-24 10:11:07 +02:00
Olof Bourghardt
05b0df2254
Zipkin: support running queries with keyboard shortcut ( #37960 )
...
* Zipkin: replace input field with QueryField component
* Fix failing tests
* Remove console.log
* Partially migrate test to react
* Zipkin: finish migration from enzyme to react
* Remove comments
2021-08-24 09:52:34 +02:00
idafurjes
ccab9611cb
API: Add theme validation ( #38432 )
...
* Add theme validation
* Fix lint for const
2021-08-24 08:41:15 +02:00
Leon Sorokin
403bbd0144
GraphNG: optimize measureText(), drop estimation for y-axis auto-sizing ( #38475 )
2021-08-24 00:11:19 -05:00
Villena Guillaume
4cb87b6b60
Annotations Panel: Show annotations end time if present ( #38425 )
...
* Annotation Panel: Show annotation end time if present
* Added hyphen between dates
2021-08-23 20:57:44 -07:00
Travis Patterson
6548cd89af
Add honeycomb plugin logo ( #38461 )
2021-08-23 14:33:55 -06:00
Ryan McKinley
425ec7ca9e
Schema: create a new schema package for basic models ( #38409 )
2021-08-23 13:03:41 -07:00
Stephanie Closson
8d126de305
Added enterprise features to the schema ( #38463 )
2021-08-23 16:39:26 -03:00
Tharun Rajendran
2156980edb
Datasource: add button to navigate to explore from settings ( #36119 )
...
Fixes #13737
2021-08-23 09:23:49 -06:00
Maria Alexandra
ef8e95ac7f
Pipeline: Revert a11y changes to fix publish frontend metrics step ( #38452 )
2021-08-23 16:45:59 +02:00
Karl Persson
864c526d9a
Access Control: Update docs with the correct scope name ( #38444 )
...
* Update docs with the correct scope name
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-08-23 16:39:40 +02:00
Connor Lindsey
a2525005e5
Manually set query type in Tempo explore on component mount ( #38408 )
...
* Manually set query type in Tempo explore on component mount
2021-08-23 07:51:45 -06:00
Ivana Huckova
74fef637af
Prometheus: Use default POST method if no httpMethod provided ( #38446 )
...
* Prometheus: If no httpMethod, use default POST method
* Use http.MethodPost
2021-08-23 15:25:40 +02:00
Alex Khomenko
49fdab7e43
grafana/ui: Clarify InlineField docs ( #38100 )
...
* grafana/ui: clarify InlineField docs
* grafana/ui: revert formatting
* grafana/ui: revert formatting[2]
* grafana/ui: do not format code samples
* grafana/ui: disable mdx formatting
2021-08-23 16:25:09 +03:00
Peter Holmberg
eba21f3145
Alerting: Append appSubUrl to links if present ( #38069 )
...
* append appSubUrl if present
* remove null check
2021-08-23 14:57:30 +02:00
idafurjes
769b7a5865
Bug: Register OpenTSDB with correct service name ( #37581 )
...
* Bug: Register OpenTSDB with correct service name
* USe Register instead of RegisterAndStart
2021-08-23 14:56:53 +02:00
Maria Alexandra
6396f05320
Pa11y: add logs to a11y step in terminal to provide more info of status ( #38445 )
2021-08-23 14:54:33 +02:00
Jeremy Price
9a71cec1f0
Access Control: Make the evaluator prefix match only ( #38025 )
...
* Make the evaluator prefix match only
* Handle empty scopes
* Bump version of settings read role
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2021-08-23 14:03:20 +02:00
Villena Guillaume
1b3eecddcd
Annotation Panel: Fix annotation with end time not being centered ( #38423 )
...
* Annotation Panel: Fix annotation with end time not being centered
* Update public/app/plugins/panel/annolist/AnnoListPanel.tsx
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-08-23 12:03:27 +01:00
Dimitris Sotirakis
64cb000d37
Chore: Add e2e-tests-server as dependencies on steps that publish packages ( #38059 )
...
* Add e2e-tests-server as dependencies on steps that publish packages
* Sign drone yaml
2021-08-23 13:39:16 +03:00
Jeremy Price
e124167d05
access control: 1527/Correct grammar in usage-scenarios ( #35142 )
...
* First revision
* Update docs/sources/enterprise/access-control/usage-scenarios.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/enterprise/access-control/usage-scenarios.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Note about creating roles
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
2021-08-23 11:37:19 +02:00
Uchechukwu Obasi
ab74bb78b2
A11y metrics: fixes frontend script that pushes to CI Stat dashboard ( #38435 )
2021-08-23 11:36:39 +02:00
Maria Alexandra
b579a707e3
A11y - Add Pa11y CI in main pipeline to collect a11y issues ( #37741 )
...
Co-authored-by:
Hugo Häggmark <hugo.haggmark@gmail.com>
thisisobate <obasiuche62@gmail.com>
2021-08-23 10:08:01 +02:00
Gábor Farkas
9e8035ef30
devenv: influxdb: update telegraf config ( #37835 )
2021-08-23 09:38:47 +02:00
Jack Westbrook
bafe16368a
Chore: Migrate CustomScrollbar to react-custom-scrollbars-2 ( #38013 )
2021-08-23 09:28:58 +02:00
idafurjes
b9a538aff0
Bug: Add check before delete org ( #38056 )
...
* Add check before delete org
* Fix comment
* Simpify check if signed in user belongs to the org
* Add check on login if user has and existing org
change error code to 400, when org can not be deleted
* Roll back last commit, regarding an different issue
2021-08-23 08:58:35 +02:00
Ryan McKinley
8c4c05493b
Dashboard: keep live timeseries moving left (v2) ( #37769 )
2021-08-20 14:48:55 -07:00
Travis Patterson
32e11434da
Fire event after datasource delete ( #38090 )
2021-08-20 14:51:31 -06:00
Ryan McKinley
b88f8bacf3
DataFrame: add frame type key to DataFrame structure ( #38092 )
2021-08-20 09:26:40 -07:00
achatterjee-grafana
d38ce58045
replace "blah" with "example". ( #38114 )
2021-08-20 10:09:21 -04:00
Will Browne
ae17cce316
Plugins: Add Hide OAuth Forward config option ( #36306 )
...
* add prop
* add angular conf
* invert naming
* undo md changes
* fix wording
* y u fail 4 me
* refactor(datasourcesettings): rename hideForwardOAuthIdentityOption prop
* refactor(datasourcesettings): rename scope.hideForwardOAuthIdentityOption
* Update contribute/style-guides/e2e.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* feat(datasourcehttpsettings): add showForwardOAuthIdentityOption to angular wrappers & template
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-08-20 15:53:54 +02:00
Olof Bourghardt
5231660627
Explore: use GrafanaTheme2 (LiveLogs component) ( #37452 )
...
* Explore: use GrafanaTheme2
* Explore: add correct style values. Add theme.v1 to the styles that were uncertain
* Logs: add use of GrafanaTheme2 in varioius log components
* Styles: add some of the correct values recieved via feedback
* Add correct style values
* Update public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update public/app/plugins/panel/dashlist/styles.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Explore: fix failing tests
* Explore: add styling values from v2
* Fix small type error
* Replace v1 styles with v2 styles
* Remove forgotten v1 values
* Remove more v1 style values
* Apply correct style value to LogRowMessage
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-08-20 14:53:03 +02:00
Kevin Minehart
b3c4b20953
Docker: Update base alpine version (fix CVE-2021-36159) ( #38088 )
...
* update base alpine version and update apk packages in Dockerfile
* update base alpine version
* don't need to apk update
* remove space
* Update to alpine 3.14.1
Co-authored-by: Malcolm Holmes <mdh@odoko.co.uk>
2021-08-20 12:54:03 +01:00
Jack Westbrook
d9a2dd8a4b
Chore: Align enzyme dependencies in root and jaeger workspace ( #38006 )
...
* chore: align enzyme dependencies in root and jaeger workspace
* chore(yarn): refresh lock file
2021-08-20 12:54:29 +02:00
Hugo Häggmark
a0773b290b
Dashboard: Prevents folder change when navigating to general settings ( #38103 )
...
* Dashboard: Prevents folder change when navigating to general settings
* Tests: fixes broken tests
* Chore: changes from PR feedback
2021-08-20 11:53:48 +02:00
Jack Westbrook
5ff3b7bf3f
Chore: Bump storybook to 6.3.7 ( #38008 )
2021-08-20 11:40:20 +02:00
Dimitris Sotirakis
16c518582f
Chore: Prevent branches beginning with "v*" from being considered as versioned branches ( #38016 )
...
* Add v8* and v9* "regex" to only build versioned branches
* Add glob pattern matching
* Sign drone yaml
2021-08-20 09:22:53 +03:00
Jason Stangroome
28784935b8
Sort notification channels alphabetically ( #37426 )
...
Even without the ability to control the sort order or to filter, this notably improves usability for long lists of notification channels.
Partially fixes #20067 .
2021-08-19 22:49:14 +02:00
Grot (@grafanabot)
170d1bf954
ReleaseNotes: Updated changelog and release notes for 8.1.2 ( #38086 )
2021-08-19 23:15:30 +03:00
Douglas Thrift
d18205ff20
Matchers: handle undefined with Is/Is not null ( #38036 )
2021-08-19 11:24:01 -07:00
Mitch Seaman
5edba603a8
Add metadata ( #30138 )
...
* Sentence case
* Fix typo
* steps not paragraph
* prepare for merge conflict
* another merge conflict fix
* Update docs/sources/enterprise/license/activate-license.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* add suggested changes from docs team manually
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-08-19 19:26:26 +02:00
Leon Sorokin
7cc15c848f
Chore: sync yarn.lock ( #38077 )
2021-08-19 11:24:38 -05:00
Nathan Rodman
df791ae2af
Alerting: Add custom grouping for alert groups ( #37378 )
...
* Group alertmangaer alerts by custom grouping
* Filter am groups
* Style filter components
* Style filter bar and add clear functionality
* rename components to alert group
* use query params for group filters
* filter style improvements
* add tests for group by
* Add grouping banner to better highlight groupings
* clean up hook logic
2021-08-19 09:22:52 -07:00
Connor Lindsey
6ed60c0bec
Tempo: Use echo endpoint when testing Tempo datasource ( #38018 )
...
* Use echo endpoint when testing Tempo datasource
* Remove unreachable error message
* Null check response
2021-08-19 09:56:03 -06:00
Piotr Jamróz
f7501ff77f
Graphite: Convert tag values returned as numbers to strings ( #37882 )
...
* Convert tag values returned as numbers to string
This is a bug in Graphite <= 1.1.7. Since 1.1.8 all values are converted to strings.
* Simplify type conversions
* Fix linting errors
2021-08-19 08:40:13 -07:00
Connor Lindsey
76b891b001
Tempo: Add Tempo search behind feature flag ( #37765 )
...
* Add Tempo search behind feature flag
* Add query fields for Tempo search
* Only show loki search if a logs-to-traces datasource is set up
* Refactor tempo search to use separate fields for service name, span name, and tags
* Add tests to buildSearchQuery
* Move search to separate component and rename type to native search
* Improve Tempo tokenizer syntax
2021-08-19 09:15:46 -06:00