Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
golang-gitlab-gitlab-org-labkit
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Go Packaging Team
packages
golang-gitlab-gitlab-org-labkit
Commits
4bb87ff3
Verified
Commit
4bb87ff3
authored
11 months ago
by
Mathias Gibbens
Browse files
Options
Downloads
Patches
Plain Diff
Remove use of go-grpc-middleware/tracing, as it was removed in v2 of that package
parent
068dc957
No related branches found
No related tags found
No related merge requests found
Pipeline
#710614
passed
11 months ago
Stage: test
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+8
-0
8 additions, 0 deletions
debian/changelog
debian/patches/000-delete-go-grpc-middleware-tracing.patch
+47
-0
47 additions, 0 deletions
debian/patches/000-delete-go-grpc-middleware-tracing.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
56 additions
and
0 deletions
debian/changelog
+
8
−
0
View file @
4bb87ff3
golang-gitlab-gitlab-org-labkit (1.17.0-4) unstable; urgency=medium
* Team upload
* Remove use of go-grpc-middleware/tracing, as it was removed in v2
of that package
-- Mathias Gibbens <gibmat@debian.org> Fri, 02 Aug 2024 08:56:15 +0000
golang-gitlab-gitlab-org-labkit (1.17.0-3) unstable; urgency=medium
* Team Upload.
...
...
This diff is collapsed.
Click to expand it.
debian/patches/000-delete-go-grpc-middleware-tracing.patch
0 → 100644
+
47
−
0
View file @
4bb87ff3
From: Mathias Gibbens <gibmat@debian.org>
Description: Remove use of go-grpc-middleware/tracing, as it was removed in v2 of that package
Forwarded: not-needed
diff --git a/tracing/grpc/client_interceptors.go b/tracing/grpc/client_interceptors.go
deleted file mode 100644
index 8e97ba0..0000000
--- a/tracing/grpc/client_interceptors.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package grpccorrelation
-
-import (
- grpc_opentracing "github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing"
- "google.golang.org/grpc"
-)
-
-// UnaryClientTracingInterceptor will create a unary client tracing interceptor.
-func UnaryClientTracingInterceptor() grpc.UnaryClientInterceptor {
- return grpc_opentracing.UnaryClientInterceptor(grpc_opentracing.WithFilterFunc(healthCheckFilterFunc))
-}
-
-// StreamClientTracingInterceptor will create a streaming client tracing interceptor.
-func StreamClientTracingInterceptor() grpc.StreamClientInterceptor {
- return grpc_opentracing.StreamClientInterceptor()
-}
diff --git a/tracing/grpc/server_interceptors.go b/tracing/grpc/server_interceptors.go
deleted file mode 100644
index c860402..0000000
--- a/tracing/grpc/server_interceptors.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package grpccorrelation
-
-import (
- grpc_opentracing "github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing"
- "google.golang.org/grpc"
-)
-
-// UnaryServerTracingInterceptor will create a unary server tracing interceptor.
-func UnaryServerTracingInterceptor() grpc.UnaryServerInterceptor {
- return grpc_opentracing.UnaryServerInterceptor(grpc_opentracing.WithFilterFunc(healthCheckFilterFunc))
-}
-
-// StreamServerTracingInterceptor will create a streaming server tracing interceptor.
-func StreamServerTracingInterceptor() grpc.StreamServerInterceptor {
- return grpc_opentracing.StreamServerInterceptor()
-}
This diff is collapsed.
Click to expand it.
debian/patches/series
0 → 100644
+
1
−
0
View file @
4bb87ff3
000-delete-go-grpc-middleware-tracing.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment