This repository was archived by the owner on Jan 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconfig.html
More file actions
59 lines (56 loc) · 3.46 KB
/
config.html
File metadata and controls
59 lines (56 loc) · 3.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<datasource-http-settings current="ctrl.current" suggest-url="https://try.wavefront.com"></datasource-http-settings>
<h5>Wavefront Settings</h5>
<div class="gf-form-group">
<div class="gf-form-inline">
<div class="gf-form">
<span class="gf-form-label width-10">Token</span>
</div>
<div class="gf-form max-width-24">
<i class="gf-form-label max-width-22 text-center" ng-show="ctrl.wavefrontTokenExists">Configured</i>
<a class="btn btn-secondary gf-form-btn" style="flex-grow:1" type="submit" ng-click="ctrl.resetWavefrontToken()" ng-show="ctrl.wavefrontTokenExists">Reset</a>
<input type="text" class="gf-form-input max-width-24" ng-hide="ctrl.wavefrontTokenExists" ng-model="ctrl.current.jsonData.wavefrontToken"/>
<info-popover mode="right-absolute" ng-hide="ctrl.wavefrontTokenExists">
Paste your Wavefront user token here. You can find and manage your tokens on your profile page in the Wavefront app
</info-popover>
</div>
</div>
<div class="gf-form-inline">
<div class="gf-form">
<span class="gf-form-label width-10">CSP OAuth Token</span>
</div>
<div class="gf-form max-width-24">
<i class="gf-form-label max-width-22 text-center" ng-show="ctrl.cspOAuthExists">Configured</i>
<a class="btn btn-secondary gf-form-btn" style="flex-grow:1" type="submit" ng-click="ctrl.resetCspOAuth()" ng-show="ctrl.cspOAuthExists">Reset</a>
<input type="text" class="gf-form-input max-width-24" ng-hide="ctrl.cspOAuthExists" ng-model="ctrl.current.jsonData.cspOAuthClientId"/>
<input type="text" class="gf-form-input max-width-24" ng-hide="ctrl.cspOAuthExists" ng-model="ctrl.current.jsonData.cspOAuthClientSecret"/>
<info-popover mode="right-absolute" ng-hide="ctrl.cspOAuthExists">
Paste your CSP OAuth token here. You can find and manage your tokens on your profile page in the Wavefront app
</info-popover>
</div>
</div>
qqq
<div class="gf-form-inline">
<div class="gf-form">
<span class="gf-form-label width-10">CSP API Token</span>
</div>
<div class="gf-form max-width-24">
<i class="gf-form-label max-width-22 text-center" ng-show="ctrl.cspApiTokenExists">Configured</i>
<a class="btn btn-secondary gf-form-btn" style="flex-grow:1" type="submit" ng-click="ctrl.resetCspApiToken()" ng-show="ctrl.cspApiTokenExists">Reset</a>
<input type="text" class="gf-form-input max-width-24" ng-hide="ctrl.cspApiTokenExists" ng-model="ctrl.current.jsonData.cspAPIToken"/>
<info-popover mode="right-absolute" ng-hide="ctrl.cspApiTokenExists">
Paste your CSP API token here. You can find and manage your tokens on your profile page in the Wavefront app
</info-popover>
</div>
</div>
<div class="gf-form-inline">
<div class="gf-form">
<span class="gf-form-label width-10">Timeout (seconds)</span>
</div>
<div class="gf-form max-width-24">
<input type="number" class="gf-form-input max-width-24" ng-model="ctrl.current.jsonData.timeoutSecs" min="5" max="6" placeholder="auto" empty-to-null/>
<info-popover mode="right-absolute">
Client-side timeout in seconds for requests against this Wavefront instance (default is 15)
</info-popover>
</div>
</div>
</div>