Kian Eliasi
e3c50f0cd6
Chore: Remove any from public/app/plugins/datasource/elasticsearch/hooks/useNextId.test.tsx
( #53427 )
...
* Remove any from public/app/plugins/datasource/elasticsearch/hooks/useNextId.test.tsx
* Fix lint and update betterer results
2022-08-10 09:25:35 +02:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
renovate[bot]
d87cd6f26c
Update dependency prettier to v2.5.1 ( #43473 )
...
* Update dependency prettier to v2.5.1
* prettier fixes
* chore(toolkit): bump prettier to 2.5.1
* style(eslint): bump grafana config to 2.5.2 in core and toolkit
* style(mssql-datasource): fix no-inferrable-types eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-02-02 12:02:32 +00:00
Giordano Ricci
b5e4a0a39a
Elasticsearch: Only show numbers in histogram field autocomplete ( #38631 )
2021-08-27 17:19:44 +01:00
Hugo Häggmark
dba15190af
Chore: Upgrades rxjs to 7.3.0 ( #37913 )
...
* Chore: upgrades rxjs to 7.3.0
* Chore: replaces toPromise with lastValueFrom
* Chore: removes unused mock that caused test error
* Chore: fixes build error in PieChartPanel
* Chore: fixed build error in requestAllIndices
* Chore: fixes comment
* Chore: trying to reduce docs errors
* Chore: searches for explicit api extractor warnings
* Chore: updates rxjs-spy to 8.0.0
* Chore: reverts to main
* Chore: upgrade rxjs and rxjs-spy
2021-08-19 06:38:31 +02:00
Giordano Ricci
2f21bf5cfd
Chore: Reduce Elasticsearch data source plugin strict errors ( #37399 )
2021-08-05 16:03:38 +01: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
Giordano Ricci
7cfd979cc1
Chore: remove usages of FunctionComponent in elasticsearch plugin ( #33175 )
2021-05-04 16:23:19 +01:00
Giordano Ricci
cdb4785496
Elasticsearch: Allow omitting field when metric supports inline script ( #32839 )
...
* Elasticsearch: Allow omitting field when metric supports inline script
* Add tests for MetricEditor to show a None option
* Add tests for useFields hook
* Alerting: allow elasticsearch metrics without field
2021-04-14 15:18:06 +01:00
Giordano Ricci
4429f2cf58
Elasticsearch: Fix query initialization logic & query transformation from Promethous/Loki ( #31322 )
...
* Elasticsearch: Fix query initialization logic
* Only import prometheus & loki queries as log queries
2021-02-23 21:58:07 +00:00
Giordano Ricci
c77fb9fa13
Elasticsearch: Fix broken alerting when using pipeline aggregations ( #29903 )
...
* Elasticsearch: Fix broken alerting when using pipeline aggregations
* call onRunQuery after every query change
2021-01-06 15:51:21 +00:00
Giordano Ricci
bb45f5fedc
Elasticsearch: Migrate queryeditor to React ( #28033 )
...
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-12-04 14:29:40 +00:00