jaegertracing / jaeger

CNCF Jaeger, a Distributed Tracing Platform
https://www.jaegertracing.io/
Apache License 2.0
20.53k stars 2.44k forks source link

Define backwards compatibility criteria #239

Open yurishkuro opened 7 years ago

yurishkuro commented 7 years ago

Once we release 1.0 version, there will be stronger expectations of backwards compatibility. We need to enumerate what they are and have some way of validating them.

omeid commented 7 years ago

Please also make sure that you tag the relevant docker images as well whenever there is a breaking change :)

pavolloffay commented 7 years ago

How are we going to version REST API? Using URI or header?

Currently we have api/traces?format=jaeger.thrift. I would rather see something like api/v1/traces/ and then distinguish based on content type. Zipkin API could add another path segment or we could just use zipkin path (api/v1/spans). IIRC we don't report data to that endpoint from our clients.

yurishkuro commented 7 years ago

while we are on 0.x releases I'd stay away from /v1/, but in the future - yes.

IIRC we don't report data to that endpoint from our clients.

How do you mean? We (internally) are using HTTP endpoint with jaeger.thrift to submit spans from outside of out data centers (from cloud based blackbox monitoring).

pavolloffay commented 7 years ago

How do you mean? We (internally) are using HTTP endpoint with jaeger.thrift to submit spans from outside of out data centers (from cloud based blackbox monitoring).

To zipkin endpoint.

yurishkuro commented 7 years ago

I think we should decommission /api/traces?format=zipkin.thrift since we support Zipkin API directly on the new port

pavolloffay commented 7 years ago

@yurishkuro agree /api/traces?format=zipkin.thrift will be removed here https://github.com/uber/jaeger/pull/282#discussion_r129329071

omeid commented 7 years ago

I think it would be better to have the version as part of the content type and do proper content negotiation instead of sub resource scoping.

yurishkuro commented 7 years ago

@omeid can you point to prior art?

jpkrohling commented 5 years ago

@yurishkuro was this completed for v1? Now that the model we use for gRPC is stable, it would be a good time to document what are the backwards compatibility expectations.

yurishkuro commented 5 years ago

still waiting for Query service gRPC API

annanay25 commented 5 years ago

This can now be revisited