Class: Mongo::Server::Monitor::AppMetadata Private

Inherits:
Server::AppMetadata
  • Object
show all
Defined in:
lib/mongo/server/monitor/app_metadata.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

App metadata for monitoring sockets.

It is easiest to start with the normal app metadata and remove authentication-related bits.

Since:

  • 2.0.0

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ AppMetadata

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of AppMetadata.

Since:

  • 2.0.0



27
28
29
30
31
32
# File 'lib/mongo/server/monitor/app_metadata.rb', line 27

def initialize(options = {})
  super
  return unless instance_variable_defined?(:@request_auth_mech)

  remove_instance_variable(:@request_auth_mech)
end