Skip to content

Commit

Permalink
Add PHP namespace (jaegertracing#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
damour authored and yurishkuro committed Nov 16, 2017
1 parent 347af16 commit 6710b74
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ SWAGGER=docker run --rm -it -u ${shell id -u} -v "${PWD}:/go/src/${PROJECT_ROOT}
THRIFT_GO_ARGS=thrift_import="github.com/apache/thrift/lib/go/thrift"
THRIFT_PY_ARGS=new_style,tornado
THRIFT_JAVA_ARGS=private-members
THRIFT_PHP_ARGS=psr4

THRIFT_GEN=--gen go:$(THRIFT_GO_ARGS) --gen py:$(THRIFT_PY_ARGS) --gen java:$(THRIFT_JAVA_ARGS) --gen js:node --gen cpp
THRIFT_GEN=--gen go:$(THRIFT_GO_ARGS) --gen py:$(THRIFT_PY_ARGS) --gen java:$(THRIFT_JAVA_ARGS) --gen js:node --gen cpp --gen php:$(THRIFT_PHP_ARGS)
THRIFT_CMD=$(THRIFT) -o /data $(THRIFT_GEN)

THRIFT_FILES=agent.thrift jaeger.thrift sampling.thrift zipkincore.thrift crossdock/tracetest.thrift \
Expand Down
1 change: 1 addition & 0 deletions thrift/agent.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ include "zipkincore.thrift"

namespace cpp jaegertracing.agent.thrift
namespace java com.uber.jaeger.agent.thrift
namespace php Jaeger.Thrift.Agent
namespace netcore Jaeger.Thrift.Agent

service Agent {
Expand Down
1 change: 1 addition & 0 deletions thrift/aggregation_validator.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

namespace cpp jaegertracing.thrift
namespace java com.uber.jaeger.thriftjava
namespace php Jaeger.Thrift.Agent
namespace netcore Jaeger.Thrift.Agent

# ValidateTraceResponse returns ok when a trace has been written to redis.
Expand Down
1 change: 1 addition & 0 deletions thrift/baggage.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

namespace cpp jaegertracing.thrift
namespace java com.uber.jaeger.thriftjava
namespace php Jaeger.Thrift.Agent
namespace netcore Jaeger.Thrift.Agent

# BaggageRestriction contains the baggage key and the maximum length of the baggage value.
Expand Down
1 change: 1 addition & 0 deletions thrift/crossdock/tracetest.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

namespace cpp jaegertracing.crossdock.thrift
namespace java com.uber.jaeger.crossdock.thrift
namespace php Jaeger.Thrift.Crossdock
namespace netcore Jaeger.Thrift.Crossdock

enum Transport { HTTP, TCHANNEL, DUMMY }
Expand Down
1 change: 1 addition & 0 deletions thrift/dependency.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

namespace cpp jaegertracing.thrift
namespace java com.uber.jaeger.thriftjava
namespace php Jaeger.Thrift.Agent
namespace netcore Jaeger.Thrift.Agent

struct DependencyLink {
Expand Down
1 change: 1 addition & 0 deletions thrift/jaeger.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

namespace cpp jaegertracing.thrift
namespace java com.uber.jaeger.thriftjava
namespace php Jaeger.Thrift
namespace netcore Jaeger.Thrift

# TagType denotes the type of a Tag's value.
Expand Down
1 change: 1 addition & 0 deletions thrift/sampling.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

namespace cpp jaegertracing.sampling_manager.thrift
namespace java com.uber.jaeger.thrift.sampling_manager
namespace php Jaeger.Thrift.Agent
namespace netcore Jaeger.Thrift.Agent

enum SamplingStrategyType { PROBABILISTIC, RATE_LIMITING }
Expand Down
1 change: 1 addition & 0 deletions thrift/zipkincore.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace cpp twitter.zipkin.thrift
namespace java com.twitter.zipkin.thriftjava
#@namespace scala com.twitter.zipkin.thriftscala
namespace rb Zipkin
namespace php Jaeger.Thrift.Agent.Zipkin
namespace netcore Jaeger.Thrift.Agent.Zipkin

#************** Annotation.value **************
Expand Down

0 comments on commit 6710b74

Please sign in to comment.