azure-monitor-datasource
azure-monitor-datasource copied to clipboard
Unable to input any values for API Key under "Application Insights Details"
Unable to type/paste anything into the input, thus not allowing users to create the data source.
Same here
Experiencing the same issue with v6.6.0
Got the same issue here. I've digged through the sourcecode and found that the file partials/config.html (line 182) has a disabled="disabled" attribute set. Is this expected behaviour?
Same issue here. I've also tried to directly manipulate the DOM tree to add the values manually, but no luck :( As a result, I can't run any queries against applications insight. A quick fix would be very much appreciated.
I think this is the issue:
ng-model="ctrl.current.secureJsonData.appInsightsApiKey"
The API-key model i bound to appInsightsApiKey
, and I can't seem to find it bound up to any code. So it remains undefined whatever we write.
If my prediction that /src/partials/config.html
is used and not dist/
I've changed the files in the dist folder (removed the disabled property) and uploaded it to a 'other' plugin (appended -temp) to the plugin-id. Looks like it works with this change:
@muziekklas What did you change exactly (code)? I didn't want to build Grafana from source and just added the API key directly into the grafana.db
but no luck... I still get a Metric request error
when creating a new metric query via the Application Insights service.
I've changed the source code of the plugin, as i've mentioned in my previous comment
On Thu, 6 Feb 2020, 16:12 subesokun, [email protected] wrote:
@muziekklas https://github.com/muziekklas What did you change exactly (code)? I didn't want to build Grafana from source and just added the API key directly into the grafana.db but no luck... I still get a Metric request error when creating a new metric query via the Application Insights service.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/grafana/azure-monitor-datasource/issues/121?email_source=notifications&email_token=ABDSPC4J4AWROZL2DUQBHJ3RBQSGZA5CNFSM4KN4EK32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK7SB6I#issuecomment-582951161, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDSPC6563IETLUAHSFNX6TRBQSGZANCNFSM4KN4EK3Q .
Sorry my fault, I was looking into the bundled Azure monitor plugin https://github.com/grafana/grafana/blob/master/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/InsightsConfig.tsx#L49
Seems like this issue exists also there :(
Anyhow, the AngularJS version is fairly easy to fix. I havn't looked into the react one though
On Thu, 6 Feb 2020, 16:56 subesokun, [email protected] wrote:
Sorry my fault, I was looking into the bundled Azure monitor plugin https://github.com/grafana/grafana/blob/master/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/InsightsConfig.tsx#L49
Seems like this issue exists also there :(
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/grafana/azure-monitor-datasource/issues/121?email_source=notifications&email_token=ABDSPC5CR26Y5BON2SLHLS3RBQXMVA5CNFSM4KN4EK32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK7XK7A#issuecomment-582972796, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDSPC2YIPXK3SKITUSVRMLRBQXMVANCNFSM4KN4EK3Q .