Module: Elasticsearch::API::Profiling::Actions
- Included in:
- ProfilingClient
- Defined in:
- lib/elasticsearch/api/namespace/profiling.rb,
lib/elasticsearch/api/actions/profiling/status.rb
Instance Method Summary collapse
-
#status(arguments = {}) ⇒ Object
Returns basic information about the status of Universal Profiling.
Instance Method Details
#status(arguments = {}) ⇒ Object
Returns basic information about the status of Universal Profiling.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/elasticsearch/api/actions/profiling/status.rb', line 34 def status(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || "profiling.status" } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_GET path = "_profiling/status" params = Utils.process_params(arguments) Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) ) end |