/api/config

This endpoint returns information about the running configuration of the TSD. It is read only and cannot be used to set configuration options.

Conf API Endpoints

Verbs

  • GET

  • POST

Requests

This endpoint does not require any parameters via query string or body.

Example Request

Query String

  1. http://localhost:4242/api/config

Response

The response is a hash map of configuration properties and values.

Example Response

  1. {
  2. "tsd.search.elasticsearch.tsmeta_type": "tsmetadata",
  3. "tsd.storage.flush_interval": "1000",
  4. "tsd.network.tcp_no_delay": "true",
  5. "tsd.search.tree.indexer.enable": "true",
  6. "tsd.http.staticroot": "/usr/local/opentsdb/staticroot/",
  7. "tsd.network.bind": "0.0.0.0",
  8. "tsd.network.worker_threads": "",
  9. "tsd.storage.hbase.zk_quorum": "localhost",
  10. "tsd.network.port": "4242",
  11. "tsd.rpcplugin.DummyRPCPlugin.port": "42",
  12. "tsd.search.elasticsearch.hosts": "localhost",
  13. "tsd.network.async_io": "true",
  14. "tsd.rtpublisher.plugin": "net.opentsdb.tsd.RabbitMQPublisher",
  15. "tsd.search.enableindexer": "false",
  16. "tsd.rtpublisher.rabbitmq.user": "guest",
  17. "tsd.search.enable": "false",
  18. "tsd.search.plugin": "net.opentsdb.search.ElasticSearch",
  19. "tsd.rtpublisher.rabbitmq.hosts": "localhost",
  20. "tsd.core.tree.enable_processing": "false",
  21. "tsd.stats.canonical": "true",
  22. "tsd.http.cachedir": "/tmp/opentsdb/",
  23. "tsd.http.request.max_chunk": "16384",
  24. "tsd.http.show_stack_trace": "true",
  25. "tsd.core.auto_create_metrics": "true",
  26. "tsd.storage.enable_compaction": "true",
  27. "tsd.rtpublisher.rabbitmq.pass": "guest",
  28. "tsd.core.meta.enable_tracking": "true",
  29. "tsd.mq.enable": "true",
  30. "tsd.rtpublisher.rabbitmq.vhost": "/",
  31. "tsd.storage.hbase.data_table": "tsdb",
  32. "tsd.storage.hbase.uid_table": "tsdb-uid",
  33. "tsd.http.request.enable_chunked": "true",
  34. "tsd.core.plugin_path": "/usr/local/opentsdb/plugins",
  35. "tsd.storage.hbase.zk_basedir": "/hbase",
  36. "tsd.rtpublisher.enable": "false",
  37. "tsd.rpcplugin.DummyRPCPlugin.hosts": "localhost",
  38. "tsd.storage.hbase.tree_table": "tsdb-tree",
  39. "tsd.network.keep_alive": "true",
  40. "tsd.network.reuse_address": "true",
  41. "tsd.rpc.plugins": "net.opentsdb.tsd.DummyRpcPlugin"
  42. }