Jaeger requires a database for the traces. we use ElasticSearch (version 6) by default.
-To deploy jaeger tracing service, without ElasticSearch:
+To deploy jaeger tracing service, when not using your own ElasticSearch:
#. Deploy jaeger services, with a new elasticsearch container:
.. prompt:: bash #
- ceph orch apply jaeger --without-query -es_nodes=ip:port,..
+ ceph orch apply jaeger --without-query --es_nodes=ip:port,..
- Spans are being sent to local jaeger agent, so the jaeger agent must be running on each host (not in all-in-one mode). otherwise, spans of hosts without active jaeger agent will be lost.
-- Ceph tracers are configured to sent tracers to agents that are listening to port 6799, so on manual jaeger deployment, option "--processor.jaeger-compact.server-host-port=6799" should be used.
+- Ceph tracers are configured to send tracers to agents that are listening to port 6799, so on manual jaeger deployment, option "--processor.jaeger-compact.server-host-port=6799" should be used.
HOW TO ENABLE TRACING IN CEPH
},
'jaeger-agent': {
'image': DEFAULT_JAEGER_AGENT_IMAGE,
- 'envs': ''
},
'jaeger-collector': {
'image': DEFAULT_JAEGER_COLLECTOR_IMAGE,
name = '%s.%s' % (daemon_type, daemon_id)
config = get_parm(ctx.config_json)
Tracing.set_configuration(config, daemon_type)
- envs.extend(Tracing.components[daemon_type]['envs'])
+ envs.extend(Tracing.components[daemon_type].get('envs', []))
elif daemon_type == NFSGanesha.daemon_type:
entrypoint = NFSGanesha.entrypoint
name = '%s.%s' % (daemon_type, daemon_id)
placement=placement, unmanaged=unmanaged,
preview_only=preview_only, config=config,
networks=networks)
- self.service_type = service_type
self.without_query = without_query
self.es_nodes = es_nodes