Dominik Prokop
918f11d81e
Revert "Dashboard: Reduce scope of contain: strict
to TextPanel ( #75466 )
...
Revert "Dashboard: Reduce scope of `contain: strict` to TextPanel (#75329 )"
This reverts commit ade0de5ae9
.
2023-09-26 08:51:26 -07:00
Matias Chomicki
edbe45efc2
Elasticsearch: HTTP settings migration ( #72840 )
...
* Elasticsearch: migrate data source http settings
* Elasticsearch: migrate data source http settings
* Remove test code
* Update unit test
* Connection settings: add url placeholder
* Elasticsearch config editor: improve on-change handling of custom auth
* Config editor: add missing oauthPassThru option
2023-09-26 17:17:17 +02:00
Leon Sorokin
ade0de5ae9
Dashboard: Reduce scope of contain: strict
to TextPanel ( #75329 )
2023-09-25 23:47:38 +03:00
Galen Kistler
a996f3b4a7
Loki Query Builder: Throw warning in query builder when order of operations is ambiguous ( #75198 )
...
* flag vector aggregations containing metric expressions (i.e.`(...)`) containing binary operation expressions with ambiguous error in the UI when switching between code and visual query builders.
2023-09-25 21:28:51 +03:00
Sarah Zinger
ef441f02d0
Cloudwatch: Fix Unexpected error ( #74420 )
...
Fix unexpected error when creating a new cloudwatch datasource.
Involves a fair amount of refactoring, so if this causes unexpected issues related to region fetching we can turn this off with the cloudwatchNewRegionsHandler feature toggle, although we do not predict it will so we are enabling it to default to true and hope to remove it shortly.
2023-09-25 14:19:12 -04:00
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
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
0668820259
StateTimeline: Refactor hover markers ( #75326 )
2023-09-23 05:35:17 +03: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
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
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
Andres Martinez Gotor
c70623fb85
Chore: Rename testdata plugin with a fully qualified name ( #75104 )
2023-09-22 15:00:40 +03: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
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
Joao Silva
42cc6b1842
GrafanaUI: Create Box component ( #73637 )
2023-09-21 17:13:19 +01:00
John Martins
8585a2fcbd
Add postgreSQL Flexible Server Monitoring Dashboard ( #74953 )
...
* Add postgreSQL Flexible Server Monitoring Dashboard
* Fix grammatical errors
2023-09-21 11:44:18 +01:00
Leon Sorokin
492ba97ba1
BarChart: Axes centered zero, borders, and colors ( #75136 )
2023-09-20 11:15:29 -05:00
Gareth Dawson
9def0d2305
Loki: Fix timerange for query stats request ( #72193 )
...
* call query stats with whole query
* call stats when query type changes
* fix stats request timerange
* feedback: extract functions from component
* feedback: remove "or string" types
* feedback: use ds timerange picker end
* partial: fix broken test
* changes
* update test comment
* rename variable
* add comment explain message prop
* make getStatsTimeRange a datasource method
* update tests for getStatsTimeRange
* make getStats a datasource method
* update failing tests
* update failing tests
* remove import
* Update public/app/plugins/datasource/loki/datasource.test.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-09-20 16:47:21 +01:00
Sven Grossmann
480aa1ccca
Loki: Fix filters not being added with multiple expressions and parsers ( #75152 )
...
* determine last positions per expr
* fix lint
2023-09-20 16:54:24 +02:00
Andrej Ocenas
15e54df9f2
Pyroscope: Remove "phlare" from variable, types, strings etc ( #75140 )
2023-09-20 16:31:22 +02:00
Fabrizio
d1296f7213
Use const assertion instead of type assertion ( #75165 )
2023-09-20 17:31:09 +03:00
Andrej Ocenas
b622ac2a66
Flamegraph: Remove unused code after move to package ( #75103 )
2023-09-20 14:51:23 +02:00
Andrej Ocenas
501e547bea
Pyroscope: Fix error when no profile types are returned ( #75143 )
2023-09-20 12:29:56 +02:00
Leon Sorokin
9dc0c8be11
TimeSeries: Rename axisShow -> axisBorderShow ( #75127 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-09-19 23:43:15 +03:00
Leon Sorokin
780b60dc81
XYChart: Fix numerous axis options ( #75044 )
2023-09-19 14:44:50 -05:00
ismail simsek
64dd8df441
InfluxDB: Fix applying ad-hoc filters when querying with backend mode ( #74973 )
...
* Add adhoc filters to tags when querying with backend mode
* betterer
* Remove unnecessary parameters
2023-09-19 16:23:01 +02:00
Andreas Christou
1386725251
CloudMonitoring: Use EditorField
components ( #75102 )
...
* Use EditorField
* Fix lint
2023-09-19 14:53:20 +01:00
Andrej Ocenas
f7aab06e23
Pyroscope: Remove support for old pyroscope ( #74683 )
2023-09-19 10:09:28 +02:00
Fabrizio
9113c6d959
Tempo: Improve autocompletion for TraceQL editor ( #74790 )
2023-09-19 09:23:35 +02:00
Torkel Ödegaard
1105b93104
AdhocFilters: Improve typing and signature of getTagKeys and getTagValues and behaviors ( #74962 )
...
* Add adhocFilters to DataQueryRequest
* More changes
* Progress
* Working
* added baseFilters to picker
* Remove unused code
* minor fix
2023-09-19 08:24:45 +02:00
Adela Almasan
5caf4e1485
Canvas: Button API Editor support template variables ( #74779 )
2023-09-19 00:16:21 +03:00
Andreas Christou
b779ce5687
AzureMonitor: Improve Log Analytics query efficiency ( #74675 )
...
* Promisify loading schema
- Move schema loading to LogsQueryEditor
- Improve typing
- Switch callbacks to promises
* Update types
* Refactor backend for new props
- Rename intersectTime
- Support setting timeColumn
- Add additional properties to logs request body
* Update applyTemplateVariables
* Update set functions
* Add new TimeManagement component
* Update LogsQueryEditor
* Hardcode timestamp column for traces queries
* Ensure timeColumn is always set for log queries
* Update tests
* Update frontend tests
* Readd type to make migration easier
* Add migration
* Add fake schema
* Use predefined type
* Update checks and defaults
* Add tests
* README updates
* README update
* Type update
* Lint
* More linting and type fixing
* Error silently
* More linting and typing
* Update betterer
* Update test
* Simplify default column setting
* Fix default column setting
* Add tracking
* Review
- Fix typo on comment
- Destructure and remove type assertion
- Break out await into two variables
- Remove lets and rename variable for clarity
2023-09-18 18:38:39 +01:00
Andrej Ocenas
f6f47678a4
QueryRunners: Bind the query function where it is passed on ( #73399 )
2023-09-18 17:00:43 +02:00
Adela Almasan
0815d7f627
Canvas: Button API Editor support setting parameters ( #74637 )
2023-09-18 09:25:35 -05:00
Torkel Ödegaard
ab75fbd009
TimeSeries: Old graph migration fix for series override lines: true ( #74970 )
2023-09-18 16:19:59 +02:00
Gareth Dawson
a2e1a7e2f7
MySQL: Update configuration page styling ( #74902 )
...
* config page update
* move SecureSocksProxySettings out of tls/ssl
2023-09-18 15:02:55 +01:00
ismail simsek
7f0570401e
InfluxDB: Fix adhoc filter call ( #74961 )
...
* Handle nullable parameters properly
* run prettier
2023-09-18 14:44:55 +02:00
Gábor Farkas
1f6f866a36
sql: do not use the getTimeSrv call ( #74800 )
...
* sql: eliminate the getTimeSrv call
* adjusted tests
2023-09-18 10:39:05 +02:00
Torkel Ödegaard
401ec3c4b0
DashboardScene: Meta data tab ( #74810 )
...
* DashboardScene: Inspect meta tab
* DashboardScene: Inspect meta tab
* fix casing
* Added meta data inspector to testdata data source
2023-09-18 09:00:59 +02:00
Adela Almasan
59b7789ada
Canvas: Add support for selecting the button variant ( #74782 )
2023-09-14 12:20:58 -05:00
Andre Pereira
fa2f0333f6
Tempo: Added not regex operator ( #74907 )
...
Added not regex operator
2023-09-14 16:18:05 +01:00
Adela Almasan
a0e6e76ca6
Canvas: Button API Editor support setting content-type ( #74682 )
2023-09-14 10:17:21 -05:00
Andre Pereira
a046c043d7
Tempo: Fix traceID converted to infinity (∞) ( #74913 )
...
Fixes the traceid to be sent as the infinity symbol for span links
2023-09-14 15:12:39 +01:00
Torkel Ödegaard
ed3fb71f7b
DashboardScene: Panel menu tracking, adding explore menu action and unit tests ( #74867 )
...
* DashboardScene: Panel menu updates, adding explore action
* DashboardScene: Panel menu updates, adding explore action
* Fix test
* Update test
2023-09-14 16:12:20 +02:00
Andre Pereira
dc44ac7b78
Tempo: Added spss config - spans per span set ( #74832 )
...
* Added spss config - spans per span set
* Set default spss when calling Tempo
2023-09-14 10:49:18 +01:00
Brendan O'Handley
9d4b19af48
add feature tracking for regex and null metadata ( #74763 )
2023-09-13 09:42:30 -04:00
Joey
a8a8c9849d
Tempo: Metrics summary update sorting no values ( #74818 )
...
* Update sorting when there is no value
* Update test
2023-09-13 14:23:17 +01:00
Joey
a12c224cc0
Tempo: Metrics summary no value ( #74582 )
...
Metrics summary no value
2023-09-13 10:22:22 +01:00