New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jaegertracing build/ops integration #31358
Conversation
aa5bc84
to
5d7710f
Compare
6c16bdd
to
958e4c4
Compare
5f4ac82
to
d6632b0
Compare
d6632b0
to
d838fe8
Compare
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
1344ed7
to
b01f984
Compare
b01f984
to
c069c92
Compare
25dc32c
to
5c324b4
Compare
1a45ff1
to
2705237
Compare
37764d5
to
151a60a
Compare
5b41797
to
440f7aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good in general, a few minor things noted
if(!tracer){ | ||
YAML::Node yaml; | ||
try{ | ||
yaml = YAML::LoadFile("../src/jaegertracing/config.yml"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should probably be a config option. in the future it'd be very useful to be able to change the jaeger config at runtime as well, not sure how the opentracing library handles that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noted.
* This commit introduces Jaegertracing library as package libjaeger, pickwhich would be consumed by other ceph pacakges such as ceph-common0 * adds the following dependencies, which would be build from source using ExternalProjectHelper.cmake +IncludeJaeger.cmake + Build<package>.cmake scripts: jaegertracing: v0.6.0 [added as a submodule] opentracing: v1.6.0 [added as a submodule] thrift: 0.13.0 [added as a submodule] yaml-cpp: 0.6.0 json(optional) * updates Boost to be installed instead of being build only, because jaegertracing them during their build process. * ceph.spec.in: introduces a default enabled jaeger packaging option, which could be disabled using --without-jaeger flag during rpmbuild * note: libjaeger package if enabled will be a dependency on ceph-common, ceph-mon, rgw_common and transitively will be a dependency for modules that have them as a dependency. Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
* add tracing header files { common/tracer.{h/cc} } Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
8faba0e
to
a3b42dd
Compare
@@ -364,6 +364,11 @@ if(WITH_BLKIN) | |||
include_directories(SYSTEM src/blkin/blkin-lib) | |||
endif(WITH_BLKIN) | |||
|
|||
option(WITH_JAEGER "Enable jaegertracing and it's dependent libraries" OFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its
@@ -0,0 +1,65 @@ | |||
# This module builds Jaeger after it's dependencies are installed and discovered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
a3b42dd
to
9f5d725
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! let's merge this and handle follow-on work in further PRs.
@ideepika @jdurgin this change breaks the build
|
@ideepika we don't have a component named "core" or "jaeger". would you please be more specific in future? |
@tchaikov seems like missed to catch it, i will fix it asap, thanks! |
thanks, will keep in mind! |
FTBFS addressed by #38609 |
Milestones
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard backend
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox