|
17 | 17 | - typesense.conversations_models: Provides the ConversationsModels class. |
18 | 18 | - typesense.debug: Provides the Debug class. |
19 | 19 | - typesense.keys: Provides the Keys class. |
| 20 | + - typesense.metrics: Provides the Metrics class. |
20 | 21 | - typesense.multi_search: Provides the MultiSearch class. |
21 | 22 | - typesense.operations: Provides the Operations class. |
22 | 23 | - typesense.stopwords: Provides the Stopwords class. |
|
43 | 44 | from typesense.conversations_models import ConversationsModels |
44 | 45 | from typesense.debug import Debug |
45 | 46 | from typesense.keys import Keys |
| 47 | +from typesense.metrics import Metrics |
46 | 48 | from typesense.multi_search import MultiSearch |
47 | 49 | from typesense.operations import Operations |
48 | 50 | from typesense.stemming import Stemming |
@@ -72,6 +74,7 @@ class Client: |
72 | 74 | operations (Operations): Instance for various Typesense operations. |
73 | 75 | debug (Debug): Instance for debug operations. |
74 | 76 | stopwords (Stopwords): Instance for managing stopwords. |
| 77 | + metrics (Metrics): Instance for retrieving system and Typesense metrics. |
75 | 78 | conversations_models (ConversationsModels): Instance for managing conversation models. |
76 | 79 | """ |
77 | 80 |
|
@@ -102,6 +105,7 @@ def __init__(self, config_dict: ConfigDict) -> None: |
102 | 105 | self.operations = Operations(self.api_call) |
103 | 106 | self.debug = Debug(self.api_call) |
104 | 107 | self.stopwords = Stopwords(self.api_call) |
| 108 | + self.metrics = Metrics(self.api_call) |
105 | 109 | self.conversations_models = ConversationsModels(self.api_call) |
106 | 110 |
|
107 | 111 | def typed_collection( |
|
0 commit comments