eventstoredb.generated.event_store.client.monitoring#

Package Contents#

Classes#

StatsReq

The base class for protobuf messages, all generated messages will inherit from

StatsResp

The base class for protobuf messages, all generated messages will inherit from

MonitoringStub

Base class for async gRPC clients.

MonitoringBase

Base class for async gRPC servers.

class eventstoredb.generated.event_store.client.monitoring.StatsReq[source]#

Bases: betterproto.Message

The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.

bytes(x)

Calls __bytes__().

bool(x)

Calls __bool__().

use_metadata: bool#
refresh_time_period_in_ms: int#
class eventstoredb.generated.event_store.client.monitoring.StatsResp[source]#

Bases: betterproto.Message

The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.

bytes(x)

Calls __bytes__().

bool(x)

Calls __bool__().

stats: Dict[str, str]#
class eventstoredb.generated.event_store.client.monitoring.MonitoringStub(channel, *, timeout=None, deadline=None, metadata=None)[source]#

Bases: betterproto.ServiceStub

Base class for async gRPC clients.

Parameters:
  • channel (grpclib.client.Channel) –

  • timeout (Optional[float]) –

  • deadline (Optional[grpclib.metadata.Deadline]) –

  • metadata (Optional[MetadataLike]) –

async stats(stats_req, *, timeout=None, deadline=None, metadata=None)[source]#
Parameters:
  • stats_req (StatsReq) –

  • timeout (Optional[float]) –

  • deadline (Optional[grpclib.metadata.Deadline]) –

  • metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –

Return type:

AsyncIterator[StatsResp]

class eventstoredb.generated.event_store.client.monitoring.MonitoringBase[source]#

Bases: betterproto.grpc.grpclib_server.ServiceBase

Base class for async gRPC servers.

async stats(stats_req)[source]#
Parameters:

stats_req (StatsReq) –

Return type:

AsyncIterator[StatsResp]

__mapping__()[source]#
Return type:

Dict[str, grpclib.const.Handler]