Logs about used node in Pool
's errors #51
Labels
No labels
P0
P1
P2
P3
good first issue
pool
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#51
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, pool just returns an error with text message and without a node that returned that error.
I think it can:
debug
using internal logger;Will simplify debug a little. E.g. in the morph multiclient I tried to log as much internal uncontrolable processes as I can.
@dkirillov, @alexvanin
Let's go further and add a metric that returns current endpoint pool is talking to.
We should also pass logger to the wrapper:
or add methods to set logger and use it
Summary:
pool
should wrap endpoint address of the storage node before passing error to the caller,pool
is connected to,From my POV we should have 2 metrics:
There are still some errors like
context deadline exceeded
which are returned from pool component during communication with the storage.