curl.js 547 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright 2018 Chizhong Jin <pjincz@gmail.com>
  3. * Licensed to the public under the BSD 3-clause license
  4. */
  5. 'use strict';
  6. 'require baseclass';
  7. return baseclass.extend({
  8. title: _('cUrl'),
  9. rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
  10. return {
  11. title: "%H: cUrl Response Time for #%pi",
  12. y_min: "0",
  13. alt_autoscale_max: true,
  14. vlabel: "Response Time",
  15. number_format: "%5.1lf%Ss",
  16. data: {
  17. types: [ "response_time" ],
  18. options: {
  19. response_time: {
  20. title: ""
  21. }
  22. }
  23. }
  24. };
  25. }
  26. });