File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
opamp/opentelemetry-opamp-client/src/opentelemetry/_opamp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ class OpAMPAgent:
144144 def __init__ (
145145 self ,
146146 * ,
147- interval : float ,
147+ interval : float = 30 ,
148148 message_handler : Callable [
149149 ["OpAMPAgent" , OpAMPClient , opamp_pb2 .ServerToAgent ], None
150150 ],
@@ -154,7 +154,7 @@ def __init__(
154154 client : OpAMPClient ,
155155 ):
156156 """
157- :param interval: seconds between automatic calls
157+ :param interval: seconds between heartbeat calls
158158 :param message_handler: user provided function that takes the received ServerToAgent message
159159 :param max_retries: how many times to retry a failed job for ad-hoc messages
160160 :param heartbeat_max_retries: how many times to retry an heartbeat failed job
You can’t perform that action at this time.
0 commit comments