mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Loki: Add backend healthcheck (#74330)
* add loki healthcheck * remove `testDatasource` call * remove unused error check * change success message * improve error messages
This commit is contained in:
@@ -4,8 +4,7 @@ const dataSourceName = 'LokiEditor';
|
||||
const addDataSource = () => {
|
||||
e2e.flows.addDataSource({
|
||||
type: 'Loki',
|
||||
expectedAlertMessage:
|
||||
'Unable to connect with Loki (Failed to call resource). Please check the server logs for more details.',
|
||||
expectedAlertMessage: 'Unable to connect with Loki. Please check the server logs for more details.',
|
||||
name: dataSourceName,
|
||||
form: () => {
|
||||
e2e().get('#connection-url').type('http://loki-url:3100');
|
||||
|
||||
@@ -5,8 +5,7 @@ const dataSourceName = 'LokiBuilder';
|
||||
const addDataSource = () => {
|
||||
e2e.flows.addDataSource({
|
||||
type: 'Loki',
|
||||
expectedAlertMessage:
|
||||
'Unable to connect with Loki (Failed to call resource). Please check the server logs for more details.',
|
||||
expectedAlertMessage: 'Unable to connect with Loki. Please check the server logs for more details.',
|
||||
name: dataSourceName,
|
||||
form: () => {
|
||||
e2e().get('#connection-url').type('http://loki-url:3100');
|
||||
|
||||
Reference in New Issue
Block a user