-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Grpc plugin archive storage support (#2317)
* Grpc plugin archive storage support Signed-off-by: Andrew Putilov <[email protected]> * Introduce service PluginCapabilities Migrate from ArchiveSupportedRequest to CapabilitiesRequest Signed-off-by: Andrew Putilov <[email protected]> * Add comments Signed-off-by: Andrew Putilov <[email protected]> * Introduce PluginServices Signed-off-by: Andrew Putilov <[email protected]> * Format imports, insert copyright Signed-off-by: Andrew Putilov <[email protected]> * Bubble up error on Capabilities() call Signed-off-by: Andrew Putilov <[email protected]> * Add empty_test.go Signed-off-by: Andrew Putilov <[email protected]> * Remove ArchiveReader, ArchiveWriter Signed-off-by: Andrew Putilov <[email protected]> * Pass config.PluginServices to grpc.Serve Signed-off-by: Andrew Putilov <[email protected]> * Introduce shared.ArchiveReader/ArchiveWriter Signed-off-by: Andrew Putilov <[email protected]> * Improve ArchiveReader/ArchiveWriter according PR comments Signed-off-by: Andrew Putilov <[email protected]> * Test fixes Signed-off-by: Andrew Putilov <[email protected]> * Validate plugin type Signed-off-by: Andrew Putilov <[email protected]> * Add context to WriteSpan method Signed-off-by: Andrew Putilov <[email protected]> * Return plugin capabilities according ArchiveImpl property Signed-off-by: Andrew Putilov <[email protected]> * Apply changes from master Signed-off-by: Andrew Putilov <[email protected]> * Extract PluginServices to shared package, introduce ClientPluginServices on plugin client side Signed-off-by: Andrew Putilov <[email protected]> * Improve error text Signed-off-by: Andrew Putilov <[email protected]> * Rebase-related updates Signed-off-by: Andrew Putilov <[email protected]> * Rename memoryStore to memoryStorePlugin Signed-off-by: Andrew Putilov <[email protected]> * minor clean-up - make internal types private - add interface validations - wrap errors with %w Signed-off-by: Yuri Shkuro <[email protected]> * Return codes.NotFound in grpc plugin on missing trace Signed-off-by: Andrew Putilov <[email protected]> * make fmt Signed-off-by: Yuri Shkuro <[email protected]> * Handle spanstore.ErrTraceNotFound in grpcServer.GetArchiveTrace Signed-off-by: Andrew Putilov <[email protected]> * Undo unnecessary change Signed-off-by: Yuri Shkuro <[email protected]> * Increase factory code coverage Signed-off-by: Andrew Putilov <[email protected]> * Trigger codecov again Signed-off-by: Andrew Putilov <[email protected]> * Disable coverage in plugin/storage/grpc/config/ Signed-off-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]>
- Loading branch information
1 parent
9ea89d9
commit ecc5091
Showing
28 changed files
with
2,129 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
requires gRPC plugin binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.