Commit Graph

45366 Commits

Author SHA1 Message Date
Juan Luis Peña Wagner
ffb15ef363
NodeGraph: Allow to set node radius in dataframe (#74963)
Allow to set node radius in dataframe
2023-09-25 16:55:52 +02:00
Jo
40a1f8434d
Anon: Scaffold anon service (#74744)
* remove API tagging method and authed tagging

* add anonstore

move debug to after cache

change test order

fix issue where mysql trims to second

* add old device cleanup

lint

utc-ize everything

trim whitespace

* remove dangling setting

* Add delete devices

* Move anonymous authnclient to anonimpl

* Add simple post login hook

* move registration of Background Service

cleanup

* add updated_at index

* do not untag device if login err

* add delete device integration test
2023-09-25 16:25:29 +02:00
Miguel Palau
6f665b0901
add sap-hana tenant feature (#75350) 2023-09-25 10:25:11 -04:00
Isabella Siu
4cc72a22ad
OpenSearch: Add timeRange to parameters passed to getTagValues (#74952) 2023-09-25 09:57:39 -04:00
renovate[bot]
da23aef83d
Update babel monorepo (#75353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 14:27:35 +01:00
Andreas Christou
61e3f3a059
MSSQL: ConfigEditor updates (#75275)
* Add secure json data type

* Update Azure credentials form with Field components

- Update labels
- Update widths
- Remove excess code

* Update config editor

* Fix lint
2023-09-25 14:14:41 +01:00
Leon Sorokin
6811b0ae63
Dashboard: Set descending z-index of panels in a dashboard (v2) (#75328)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-09-25 06:46:11 -05:00
Andres Martinez Gotor
6b54aee4ba
Chore: Improve decoupled-plugin linter (#75285) 2023-09-25 12:15:15 +02:00
Andres Martinez Gotor
ece94b1e01
Chore: Remove plugincontext.ErrPluginNotFound (#74997) 2023-09-25 13:10:47 +03:00
Andres Martinez Gotor
1714fa598c
Chore: Refactor backend plugin errors (#74928) 2023-09-25 11:56:03 +02:00
Gabriel MABILLE
38d2357bb8
Docs: Add missing name attribute to SAML Authentication (#75355) 2023-09-25 11:29:04 +02:00
gotjosh
59694fb2be
Alerting: Don't use a separate collection system for metrics (#75296)
* Alerting: Don't use a separate collection system for metrics

The state package had a metric collection system that ran every 15s updating the values of the metrics - there is a common pattern for this in the Prometheus ecosystem called "collectors".

I have removed the behaviour of using a time-based interval to "set" the metrics in favour of a set of functions as the "value" that get called at scrape time.
2023-09-25 10:27:30 +01:00
renovate[bot]
1600f75d7e
Update dependency @grafana/scenes to v1.7.0 (#75295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 09:54:38 +01:00
Aditi Patel
56c75cc542
I18n: Markup ExploreToolbar component (#74292)
* chore: markup explore-split-toolbar and data-source-dropdown

* chore: markup explore-refesh-picker

* fix:  apostrophe in empty-recent-list paragraph

* chore: added markup for add to dashboard

* fix: corrected prefix

* fix: typos

* chore: updated markup prefixes in all other languages

* chore: added i18n markup for aria-labels

* i18n files generated

* i18n aria-label added for Add to Dashboard

* fix: fixed prefixes according to the grafana guidelines

* chore: generated i18n json files

* fix: fixed prefixes

* fix: apos; entity rendering

* chore: updated markup files

* chore: updated markup Locale file

* fix: updated prefix names

* chore: updated markup files

* fix: updated markup prefix for data-source-picker

* fix: trimmed extra spaces

* chore: updated markup files

* fix: added back translation phrases

* fix: Updated prefix name in DataSourceDropdown.tsx

* fix: created addToDashboard variable with translation markup
2023-09-25 10:38:17 +02:00
Torkel Ödegaard
5a91d00f52
EventBus: Fix error in ScopedEventBus (#75349) 2023-09-25 10:35:30 +02:00
Torkel Ödegaard
f4de29dd87
setRunRequest: Allow changing multiple times from tests (#75346)
setRunRequest: Allow changing multiple time from tests
2023-09-25 10:34:40 +02:00
Jo
11d2938387
Auth: Fix cron expressions in LDAP documentation (#74979)
fix cron expressions
2023-09-25 10:22:27 +02:00
Leon Sorokin
0668820259
StateTimeline: Refactor hover markers (#75326) 2023-09-23 05:35:17 +03:00
Ryan McKinley
e72b5c54f8
K8s/Playlist: Isolate apiGroup from server (#75321) 2023-09-22 18:29:43 -07:00
Isabel
042833376a
Docs: fixed typo (#75317)
Fixed typo
2023-09-22 15:26:18 -04:00
Todd Treece
0f398e940d
K8s: Playlist API example (#75260)
K8s: Playlist example
2023-09-22 14:17:53 -04:00
Leon Sorokin
aadd5bacfa
Chore: uPlot v1.6.26 (#75199) 2023-09-22 11:33:39 -05:00
ismail simsek
a64bfdfb94
InfluxDB SQL: Provide raw query preview for query history (#75030)
* log the sql query

* render the raw sql

* Update rawQuery

* unit tests
2023-09-22 17:40:18 +02:00
ismail simsek
d076f733e9
Prometheus: Fix applying ad-hoc filters to the expression that has a template variable (#75250)
* Interpolate first and then apply ad-hoc filters

* More tests
2023-09-22 17:32:19 +02:00
Nathan Marrs
13ea22ac1e
Chore: Remove reference to github discussions in canvas and geomap docs (#75258) 2023-09-22 08:30:52 -07:00
Tobias Skarhed
10a874ba6a
Stack: Improve layout (#75144)
* stack test cases

* more example

* Make changes to Stack

* Update mdx

* Add forwardRef

* Export Vertical and Horizontal components

* Fix spelling mistake

* PR feedback

* Fix export

* horizantal and vertical to row and column

* Fix failing import

---------

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-09-22 16:56:07 +02:00
Alex Khomenko
cfd468bcdd
InteractiveTable: Add controlled sort (#75289)
* InteractiveTable: Enable controlled sort

* InteractiveTable: Add docs and test

* InteractiveTable: Tweak docs

* InteractiveTable: More doc tweaks

* InteractiveTable: Remove assertion rules

* InteractiveTable: Review updates
2023-09-22 17:31:12 +03:00
Isabel
2192a34fc4
Docs: update visualization naming conventions (#74770)
* Fixed naming conventions for several visualizations

* Fixed naming conventions

* Fixed a missed refernce

* Apply suggestions from code review

Co-authored-by: Nathan Marrs  <nathanielmarrs@gmail.com>

* Fixed prettier linting error

---------

Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
2023-09-22 10:27:16 -04:00
Isabel
7cbca0dfa4
Docs: update visualization naming conventions - 2 (#74954)
* Updated naming style

* Updated viz names on Visualiztions index page
2023-09-22 10:17:17 -04:00
renovate[bot]
f0b75360db
Update dependency @grafana/faro-web-sdk to v1.2.1 (#75291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 15:11:32 +01:00
Ashley Harrison
ff0642bf6e
Chore: Type improvements 🧹 (#75271)
* fix some e2e flows types

* some type fixes

* must... fix... more...

* MOAR

* MOREMOREMORE

* 1 more
2023-09-22 15:06:49 +01:00
Ivan Ortega Alba
eba74f0408
Analytics: Track usage of auto-generate functionality (#75267) 2023-09-22 16:03:50 +02:00
Joey
4155f0a92e
Tracing: Fix cannot assign to read only property in TagMappingInput (#75070)
* Fix cannot assign to read only property in TagMappingInput

* cloneDeep and updates

* Update assignment

* Updates state change
2023-09-22 15:03:42 +01:00
lwandz13
c955eff1cb
Docs: Fix Tempo link errors (#75169)
* fix configure it broken link

* fixed configure Grafana agent link

* fix service graph link
2023-09-22 08:55:58 -05:00
renovate[bot]
7501dab95e
Update dependency @grafana/faro-core to v1.2.1 (#74957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 14:30:53 +01:00
Kristina
e1f7501359
Explore: Anchor to 0 in timeseries' stacked displays (#75251)
Anchor to 0 for stacked explore graphs
2023-09-22 07:50:29 -05:00
Galen Kistler
ac98197132
Loki Query Builder: binary expression and numeric literal bugs (#74950)
* Following similar changes made to prometheus in #47198, reverse the order of binary operator parameter array, and fix bugs introduced by importing prometheus lezer constants into loki parser

* add unit test asserting buildVisualQueryFromString does not properly parse queries with nested binary operations

* fix onOrIgnoring parsing logic which was always stripping out the value of the matcher when a boolean was found
2023-09-22 07:17:01 -05:00
Ashley Harrison
06d89e1929
Chore: add some basic validation tests for our eslint rules (#75284)
* add some basic validation tests for our eslint rules

* add 1 more valid case
2023-09-22 13:03:21 +01:00
Andres Martinez Gotor
c70623fb85
Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
Will Browne
d6db9eaeb2
Plugins: Make sure feature toggles config value is deterministic (#75249)
* make sure feature toggle config vals are deterministic

* fix nil pointer

* undo changes

* fix condition

* add tests
2023-09-22 13:56:48 +02:00
Ezequiel Victorero
4cfc834c08
HealthCheck: show enterprise commit (#75242) 2023-09-22 08:17:10 -03:00
Torkel Ödegaard
3529b7413d
DashboardScene: Include url params when switching from old dashboard arch to new (#74969)
* DashboardScene: Include url params when switching from old dashboard arch to new

* remove imports

* fix
2023-09-22 13:04:17 +02:00
Ivana Huckova
28b4d7fa0c
Loki: Remove unused methods (#75106)
* Loki: Remove unused imports in dataosurce.ts

* Extract range from props, fix lint

* Fix naming

* Remove unused types
2023-09-22 12:41:54 +02:00
George Robinson
15f6e8a500
SQLStore: Fix race condition in RecursiveQueriesAreSupported (#75274) 2023-09-22 11:30:14 +01:00
Andreas Christou
c78d5fa4e3
Update QueryVariableEditor layout (#75099)
* Allow setting legend header style and add container

* Use Box and Text components

* Minor element update

* Use box instead of div
2023-09-22 11:04:22 +01:00
Jack Westbrook
9052c2477d
Style: Add emotion/syntax-preference to betterer (#75266)
* style(betterer): add emotion/syntax-preference to betterer rules

* chore(betterer): refresh betterer.results for addition of emotion/syntax-preference
2023-09-22 12:41:09 +03:00
Matias Chomicki
91ed2a6afe
Loki Query Editor: Add support for new logfmt features (#74619)
* Loki autocomplete: add IN_LOGFMT situation for log queries

* Loki autocomplete: add IN_LOGFMT situation for metric queries

* Loki autocomplete: improve handling of trailing pipes and spaces

* Loki autocomplete: add logfmt arguments completion

* Loki autocomplete: add flags support to IN_LOGFMT

* Loki autocomplete: extend IN_LOGFMT situation with labels and flag

* Loki autocomplete: return logQuery in IN_LOGFMT situation

* Loki autocomplete: offer label completions when IN_LOGFMT

* Query utils: update parser detection method

* Validation: update test

* Loki autocomplete: improve IN_LOGFMT detection when in metric query

* Loki autocomplete: improve logfmt suggestions

* Loki autocomplete: improve logfmt suggestions in different scenarios

* Loki autocomplete situation: refactor resolvers to support multiple paths

* Situation: add test case

* Loki autocomplete: allow user to use 2 flags

* Situation: change flag to flags

* Remove console log

* Validation: import test parser

* Completions: better handling of trailing comma scenario

* Upgrade lezer-logql

* Revert temporary imports

* Loki Query Builder: Add support for new logfmt features (#74858)

* Query builder: add params to logfmt definition

* Logfmt operation: add default params

* Query builder: update deprecated JsonExpression

* Operation utils: update logfmt renderer

* Query builder: parse LogfmtParser

* Query builder: parse LogfmtExpressionParser

* Remove console log

* Remove unused variable

* Remove extra character from render

* Update unit tests

* Fix unit tests

* Operations: remove restParams from logfmt booleans

* Parsing: group cases

* Formatting

* Formatting

* Update modifyQuery

* LogContextProvider: update with parser changes

* LogContextProvider: remove unnecessary type castings

It takes more energy to write `as unknow as LokiQuery` than to write a refId.

* Formatting

* Situation: use charAt instead of substring with endsWith

* Situation: explain logfmt suggestions

* Logfmt: improve flag suggestions

* Remove console log

* Completions: update test
2023-09-22 12:34:17 +03:00
Leon Sorokin
c358135a63
TimeSeries: Apply selected line style to custom pathBuilders (#75261) 2023-09-22 04:32:32 -05:00
Carl Bergquist
e5fbc4a4cd
web: add slo group to request meta (#74765)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-09-22 11:52:28 +03:00
Andres Martinez Gotor
61cdfba87a
Feature: Allow to load a core plugin as external (#75157) 2023-09-22 10:50:13 +02:00