[#356] Added pprof endpoint and working dir to service attributes #356

Merged
anurindm merged 1 commit from anurindm/frostfs-testlib:working-dir-and-pprof into master 2025-02-05 07:44:28 +00:00
Member

Signed-off-by: Dmitry Anurin danurin@yadro.com

Signed-off-by: Dmitry Anurin <danurin@yadro.com>
anurindm added 1 commit 2025-02-04 07:30:11 +00:00
[#354] Added pprof endpoint and working dir to service attributes
All checks were successful
DCO action / DCO (pull_request) Successful in 27s
f5a5330191
Signed-off-by: Dmitry Anurin <danurin@yadro.com>
requested review from qa-committers 2025-02-04 07:30:11 +00:00
anurindm changed title from [#354] Added pprof endpoint and working dir to service attributes to [#356] Added pprof endpoint and working dir to service attributes 2025-02-04 07:30:22 +00:00
abereziny reviewed 2025-02-04 18:09:49 +00:00
@ -147,0 +152,4 @@
Returns working directory path located on remote host
"""
config_attributes = self.host.get_service_config(self.name)
return self._get_attribute(ConfigAttributes.WORKING_DIR) if ConfigAttributes.WORKING_DIR in config_attributes.attributes else None
Member

else None cannot be returned with -> str: hint :)

`else None` cannot be returned with `-> str:` hint :)
Author
Member

Fixed, thanks

Fixed, thanks
abereziny marked this conversation as resolved
abereziny reviewed 2025-02-04 18:14:19 +00:00
@ -15,6 +16,7 @@ class ConfigAttributes:
ENDPOINT_DATA_0_NS = "endpoint_data0_namespace"
ENDPOINT_INTERNAL = "endpoint_internal0"
ENDPOINT_PROMETHEUS = "endpoint_prometheus"
ENDPOINT_PPROF = "endpoint_pprof"
Member

does frostfs services has pprof endpoints ?

does frostfs services has pprof endpoints ?
Author
Member

Yes, all of them

Yes, all of them
abereziny marked this conversation as resolved
anurindm force-pushed working-dir-and-pprof from f5a5330191 to 87afc4b58c 2025-02-05 06:48:03 +00:00 Compare
abereziny approved these changes 2025-02-05 07:39:42 +00:00
i.niyazov approved these changes 2025-02-05 07:40:08 +00:00
d.zayakin approved these changes 2025-02-05 07:41:08 +00:00
anurindm merged commit 87afc4b58c into master 2025-02-05 07:44:28 +00:00
anurindm deleted branch working-dir-and-pprof 2025-02-05 07:44:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-testlib#356
No description provided.