config.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <datasource-http-settings current="ctrl.current" suggest-url="http://localhost:8086">
  2. </datasource-http-settings>
  3. <h3 class="page-heading">InfluxDB Details</h3>
  4. <div class="gf-form-group">
  5. <div class="gf-form-inline">
  6. <div class="gf-form max-width-30">
  7. <span class="gf-form-label width-7">Database</span>
  8. <input type="text" class="gf-form-input" ng-model='ctrl.current.database' placeholder="" required></input>
  9. </div>
  10. </div>
  11. <div class="gf-form-inline">
  12. <div class="gf-form max-width-15">
  13. <span class="gf-form-label width-7">User</span>
  14. <input type="text" class="gf-form-input" ng-model='ctrl.current.user' placeholder=""></input>
  15. </div>
  16. <div class="gf-form max-width-15">
  17. <span class="gf-form-label width-7">Password</span>
  18. <input type="password" class="gf-form-input" ng-model='ctrl.current.password' placeholder=""></input>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="gf-form-group">
  23. <div class="gf-form-inline">
  24. <div class="gf-form">
  25. <span class="gf-form-label">Min time interval</span>
  26. <input type="text" class="gf-form-input width-6" ng-model="ctrl.current.jsonData.timeInterval" spellcheck='false' placeholder="10s"></input>
  27. <info-popover mode="right-absolute">
  28. A lower limit for the auto group by time interval. Recommended to be set to write frequency,
  29. for example <code>1m</code> if your data is written every minute.
  30. </info-popover>
  31. </div>
  32. </div>
  33. </div>