Marcus Efraimsson
534e3ebf0c
Plugins: Use a Grafana specific SDK tracer implementation for core plugins ( #75388 )
2023-09-26 14:46:31 +02:00
Giordano Ricci
1aa911dee6
Correlations: improve test ( #75370 )
...
* Correlations: improve test
* re-add err check
2023-09-26 12:21:24 +01:00
Todd Treece
440f9a6ffb
K8s: Register apiserver as background service, and list real playlists ( #75338 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2023-09-25 15:31:58 -07:00
Sijmen
60922e5f77
Cloudwatch: Add missing AWS regions ( #75392 )
2023-09-25 17:13:46 -04:00
Kat Yang
9532ff3799
Chore: Split OSS and Enterprise OAPI Spec Generation ( #75133 )
...
* chore: implement sofia makefile changes from #62456
* chore: clean up makefile and generate specs
* docs: update command to delete old specs
* fix: regenerate specs with enterprise linked
* chore: implement review comments
* Update Makefile
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
* chore: update make command in drone step
* chore: update bingo, fix makefile indentation error, regen specs
* fix: revert .bingo/README changes to make prettier happy
* chore: add BEP as owners of api-enterprise-spec.json
* chore: rerun drone
---------
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
2023-09-25 15:34:57 -04: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
João Calisto
7e1b45ba31
Feature Toggles API: Trigger webhook call when updating ( #75254 )
...
* Feature Toggles API: Trigger webhook call when updating
* update status code error check
* lint - handle Close() error
* Rename update webhook config
* fix tests
2023-09-25 19:11:24 +01:00
Karl Persson
d15661c726
IDForwarding: Add toggle for id forwarding ( #75378 )
...
Features: Add toogle for id forwarding
2023-09-25 18:21:28 +03: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
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
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
Ryan McKinley
e72b5c54f8
K8s/Playlist: Isolate apiGroup from server ( #75321 )
2023-09-22 18:29:43 -07:00
Todd Treece
0f398e940d
K8s: Playlist API example ( #75260 )
...
K8s: Playlist example
2023-09-22 14:17:53 -04: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
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
George Robinson
15f6e8a500
SQLStore: Fix race condition in RecursiveQueriesAreSupported ( #75274 )
2023-09-22 11:30:14 +01: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
William Wernert
925f12d0ea
Alerting: Add support for keep_firing_for field from external rulers ( #75163 )
...
* Add support for `keep_firing_for` in ruler proxy
* Don't delete `keep_firing_for` when editing a rule with the field set
Co-Authored-By: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
---------
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2023-09-21 16:02:53 -04:00
Juan Cabanas
633605af4e
PublicDashboards: Refresh ds plugin supported list ( #74947 )
2023-09-21 16:24:08 -03:00
Todd Treece
71fe6f8390
Live: Add logging to memory cache ( #75245 )
2023-09-21 12:59:01 -04:00
Will Browne
de2a107efa
Chore: Fix slug cfg name ( #75235 )
...
fix cfg name
2023-09-21 15:59:49 +03:00
Will Browne
e9e0e321b6
Chore: Add stack ID + slug to cfg ( #75227 )
...
* add stack ID + slug to cfg
* add to environment section
2023-09-21 14:45:43 +02:00
Esteban Beltran
8e8bd2760b
Plugins: Report plugin utilization of Grafana runtime dependencies ( #75156 )
...
* Plugins: Report plugin utilization of Grafana runtime dependencies
* Change approach to determine pluginName too
* Fix tests
* Update tests
* remove commented code
2023-09-21 13:36:32 +02:00
Kyle Brandt
b87279b8d8
Prometheus: Fix creation of invalid dataframes with exemplars ( #75187 )
...
for #73654
2023-09-21 07:30:14 -04:00
Will Browne
7fca1bde54
Plugins: Set grafana config, plugin version and user agent on plugin requests ( #75171 )
...
* first pass
* fixup
* remove test line
* fix tests
* use new fields
* fix imports + formatting
* fix tests
* rollback changes
* undo whitespace
* apply pr feedback
2023-09-21 11:33:31 +02:00
Andres Martinez Gotor
dd8f88b194
Chore: Remove lint exceptions from testdata backend ( #75148 )
2023-09-21 10:39:28 +02:00
Gabriel MABILLE
c8149d50f9
LDAP: FIX Enable users on successfull login ( #75073 )
...
* LDAP: Enable users on successfull login
* Force enable ldap users on successful login
* Fix tests
* Fix tests
2023-09-20 17:26:50 +02:00
Andrej Ocenas
15e54df9f2
Pyroscope: Remove "phlare" from variable, types, strings etc ( #75140 )
2023-09-20 16:31:22 +02:00
Steve Simpson
894f420014
Alerting: Pass loggers into SchedulerCfg and ManagerCfg. ( #75158 )
2023-09-20 15:07:02 +02:00
Carl Bergquist
764478b9e7
Instrumentation: Set auth as owners for more routes ( #75105 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2023-09-20 10:18:52 +02:00
Todd Treece
4f06d362df
Chore: Add additional debug info to live websocket pushes ( #75131 )
2023-09-19 19:33:23 -04:00
Deepali Gupta
b54e4c0ddb
Chore: Update metrics for AWS/MediaConnect ( #74946 )
2023-09-19 13:35:16 -04:00
Kyle Brandt
0e2ddf9864
Toggle: Enable Recorded Queries Multi support by default ( #75097 )
...
* Toggle: Enable Recorded Queries Multi support by default
2023-09-19 10:51:23 -04:00
Travis Patterson
98aa7db64a
Loki: Run queries in parallel behind lokiRunQueriesInParallel feature toggle ( #74064 )
...
* issue loki queries in parallel so total query time is only the slowest query rather than the sum of all query times.
* Fix lint
* Add running of queries in parallel behind feature toggle to test the functonality before release
* Add span end
* Move shared logic to separate function
* Add logging and tracing around running of all queries
---------
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com >
2023-09-19 12:34:01 +03:00
Sven Grossmann
727c83d562
Loki: Improve error logging in case statusCode is not 200 ( #75075 )
...
* improve loki logging
* fix error log
* fix logger arg
2023-09-19 11:11:27 +02:00
Andrej Ocenas
f7aab06e23
Pyroscope: Remove support for old pyroscope ( #74683 )
2023-09-19 10:09:28 +02: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
Laura Fernández
0ceeb18269
Navigation: Create feature toggle for dockedMegaMenu ( #74985 )
2023-09-18 12:57:11 +02:00
Giuseppe Guerra
322fde1f5b
Plugins: Angular: Removed getLegacyAngularInjector Angular pattern ( #74862 )
...
Plugins: Angular: Removed getLegacyAngularInjector angular pattern
2023-09-18 11:50:45 +02:00
Horst Gutmann
85abf2bebd
Chore: Upgrade Alpine base image to 3.18.3 ( #74984 )
2023-09-18 12:44:04 +03:00
Ivana Huckova
4f0b31d21b
Elasticsearch: Add tracing to data source ( #74750 )
...
* Elasticsearch: Add tracing do data source
* Fix tests
* Address feedback
* Update pkg/tsdb/elasticsearch/response_parser.go
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
* Update pkg/tsdb/elasticsearch/response_parser.go
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
* Track error across both spans
* Add span for decoding of response
* Fix test
* Update setting of errors + fix test
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2023-09-18 10:49:12 +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
Yuri Tseretyan
40c12c17bf
SSE: Reduce to add warning notice to only the first result ( #74940 )
2023-09-15 11:07:17 -04:00
Sven Grossmann
9328fda8ea
Logging: Add uname to context logger for plugins ( #74929 )
...
add `uname` to context logger for plugins
2023-09-14 20:23:01 +03:00
Yuri Tseretyan
68eda133e4
SSE: Reduce to apply Mode to instant vector (mathexp.Number) ( #74859 )
2023-09-14 12:26:00 -04:00
Sven Grossmann
aaef8d3b40
Loki: Add query expression to backend logging ( #74927 )
...
add query expression to loki log
2023-09-14 17:23:02 +02:00