diff --git a/docker-compose.yml b/docker-compose.yml index 4e81d32..37b19f4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ grafana: ports: - "3000:3000" volumes: - - ./dist:/var/lib/grafana/plugins/kentik-app + - ./dist:/var/lib/grafana/plugins/kentik-connect-app - ./provisioning:/etc/grafana/provisioning environment: - TERM=linux diff --git a/src/components/add_device.ts b/src/components/add_device.ts index f7d0caf..db41bd3 100644 --- a/src/components/add_device.ts +++ b/src/components/add_device.ts @@ -42,12 +42,12 @@ export class AddDeviceCtrl { ips.push(ip.ip); }); this.device.sending_ips = ips.join(); - const resp = await this.backendSrv.post(`/api/plugin-proxy/kentik-app/api/v5/device`, this.device); + const resp = await this.backendSrv.post(`/api/plugin-proxy/kentik-connect-app/api/v5/device`, this.device); if ('err' in resp) { this.alertSrv.set('Device Add failed.', resp.err, 'error'); throw new Error(`Device Add failed: ${resp.err}`); } else { - this.$location.url('/plugins/kentik-app/page/device-list'); + this.$location.url('/plugins/kentik-connect-app/page/device-list'); } } } diff --git a/src/components/device_details.html b/src/components/device_details.html index f79ea13..592f74b 100644 --- a/src/components/device_details.html +++ b/src/components/device_details.html @@ -120,7 +120,7 @@

Update device details

- Cancel + Cancel diff --git a/src/components/device_details.ts b/src/components/device_details.ts index eb8b5e1..acee981 100644 --- a/src/components/device_details.ts +++ b/src/components/device_details.ts @@ -39,7 +39,7 @@ export class DeviceDetailsCtrl { async fetchDevice(deviceId: string): Promise { const resp = await this.backendSrv.get( - `/api/plugin-proxy/kentik-app/api/v5/device/${deviceId}` + `/api/plugin-proxy/kentik-connect-app/api/v5/device/${deviceId}` ); this.device = resp.device; this.updateDeviceDTO(); @@ -81,7 +81,7 @@ export class DeviceDetailsCtrl { try { const resp = await this.backendSrv.put( - `/api/plugin-proxy/kentik-app/api/v5/device/${this.deviceDTO.device_id}`, + `/api/plugin-proxy/kentik-connect-app/api/v5/device/${this.deviceDTO.device_id}`, data ); if ('err' in resp) { diff --git a/src/components/device_list.html b/src/components/device_list.html index 0e889cd..3de7c60 100644 --- a/src/components/device_list.html +++ b/src/components/device_list.html @@ -4,7 +4,7 @@

Kentik Connect: Devices

- +

To infinity...and beyond.

This is taking longer than expected.

We apologize, something may be up. Please try refreshing first, and contact us if @@ -17,7 +17,7 @@

Kentik Connect: Devices

Looks like you don’t have any devices yet.
- Add a new device + Add a new device

@@ -26,7 +26,7 @@

Kentik Connect: Devices

What's a device?
-
+

Devices in Kentik are sources of network flow data - commonly a network component such as a switch or router, or a flow generation agent on a host/server.

@@ -46,7 +46,7 @@

Kentik Connect: Devices

- +
diff --git a/src/components/device_list.ts b/src/components/device_list.ts index 12f0bb0..c88d98a 100644 --- a/src/components/device_list.ts +++ b/src/components/device_list.ts @@ -37,7 +37,7 @@ class DeviceListCtrl { } gotoDeviceDetail(device: any) { - this.$location.url('/plugins/kentik-app/page/device-details?device=' + device.id); + this.$location.url('/plugins/kentik-connect-app/page/device-details?device=' + device.id); } } diff --git a/src/datasource/kentik_api.ts b/src/datasource/kentik_api.ts index eff2cc4..016ea3c 100644 --- a/src/datasource/kentik_api.ts +++ b/src/datasource/kentik_api.ts @@ -10,7 +10,7 @@ export class KentikAPI { baseUrl: string; /** @ngInject */ constructor(public backendSrv: BackendSrv, public $http: ng.IHttpService) { - this.baseUrl = '/api/plugin-proxy/kentik-app'; + this.baseUrl = '/api/plugin-proxy/kentik-connect-app'; } async getDevices(): Promise { diff --git a/src/module.ts b/src/module.ts index 571531e..ca14622 100644 --- a/src/module.ts +++ b/src/module.ts @@ -8,8 +8,8 @@ import { AddDeviceCtrl } from './components/add_device'; import { loadPluginCss } from 'grafana/app/plugins/sdk'; loadPluginCss({ - dark: 'plugins/kentik-app/styles/dark.css', - light: 'plugins/kentik-app/styles/light.css', + dark: 'plugins/kentik-connect-app/styles/dark.css', + light: 'plugins/kentik-connect-app/styles/light.css', }); export { DeviceListCtrl, DeviceDetailsCtrl, AddDeviceCtrl, ConfigCtrl }; diff --git a/src/panel/call_to_action/module.html b/src/panel/call_to_action/module.html index db6ddbe..37dfbbd 100644 --- a/src/panel/call_to_action/module.html +++ b/src/panel/call_to_action/module.html @@ -1,4 +1,4 @@ - +

Kentik Connect Pro for Grafana allows you to quickly and easily add network activity visibility metrics to your Grafana dashboard. By leveraging the power of Kentik’s monitoring SaaS, you can enjoy rich, actionable insights into consumers of network bandwidth and anomalies that can affect application or service diff --git a/src/panel/call_to_action/module.ts b/src/panel/call_to_action/module.ts index 2dfe2c9..8c94581 100644 --- a/src/panel/call_to_action/module.ts +++ b/src/panel/call_to_action/module.ts @@ -8,8 +8,8 @@ import * as _ from 'lodash'; loadPluginCss({ - dark: 'plugins/kentik-app/styles/dark.css', - light: 'plugins/kentik-app/styles/light.css', + dark: 'plugins/kentik-connect-app/styles/dark.css', + light: 'plugins/kentik-connect-app/styles/light.css', }); const panelDefaults = { diff --git a/src/panel/device_list/module.html b/src/panel/device_list/module.html index f0b964c..a39463e 100644 --- a/src/panel/device_list/module.html +++ b/src/panel/device_list/module.html @@ -4,7 +4,7 @@

Kentik Connect Pro: Devices

- +

To infinity...and beyond.

This is taking longer than expected.

We apologize, something may be up. Please try refreshing first, and contact us if @@ -16,7 +16,7 @@

Kentik Connect Pro: Devices

-

Looks like you don’t have any endpoints yet. Add +

Looks like you don’t have any endpoints yet. Add a device now.

@@ -43,13 +43,13 @@

Kentik Connect Pro: Devices

- +