You've already forked opentelemetry-go
							
							
				mirror of
				https://github.com/open-telemetry/opentelemetry-go.git
				synced 2025-10-31 00:07:40 +02:00 
			
		
		
		
	Import open-telemetry/opentelemetry-proto submodule and generate protobuf bindings locally (#942)
* Import open-telemetry/opentelemetry-proto submodule under internal * Commit changes in updated/new protobuf files * Refer to new location of .pb.go files after rewrite from import * Describe in CHANGELOG
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -8,6 +8,8 @@ Thumbs.db | ||||
| *.so | ||||
| coverage.* | ||||
|  | ||||
| gen/ | ||||
|  | ||||
| /example/basic/basic | ||||
| /example/grpc/client/client | ||||
| /example/grpc/server/server | ||||
|   | ||||
							
								
								
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| [submodule "opentelemetry-proto"] | ||||
| 	path = internal/opentelemetry-proto | ||||
| 	url = https://github.com/open-telemetry/opentelemetry-proto | ||||
| @@ -11,6 +11,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm | ||||
| ### Added | ||||
|  | ||||
| - Github action to generate protobuf Go bindings locally in `internal/opentelemetry-proto-gen`. (#938) | ||||
| - OTLP .proto files from `open-telemetry/opentelemetry-proto` imported as a git submodule under `internal/opentelemetry-proto`. | ||||
|    References to `github.com/open-telemetry/opentelemetry-proto` changed to `go.opentelemetry.io/otel/internal/opentelemetry-proto-gen`. (#948) | ||||
|  | ||||
| ## [0.8.0] - 2020-07-09 | ||||
|  | ||||
|   | ||||
| @@ -47,7 +47,6 @@ github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuy | ||||
| github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= | ||||
| github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= | ||||
| github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= | ||||
| github.com/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q= | ||||
| github.com/apache/thrift v0.0.0-20161221203622-b2a4d4ae21c7/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= | ||||
| github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= | ||||
| github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= | ||||
| @@ -491,8 +490,6 @@ github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t | ||||
| github.com/grpc-ecosystem/grpc-gateway v1.9.4/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= | ||||
| github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= | ||||
| github.com/grpc-ecosystem/grpc-gateway v1.11.1/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= | ||||
| github.com/grpc-ecosystem/grpc-gateway v1.14.3 h1:OCJlWkOUoTnl0neNGlf4fUm3TmbEtguw7vR+nGtnDjY= | ||||
| github.com/grpc-ecosystem/grpc-gateway v1.14.3/go.mod h1:6CwZWGDSPRJidgKAtJVvND6soZe6fT7iteq8wDPdhb0= | ||||
| github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= | ||||
| github.com/hashicorp/consul/api v1.2.0/go.mod h1:1SIkFYi2ZTXUE5Kgt179+4hH33djo11+0Eo2XgTAtkw= | ||||
| github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= | ||||
| @@ -711,8 +708,6 @@ github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoT | ||||
| github.com/open-telemetry/opentelemetry-collector v0.3.0 h1:/i106g9t6xNQ4hOAuczEwW10UX+S8ZnkdWDGawo9fyg= | ||||
| github.com/open-telemetry/opentelemetry-collector v0.3.0/go.mod h1:c5EgyLBK6FoGCaJpOEQ0j+sHqmfuoRzOm29tdVA/wDg= | ||||
| github.com/open-telemetry/opentelemetry-proto v0.3.0/go.mod h1:PMR5GI0F7BSpio+rBGFxNm6SLzg3FypDTcFuQZnO+F8= | ||||
| github.com/open-telemetry/opentelemetry-proto v0.4.0 h1:7EGs7QkdnR039zcQv71/wPLeeUUzqpH855VEWN4IHTE= | ||||
| github.com/open-telemetry/opentelemetry-proto v0.4.0/go.mod h1:PMR5GI0F7BSpio+rBGFxNm6SLzg3FypDTcFuQZnO+F8= | ||||
| github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= | ||||
| github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= | ||||
| github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= | ||||
| @@ -793,7 +788,6 @@ github.com/quasilyte/go-consistent v0.0.0-20190521200055-c6f3937de18c/go.mod h1: | ||||
| github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= | ||||
| github.com/remyoudompheng/bigfft v0.0.0-20190728182440-6a916e37a237/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= | ||||
| github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= | ||||
| github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= | ||||
| github.com/rogpeppe/go-internal v1.0.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= | ||||
| github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= | ||||
| github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= | ||||
| @@ -1199,7 +1193,6 @@ google.golang.org/genproto v0.0.0-20190708153700-3bdd9d9f5532/go.mod h1:z3L6/3dT | ||||
| google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= | ||||
| google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= | ||||
| google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= | ||||
| google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= | ||||
| google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03 h1:4HYDjxeNXAOTv3o1N2tjo8UUSlhQgAD52FVkwxnWgM8= | ||||
| google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= | ||||
| google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= | ||||
| @@ -1210,7 +1203,6 @@ google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ij | ||||
| google.golang.org/grpc v1.22.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= | ||||
| google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= | ||||
| google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= | ||||
| google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= | ||||
| google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= | ||||
| google.golang.org/grpc v1.30.0 h1:M5a8xTlYTxwMn5ZFkwhRabsygDY5G8TYLyQDBxJNAxE= | ||||
| google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= | ||||
| @@ -1247,7 +1239,6 @@ gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWD | ||||
| gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= | ||||
| gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||
| gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||
| gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||
| gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||
| gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||
| gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||
|   | ||||
| @@ -5,11 +5,10 @@ replace go.opentelemetry.io/otel => ../.. | ||||
| require ( | ||||
| 	github.com/gogo/protobuf v1.3.1 | ||||
| 	github.com/google/go-cmp v0.5.0 | ||||
| 	github.com/grpc-ecosystem/grpc-gateway v1.14.3 // indirect | ||||
| 	github.com/kr/pretty v0.2.0 // indirect | ||||
| 	github.com/open-telemetry/opentelemetry-proto v0.4.0 | ||||
| 	github.com/stretchr/testify v1.6.1 | ||||
| 	go.opentelemetry.io/otel v0.8.0 | ||||
| 	golang.org/x/net v0.0.0-20191002035440-2ec189313ef0 // indirect | ||||
| 	golang.org/x/text v0.3.2 // indirect | ||||
| 	google.golang.org/grpc v1.30.0 | ||||
| ) | ||||
|   | ||||
| @@ -2,7 +2,6 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT | ||||
| github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= | ||||
| github.com/DataDog/sketches-go v0.0.0-20190923095040-43f19ad77ff7 h1:qELHH0AWCvf98Yf+CNIJx9vOZOfHFDDzgDRYsnNk/vs= | ||||
| github.com/DataDog/sketches-go v0.0.0-20190923095040-43f19ad77ff7/go.mod h1:Q5DbzQ+3AkgGwymQO7aZFNP7ns2lZKGtvRBzRXfdi60= | ||||
| github.com/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q= | ||||
| github.com/benbjohnson/clock v1.0.3 h1:vkLuvpK4fmtSCuo60+yC63p7y0BmQ8gm5ZXGuBCJyXg= | ||||
| github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= | ||||
| github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= | ||||
| @@ -14,7 +13,6 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs | ||||
| github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= | ||||
| github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= | ||||
| github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= | ||||
| github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= | ||||
| github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= | ||||
| github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= | ||||
| github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= | ||||
| @@ -37,8 +35,6 @@ github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w= | ||||
| github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= | ||||
| github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= | ||||
| github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= | ||||
| github.com/grpc-ecosystem/grpc-gateway v1.14.3 h1:OCJlWkOUoTnl0neNGlf4fUm3TmbEtguw7vR+nGtnDjY= | ||||
| github.com/grpc-ecosystem/grpc-gateway v1.14.3/go.mod h1:6CwZWGDSPRJidgKAtJVvND6soZe6fT7iteq8wDPdhb0= | ||||
| github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= | ||||
| github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= | ||||
| github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= | ||||
| @@ -47,13 +43,10 @@ github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn | ||||
| github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= | ||||
| github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= | ||||
| github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= | ||||
| github.com/open-telemetry/opentelemetry-proto v0.4.0 h1:7EGs7QkdnR039zcQv71/wPLeeUUzqpH855VEWN4IHTE= | ||||
| github.com/open-telemetry/opentelemetry-proto v0.4.0/go.mod h1:PMR5GI0F7BSpio+rBGFxNm6SLzg3FypDTcFuQZnO+F8= | ||||
| github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= | ||||
| github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= | ||||
| github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= | ||||
| github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= | ||||
| github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= | ||||
| github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= | ||||
| github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= | ||||
| github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= | ||||
| @@ -94,12 +87,10 @@ google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9Ywl | ||||
| google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= | ||||
| google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= | ||||
| google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= | ||||
| google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= | ||||
| google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03 h1:4HYDjxeNXAOTv3o1N2tjo8UUSlhQgAD52FVkwxnWgM8= | ||||
| google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= | ||||
| google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= | ||||
| google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= | ||||
| google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= | ||||
| google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= | ||||
| google.golang.org/grpc v1.30.0 h1:M5a8xTlYTxwMn5ZFkwhRabsygDY5G8TYLyQDBxJNAxE= | ||||
| google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= | ||||
| @@ -113,7 +104,6 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 | ||||
| gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= | ||||
| gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= | ||||
| gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= | ||||
| gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||
| gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= | ||||
| gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= | ||||
| honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= | ||||
|   | ||||
| @@ -15,7 +15,7 @@ | ||||
| package transform | ||||
|  | ||||
| import ( | ||||
| 	commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" | ||||
| 	commonpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/kv/value" | ||||
|  | ||||
|   | ||||
| @@ -17,10 +17,10 @@ package transform | ||||
| import ( | ||||
| 	"testing" | ||||
|  | ||||
| 	commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" | ||||
| 	"github.com/stretchr/testify/assert" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/kv" | ||||
| 	commonpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
| ) | ||||
|  | ||||
| func TestAttributes(t *testing.T) { | ||||
|   | ||||
| @@ -15,7 +15,7 @@ | ||||
| package transform | ||||
|  | ||||
| import ( | ||||
| 	commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" | ||||
| 	commonpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/sdk/instrumentation" | ||||
| ) | ||||
|   | ||||
| @@ -23,9 +23,9 @@ import ( | ||||
| 	"strings" | ||||
| 	"sync" | ||||
|  | ||||
| 	commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" | ||||
| 	metricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1" | ||||
| 	resourcepb "github.com/open-telemetry/opentelemetry-proto/gen/go/resource/v1" | ||||
| 	commonpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
| 	metricpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/metrics/v1" | ||||
| 	resourcepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/resource/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/label" | ||||
| 	"go.opentelemetry.io/otel/api/metric" | ||||
|   | ||||
| @@ -20,11 +20,12 @@ import ( | ||||
| 	"testing" | ||||
| 	"time" | ||||
|  | ||||
| 	commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" | ||||
| 	metricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1" | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| 	"github.com/stretchr/testify/require" | ||||
|  | ||||
| 	commonpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
| 	metricpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/metrics/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/kv" | ||||
| 	"go.opentelemetry.io/otel/api/label" | ||||
| 	"go.opentelemetry.io/otel/api/metric" | ||||
|   | ||||
| @@ -15,7 +15,7 @@ | ||||
| package transform | ||||
|  | ||||
| import ( | ||||
| 	resourcepb "github.com/open-telemetry/opentelemetry-proto/gen/go/resource/v1" | ||||
| 	resourcepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/resource/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/sdk/resource" | ||||
| ) | ||||
|   | ||||
| @@ -17,7 +17,7 @@ package transform | ||||
| import ( | ||||
| 	"google.golang.org/grpc/codes" | ||||
|  | ||||
| 	tracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/trace/v1" | ||||
| 	tracepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/trace/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/label" | ||||
| 	apitrace "go.opentelemetry.io/otel/api/trace" | ||||
|   | ||||
| @@ -21,11 +21,12 @@ import ( | ||||
|  | ||||
| 	"github.com/gogo/protobuf/proto" | ||||
| 	"github.com/google/go-cmp/cmp" | ||||
| 	tracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/trace/v1" | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| 	"github.com/stretchr/testify/require" | ||||
| 	"google.golang.org/grpc/codes" | ||||
|  | ||||
| 	tracepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/trace/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/kv" | ||||
| 	apitrace "go.opentelemetry.io/otel/api/trace" | ||||
| 	export "go.opentelemetry.io/otel/sdk/export/trace" | ||||
|   | ||||
| @@ -26,12 +26,12 @@ import ( | ||||
| 	"google.golang.org/grpc" | ||||
| 	metadata "google.golang.org/grpc/metadata" | ||||
|  | ||||
| 	colmetricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/metrics/v1" | ||||
| 	coltracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/trace/v1" | ||||
| 	commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" | ||||
| 	metricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1" | ||||
| 	resourcepb "github.com/open-telemetry/opentelemetry-proto/gen/go/resource/v1" | ||||
| 	tracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/trace/v1" | ||||
| 	colmetricpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/collector/metrics/v1" | ||||
| 	coltracepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/collector/trace/v1" | ||||
| 	commonpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
| 	metricpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/metrics/v1" | ||||
| 	resourcepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/resource/v1" | ||||
| 	tracepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/trace/v1" | ||||
| ) | ||||
|  | ||||
| func makeMockCollector(t *testing.T) *mockCol { | ||||
|   | ||||
| @@ -25,8 +25,8 @@ import ( | ||||
| 	"google.golang.org/grpc" | ||||
| 	"google.golang.org/grpc/metadata" | ||||
|  | ||||
| 	colmetricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/metrics/v1" | ||||
| 	coltracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/trace/v1" | ||||
| 	colmetricpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/collector/metrics/v1" | ||||
| 	coltracepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/collector/trace/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/metric" | ||||
| 	"go.opentelemetry.io/otel/exporters/otlp/internal/transform" | ||||
|   | ||||
| @@ -25,8 +25,8 @@ import ( | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| 	"github.com/stretchr/testify/require" | ||||
|  | ||||
| 	commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" | ||||
| 	metricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1" | ||||
| 	commonpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
| 	metricpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/metrics/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/kv" | ||||
| 	"go.opentelemetry.io/otel/api/metric" | ||||
|   | ||||
| @@ -20,13 +20,14 @@ import ( | ||||
| 	"testing" | ||||
| 	"time" | ||||
|  | ||||
| 	colmetricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/metrics/v1" | ||||
| 	commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" | ||||
| 	metricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1" | ||||
| 	resourcepb "github.com/open-telemetry/opentelemetry-proto/gen/go/resource/v1" | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| 	"github.com/stretchr/testify/require" | ||||
|  | ||||
| 	colmetricpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/collector/metrics/v1" | ||||
| 	commonpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
| 	metricpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/metrics/v1" | ||||
| 	resourcepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/resource/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/kv" | ||||
| 	"go.opentelemetry.io/otel/api/label" | ||||
| 	"go.opentelemetry.io/otel/api/metric" | ||||
|   | ||||
| @@ -19,14 +19,15 @@ import ( | ||||
| 	"testing" | ||||
| 	"time" | ||||
|  | ||||
| 	coltracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/trace/v1" | ||||
| 	commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" | ||||
| 	resourcepb "github.com/open-telemetry/opentelemetry-proto/gen/go/resource/v1" | ||||
| 	tracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/trace/v1" | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| 	"google.golang.org/grpc" | ||||
| 	"google.golang.org/grpc/codes" | ||||
|  | ||||
| 	coltracepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/collector/trace/v1" | ||||
| 	commonpb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
| 	resourcepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/resource/v1" | ||||
| 	tracepb "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/trace/v1" | ||||
|  | ||||
| 	"go.opentelemetry.io/otel/api/kv" | ||||
| 	apitrace "go.opentelemetry.io/otel/api/trace" | ||||
| 	tracesdk "go.opentelemetry.io/otel/sdk/export/trace" | ||||
|   | ||||
							
								
								
									
										1
									
								
								internal/opentelemetry-proto
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								internal/opentelemetry-proto
									
									
									
									
									
										Submodule
									
								
							 Submodule internal/opentelemetry-proto added at e43e1abc40
									
								
							| @@ -0,0 +1,215 @@ | ||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | ||||
| // source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto | ||||
|  | ||||
| package v1 | ||||
|  | ||||
| import ( | ||||
| 	context "context" | ||||
| 	fmt "fmt" | ||||
| 	proto "github.com/golang/protobuf/proto" | ||||
| 	v1 "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/metrics/v1" | ||||
| 	grpc "google.golang.org/grpc" | ||||
| 	codes "google.golang.org/grpc/codes" | ||||
| 	status "google.golang.org/grpc/status" | ||||
| 	math "math" | ||||
| ) | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
| var _ = proto.Marshal | ||||
| var _ = fmt.Errorf | ||||
| var _ = math.Inf | ||||
|  | ||||
| // This is a compile-time assertion to ensure that this generated file | ||||
| // is compatible with the proto package it is being compiled against. | ||||
| // A compilation error at this line likely means your copy of the | ||||
| // proto package needs to be updated. | ||||
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package | ||||
|  | ||||
| type ExportMetricsServiceRequest struct { | ||||
| 	// An array of ResourceMetrics. | ||||
| 	// For data coming from a single resource this array will typically contain one | ||||
| 	// element. Intermediary nodes (such as OpenTelemetry Collector) that receive | ||||
| 	// data from multiple origins typically batch the data before forwarding further and | ||||
| 	// in that case this array will contain multiple elements. | ||||
| 	ResourceMetrics      []*v1.ResourceMetrics `protobuf:"bytes,1,rep,name=resource_metrics,json=resourceMetrics,proto3" json:"resource_metrics,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{}              `json:"-"` | ||||
| 	XXX_unrecognized     []byte                `json:"-"` | ||||
| 	XXX_sizecache        int32                 `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *ExportMetricsServiceRequest) Reset()         { *m = ExportMetricsServiceRequest{} } | ||||
| func (m *ExportMetricsServiceRequest) String() string { return proto.CompactTextString(m) } | ||||
| func (*ExportMetricsServiceRequest) ProtoMessage()    {} | ||||
| func (*ExportMetricsServiceRequest) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_75fb6015e6e64798, []int{0} | ||||
| } | ||||
|  | ||||
| func (m *ExportMetricsServiceRequest) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_ExportMetricsServiceRequest.Unmarshal(m, b) | ||||
| } | ||||
| func (m *ExportMetricsServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_ExportMetricsServiceRequest.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *ExportMetricsServiceRequest) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_ExportMetricsServiceRequest.Merge(m, src) | ||||
| } | ||||
| func (m *ExportMetricsServiceRequest) XXX_Size() int { | ||||
| 	return xxx_messageInfo_ExportMetricsServiceRequest.Size(m) | ||||
| } | ||||
| func (m *ExportMetricsServiceRequest) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_ExportMetricsServiceRequest.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_ExportMetricsServiceRequest proto.InternalMessageInfo | ||||
|  | ||||
| func (m *ExportMetricsServiceRequest) GetResourceMetrics() []*v1.ResourceMetrics { | ||||
| 	if m != nil { | ||||
| 		return m.ResourceMetrics | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| type ExportMetricsServiceResponse struct { | ||||
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||||
| 	XXX_unrecognized     []byte   `json:"-"` | ||||
| 	XXX_sizecache        int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *ExportMetricsServiceResponse) Reset()         { *m = ExportMetricsServiceResponse{} } | ||||
| func (m *ExportMetricsServiceResponse) String() string { return proto.CompactTextString(m) } | ||||
| func (*ExportMetricsServiceResponse) ProtoMessage()    {} | ||||
| func (*ExportMetricsServiceResponse) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_75fb6015e6e64798, []int{1} | ||||
| } | ||||
|  | ||||
| func (m *ExportMetricsServiceResponse) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_ExportMetricsServiceResponse.Unmarshal(m, b) | ||||
| } | ||||
| func (m *ExportMetricsServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_ExportMetricsServiceResponse.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *ExportMetricsServiceResponse) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_ExportMetricsServiceResponse.Merge(m, src) | ||||
| } | ||||
| func (m *ExportMetricsServiceResponse) XXX_Size() int { | ||||
| 	return xxx_messageInfo_ExportMetricsServiceResponse.Size(m) | ||||
| } | ||||
| func (m *ExportMetricsServiceResponse) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_ExportMetricsServiceResponse.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_ExportMetricsServiceResponse proto.InternalMessageInfo | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterType((*ExportMetricsServiceRequest)(nil), "opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest") | ||||
| 	proto.RegisterType((*ExportMetricsServiceResponse)(nil), "opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse") | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterFile("opentelemetry/proto/collector/metrics/v1/metrics_service.proto", fileDescriptor_75fb6015e6e64798) | ||||
| } | ||||
|  | ||||
| var fileDescriptor_75fb6015e6e64798 = []byte{ | ||||
| 	// 265 bytes of a gzipped FileDescriptorProto | ||||
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x41, 0x4b, 0x03, 0x31, | ||||
| 	0x10, 0x85, 0x0d, 0x42, 0x0f, 0x11, 0x54, 0xd6, 0x8b, 0x54, 0x11, 0xd9, 0x53, 0x41, 0x9b, 0xd0, | ||||
| 	0x7a, 0xf7, 0x50, 0xa8, 0x37, 0xa5, 0xac, 0xb7, 0x5e, 0x8a, 0x86, 0xa1, 0x04, 0x62, 0x66, 0x9d, | ||||
| 	0x4c, 0x17, 0xfb, 0x3f, 0xbc, 0xf8, 0x1f, 0xfc, 0x91, 0xd2, 0xcd, 0xaa, 0x44, 0x83, 0x14, 0xbc, | ||||
| 	0x85, 0x37, 0xf3, 0xbe, 0xf7, 0x12, 0x22, 0xaf, 0xb1, 0x06, 0xcf, 0xe0, 0xe0, 0x09, 0x98, 0xd6, | ||||
| 	0xba, 0x26, 0x64, 0xd4, 0x06, 0x9d, 0x03, 0xc3, 0x48, 0x7a, 0xa3, 0x5a, 0x13, 0x74, 0x33, 0xfa, | ||||
| 	0x3c, 0x2e, 0x02, 0x50, 0x63, 0x0d, 0xa8, 0x76, 0xb5, 0x18, 0x24, 0xfe, 0x28, 0xaa, 0x2f, 0xbf, | ||||
| 	0xea, 0x4c, 0xaa, 0x19, 0xf5, 0x2f, 0x73, 0x49, 0xbf, 0xf9, 0x11, 0x51, 0xae, 0xe5, 0xc9, 0xf4, | ||||
| 	0xa5, 0x46, 0xe2, 0xdb, 0x28, 0xdf, 0xc7, 0xd4, 0x0a, 0x9e, 0x57, 0x10, 0xb8, 0x98, 0xcb, 0x43, | ||||
| 	0x82, 0x80, 0x2b, 0x32, 0xb0, 0xe8, 0x8c, 0xc7, 0xe2, 0x7c, 0x77, 0xb0, 0x37, 0xd6, 0x2a, 0xd7, | ||||
| 	0xe8, 0xbb, 0x87, 0xaa, 0x3a, 0x5f, 0x07, 0xae, 0x0e, 0x28, 0x15, 0xca, 0x33, 0x79, 0x9a, 0x8f, | ||||
| 	0x0e, 0x35, 0xfa, 0x00, 0xe3, 0x77, 0x21, 0xf7, 0xd3, 0x51, 0xf1, 0x26, 0x64, 0x2f, 0x7a, 0x8a, | ||||
| 	0xa9, 0xda, 0xf6, 0x45, 0xd4, 0x1f, 0x17, 0xec, 0xdf, 0xfc, 0x17, 0x13, 0xcb, 0x96, 0x3b, 0x93, | ||||
| 	0x57, 0x21, 0x2f, 0x2c, 0x6e, 0x8d, 0x9b, 0x1c, 0xa5, 0xa4, 0xd9, 0x66, 0x73, 0x26, 0xe6, 0x77, | ||||
| 	0xcb, 0x9f, 0x0c, 0x8b, 0x1a, 0x19, 0x9c, 0xb6, 0x9e, 0x81, 0xfc, 0x83, 0xd3, 0xc9, 0x78, 0xd8, | ||||
| 	0x46, 0x0c, 0x97, 0xe0, 0xb3, 0xdf, 0xe9, 0xb1, 0xd7, 0xce, 0xaf, 0x3e, 0x02, 0x00, 0x00, 0xff, | ||||
| 	0xff, 0xd6, 0x4e, 0x10, 0x9f, 0x81, 0x02, 0x00, 0x00, | ||||
| } | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
| var _ context.Context | ||||
| var _ grpc.ClientConnInterface | ||||
|  | ||||
| // This is a compile-time assertion to ensure that this generated file | ||||
| // is compatible with the grpc package it is being compiled against. | ||||
| const _ = grpc.SupportPackageIsVersion6 | ||||
|  | ||||
| // MetricsServiceClient is the client API for MetricsService service. | ||||
| // | ||||
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. | ||||
| type MetricsServiceClient interface { | ||||
| 	// For performance reasons, it is recommended to keep this RPC | ||||
| 	// alive for the entire life of the application. | ||||
| 	Export(ctx context.Context, in *ExportMetricsServiceRequest, opts ...grpc.CallOption) (*ExportMetricsServiceResponse, error) | ||||
| } | ||||
|  | ||||
| type metricsServiceClient struct { | ||||
| 	cc grpc.ClientConnInterface | ||||
| } | ||||
|  | ||||
| func NewMetricsServiceClient(cc grpc.ClientConnInterface) MetricsServiceClient { | ||||
| 	return &metricsServiceClient{cc} | ||||
| } | ||||
|  | ||||
| func (c *metricsServiceClient) Export(ctx context.Context, in *ExportMetricsServiceRequest, opts ...grpc.CallOption) (*ExportMetricsServiceResponse, error) { | ||||
| 	out := new(ExportMetricsServiceResponse) | ||||
| 	err := c.cc.Invoke(ctx, "/opentelemetry.proto.collector.metrics.v1.MetricsService/Export", in, out, opts...) | ||||
| 	if err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	return out, nil | ||||
| } | ||||
|  | ||||
| // MetricsServiceServer is the server API for MetricsService service. | ||||
| type MetricsServiceServer interface { | ||||
| 	// For performance reasons, it is recommended to keep this RPC | ||||
| 	// alive for the entire life of the application. | ||||
| 	Export(context.Context, *ExportMetricsServiceRequest) (*ExportMetricsServiceResponse, error) | ||||
| } | ||||
|  | ||||
| // UnimplementedMetricsServiceServer can be embedded to have forward compatible implementations. | ||||
| type UnimplementedMetricsServiceServer struct { | ||||
| } | ||||
|  | ||||
| func (*UnimplementedMetricsServiceServer) Export(ctx context.Context, req *ExportMetricsServiceRequest) (*ExportMetricsServiceResponse, error) { | ||||
| 	return nil, status.Errorf(codes.Unimplemented, "method Export not implemented") | ||||
| } | ||||
|  | ||||
| func RegisterMetricsServiceServer(s *grpc.Server, srv MetricsServiceServer) { | ||||
| 	s.RegisterService(&_MetricsService_serviceDesc, srv) | ||||
| } | ||||
|  | ||||
| func _MetricsService_Export_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||||
| 	in := new(ExportMetricsServiceRequest) | ||||
| 	if err := dec(in); err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	if interceptor == nil { | ||||
| 		return srv.(MetricsServiceServer).Export(ctx, in) | ||||
| 	} | ||||
| 	info := &grpc.UnaryServerInfo{ | ||||
| 		Server:     srv, | ||||
| 		FullMethod: "/opentelemetry.proto.collector.metrics.v1.MetricsService/Export", | ||||
| 	} | ||||
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||||
| 		return srv.(MetricsServiceServer).Export(ctx, req.(*ExportMetricsServiceRequest)) | ||||
| 	} | ||||
| 	return interceptor(ctx, in, info, handler) | ||||
| } | ||||
|  | ||||
| var _MetricsService_serviceDesc = grpc.ServiceDesc{ | ||||
| 	ServiceName: "opentelemetry.proto.collector.metrics.v1.MetricsService", | ||||
| 	HandlerType: (*MetricsServiceServer)(nil), | ||||
| 	Methods: []grpc.MethodDesc{ | ||||
| 		{ | ||||
| 			MethodName: "Export", | ||||
| 			Handler:    _MetricsService_Export_Handler, | ||||
| 		}, | ||||
| 	}, | ||||
| 	Streams:  []grpc.StreamDesc{}, | ||||
| 	Metadata: "opentelemetry/proto/collector/metrics/v1/metrics_service.proto", | ||||
| } | ||||
| @@ -0,0 +1,368 @@ | ||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | ||||
| // source: opentelemetry/proto/trace/v1/trace_config.proto | ||||
|  | ||||
| package v1 | ||||
|  | ||||
| import ( | ||||
| 	fmt "fmt" | ||||
| 	proto "github.com/golang/protobuf/proto" | ||||
| 	math "math" | ||||
| ) | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
| var _ = proto.Marshal | ||||
| var _ = fmt.Errorf | ||||
| var _ = math.Inf | ||||
|  | ||||
| // This is a compile-time assertion to ensure that this generated file | ||||
| // is compatible with the proto package it is being compiled against. | ||||
| // A compilation error at this line likely means your copy of the | ||||
| // proto package needs to be updated. | ||||
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package | ||||
|  | ||||
| // How spans should be sampled: | ||||
| // - Always off | ||||
| // - Always on | ||||
| // - Always follow the parent Span's decision (off if no parent). | ||||
| type ConstantSampler_ConstantDecision int32 | ||||
|  | ||||
| const ( | ||||
| 	ConstantSampler_ALWAYS_OFF    ConstantSampler_ConstantDecision = 0 | ||||
| 	ConstantSampler_ALWAYS_ON     ConstantSampler_ConstantDecision = 1 | ||||
| 	ConstantSampler_ALWAYS_PARENT ConstantSampler_ConstantDecision = 2 | ||||
| ) | ||||
|  | ||||
| var ConstantSampler_ConstantDecision_name = map[int32]string{ | ||||
| 	0: "ALWAYS_OFF", | ||||
| 	1: "ALWAYS_ON", | ||||
| 	2: "ALWAYS_PARENT", | ||||
| } | ||||
|  | ||||
| var ConstantSampler_ConstantDecision_value = map[string]int32{ | ||||
| 	"ALWAYS_OFF":    0, | ||||
| 	"ALWAYS_ON":     1, | ||||
| 	"ALWAYS_PARENT": 2, | ||||
| } | ||||
|  | ||||
| func (x ConstantSampler_ConstantDecision) String() string { | ||||
| 	return proto.EnumName(ConstantSampler_ConstantDecision_name, int32(x)) | ||||
| } | ||||
|  | ||||
| func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5936aa8fa6443e6f, []int{1, 0} | ||||
| } | ||||
|  | ||||
| // Global configuration of the trace service. All fields must be specified, or | ||||
| // the default (zero) values will be used for each type. | ||||
| type TraceConfig struct { | ||||
| 	// The global default sampler used to make decisions on span sampling. | ||||
| 	// | ||||
| 	// Types that are valid to be assigned to Sampler: | ||||
| 	//	*TraceConfig_ConstantSampler | ||||
| 	//	*TraceConfig_ProbabilitySampler | ||||
| 	//	*TraceConfig_RateLimitingSampler | ||||
| 	Sampler isTraceConfig_Sampler `protobuf_oneof:"sampler"` | ||||
| 	// The global default max number of attributes per span. | ||||
| 	MaxNumberOfAttributes int64 `protobuf:"varint,4,opt,name=max_number_of_attributes,json=maxNumberOfAttributes,proto3" json:"max_number_of_attributes,omitempty"` | ||||
| 	// The global default max number of annotation events per span. | ||||
| 	MaxNumberOfTimedEvents int64 `protobuf:"varint,5,opt,name=max_number_of_timed_events,json=maxNumberOfTimedEvents,proto3" json:"max_number_of_timed_events,omitempty"` | ||||
| 	// The global default max number of attributes per timed event. | ||||
| 	MaxNumberOfAttributesPerTimedEvent int64 `protobuf:"varint,6,opt,name=max_number_of_attributes_per_timed_event,json=maxNumberOfAttributesPerTimedEvent,proto3" json:"max_number_of_attributes_per_timed_event,omitempty"` | ||||
| 	// The global default max number of link entries per span. | ||||
| 	MaxNumberOfLinks int64 `protobuf:"varint,7,opt,name=max_number_of_links,json=maxNumberOfLinks,proto3" json:"max_number_of_links,omitempty"` | ||||
| 	// The global default max number of attributes per span. | ||||
| 	MaxNumberOfAttributesPerLink int64    `protobuf:"varint,8,opt,name=max_number_of_attributes_per_link,json=maxNumberOfAttributesPerLink,proto3" json:"max_number_of_attributes_per_link,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral         struct{} `json:"-"` | ||||
| 	XXX_unrecognized             []byte   `json:"-"` | ||||
| 	XXX_sizecache                int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) Reset()         { *m = TraceConfig{} } | ||||
| func (m *TraceConfig) String() string { return proto.CompactTextString(m) } | ||||
| func (*TraceConfig) ProtoMessage()    {} | ||||
| func (*TraceConfig) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5936aa8fa6443e6f, []int{0} | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_TraceConfig.Unmarshal(m, b) | ||||
| } | ||||
| func (m *TraceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_TraceConfig.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *TraceConfig) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_TraceConfig.Merge(m, src) | ||||
| } | ||||
| func (m *TraceConfig) XXX_Size() int { | ||||
| 	return xxx_messageInfo_TraceConfig.Size(m) | ||||
| } | ||||
| func (m *TraceConfig) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_TraceConfig.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_TraceConfig proto.InternalMessageInfo | ||||
|  | ||||
| type isTraceConfig_Sampler interface { | ||||
| 	isTraceConfig_Sampler() | ||||
| } | ||||
|  | ||||
| type TraceConfig_ConstantSampler struct { | ||||
| 	ConstantSampler *ConstantSampler `protobuf:"bytes,1,opt,name=constant_sampler,json=constantSampler,proto3,oneof"` | ||||
| } | ||||
|  | ||||
| type TraceConfig_ProbabilitySampler struct { | ||||
| 	ProbabilitySampler *ProbabilitySampler `protobuf:"bytes,2,opt,name=probability_sampler,json=probabilitySampler,proto3,oneof"` | ||||
| } | ||||
|  | ||||
| type TraceConfig_RateLimitingSampler struct { | ||||
| 	RateLimitingSampler *RateLimitingSampler `protobuf:"bytes,3,opt,name=rate_limiting_sampler,json=rateLimitingSampler,proto3,oneof"` | ||||
| } | ||||
|  | ||||
| func (*TraceConfig_ConstantSampler) isTraceConfig_Sampler() {} | ||||
|  | ||||
| func (*TraceConfig_ProbabilitySampler) isTraceConfig_Sampler() {} | ||||
|  | ||||
| func (*TraceConfig_RateLimitingSampler) isTraceConfig_Sampler() {} | ||||
|  | ||||
| func (m *TraceConfig) GetSampler() isTraceConfig_Sampler { | ||||
| 	if m != nil { | ||||
| 		return m.Sampler | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) GetConstantSampler() *ConstantSampler { | ||||
| 	if x, ok := m.GetSampler().(*TraceConfig_ConstantSampler); ok { | ||||
| 		return x.ConstantSampler | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) GetProbabilitySampler() *ProbabilitySampler { | ||||
| 	if x, ok := m.GetSampler().(*TraceConfig_ProbabilitySampler); ok { | ||||
| 		return x.ProbabilitySampler | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) GetRateLimitingSampler() *RateLimitingSampler { | ||||
| 	if x, ok := m.GetSampler().(*TraceConfig_RateLimitingSampler); ok { | ||||
| 		return x.RateLimitingSampler | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) GetMaxNumberOfAttributes() int64 { | ||||
| 	if m != nil { | ||||
| 		return m.MaxNumberOfAttributes | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) GetMaxNumberOfTimedEvents() int64 { | ||||
| 	if m != nil { | ||||
| 		return m.MaxNumberOfTimedEvents | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) GetMaxNumberOfAttributesPerTimedEvent() int64 { | ||||
| 	if m != nil { | ||||
| 		return m.MaxNumberOfAttributesPerTimedEvent | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) GetMaxNumberOfLinks() int64 { | ||||
| 	if m != nil { | ||||
| 		return m.MaxNumberOfLinks | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *TraceConfig) GetMaxNumberOfAttributesPerLink() int64 { | ||||
| 	if m != nil { | ||||
| 		return m.MaxNumberOfAttributesPerLink | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| // XXX_OneofWrappers is for the internal use of the proto package. | ||||
| func (*TraceConfig) XXX_OneofWrappers() []interface{} { | ||||
| 	return []interface{}{ | ||||
| 		(*TraceConfig_ConstantSampler)(nil), | ||||
| 		(*TraceConfig_ProbabilitySampler)(nil), | ||||
| 		(*TraceConfig_RateLimitingSampler)(nil), | ||||
| 	} | ||||
| } | ||||
|  | ||||
| // Sampler that always makes a constant decision on span sampling. | ||||
| type ConstantSampler struct { | ||||
| 	Decision             ConstantSampler_ConstantDecision `protobuf:"varint,1,opt,name=decision,proto3,enum=opentelemetry.proto.trace.v1.ConstantSampler_ConstantDecision" json:"decision,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{}                         `json:"-"` | ||||
| 	XXX_unrecognized     []byte                           `json:"-"` | ||||
| 	XXX_sizecache        int32                            `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *ConstantSampler) Reset()         { *m = ConstantSampler{} } | ||||
| func (m *ConstantSampler) String() string { return proto.CompactTextString(m) } | ||||
| func (*ConstantSampler) ProtoMessage()    {} | ||||
| func (*ConstantSampler) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5936aa8fa6443e6f, []int{1} | ||||
| } | ||||
|  | ||||
| func (m *ConstantSampler) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_ConstantSampler.Unmarshal(m, b) | ||||
| } | ||||
| func (m *ConstantSampler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_ConstantSampler.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *ConstantSampler) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_ConstantSampler.Merge(m, src) | ||||
| } | ||||
| func (m *ConstantSampler) XXX_Size() int { | ||||
| 	return xxx_messageInfo_ConstantSampler.Size(m) | ||||
| } | ||||
| func (m *ConstantSampler) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_ConstantSampler.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_ConstantSampler proto.InternalMessageInfo | ||||
|  | ||||
| func (m *ConstantSampler) GetDecision() ConstantSampler_ConstantDecision { | ||||
| 	if m != nil { | ||||
| 		return m.Decision | ||||
| 	} | ||||
| 	return ConstantSampler_ALWAYS_OFF | ||||
| } | ||||
|  | ||||
| // Sampler that tries to uniformly sample traces with a given probability. | ||||
| // The probability of sampling a trace is equal to that of the specified probability. | ||||
| type ProbabilitySampler struct { | ||||
| 	// The desired probability of sampling. Must be within [0.0, 1.0]. | ||||
| 	SamplingProbability  float64  `protobuf:"fixed64,1,opt,name=samplingProbability,proto3" json:"samplingProbability,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||||
| 	XXX_unrecognized     []byte   `json:"-"` | ||||
| 	XXX_sizecache        int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *ProbabilitySampler) Reset()         { *m = ProbabilitySampler{} } | ||||
| func (m *ProbabilitySampler) String() string { return proto.CompactTextString(m) } | ||||
| func (*ProbabilitySampler) ProtoMessage()    {} | ||||
| func (*ProbabilitySampler) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5936aa8fa6443e6f, []int{2} | ||||
| } | ||||
|  | ||||
| func (m *ProbabilitySampler) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_ProbabilitySampler.Unmarshal(m, b) | ||||
| } | ||||
| func (m *ProbabilitySampler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_ProbabilitySampler.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *ProbabilitySampler) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_ProbabilitySampler.Merge(m, src) | ||||
| } | ||||
| func (m *ProbabilitySampler) XXX_Size() int { | ||||
| 	return xxx_messageInfo_ProbabilitySampler.Size(m) | ||||
| } | ||||
| func (m *ProbabilitySampler) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_ProbabilitySampler.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_ProbabilitySampler proto.InternalMessageInfo | ||||
|  | ||||
| func (m *ProbabilitySampler) GetSamplingProbability() float64 { | ||||
| 	if m != nil { | ||||
| 		return m.SamplingProbability | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| // Sampler that tries to sample with a rate per time window. | ||||
| type RateLimitingSampler struct { | ||||
| 	// Rate per second. | ||||
| 	Qps                  int64    `protobuf:"varint,1,opt,name=qps,proto3" json:"qps,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||||
| 	XXX_unrecognized     []byte   `json:"-"` | ||||
| 	XXX_sizecache        int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *RateLimitingSampler) Reset()         { *m = RateLimitingSampler{} } | ||||
| func (m *RateLimitingSampler) String() string { return proto.CompactTextString(m) } | ||||
| func (*RateLimitingSampler) ProtoMessage()    {} | ||||
| func (*RateLimitingSampler) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5936aa8fa6443e6f, []int{3} | ||||
| } | ||||
|  | ||||
| func (m *RateLimitingSampler) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_RateLimitingSampler.Unmarshal(m, b) | ||||
| } | ||||
| func (m *RateLimitingSampler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_RateLimitingSampler.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *RateLimitingSampler) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_RateLimitingSampler.Merge(m, src) | ||||
| } | ||||
| func (m *RateLimitingSampler) XXX_Size() int { | ||||
| 	return xxx_messageInfo_RateLimitingSampler.Size(m) | ||||
| } | ||||
| func (m *RateLimitingSampler) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_RateLimitingSampler.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_RateLimitingSampler proto.InternalMessageInfo | ||||
|  | ||||
| func (m *RateLimitingSampler) GetQps() int64 { | ||||
| 	if m != nil { | ||||
| 		return m.Qps | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterEnum("opentelemetry.proto.trace.v1.ConstantSampler_ConstantDecision", ConstantSampler_ConstantDecision_name, ConstantSampler_ConstantDecision_value) | ||||
| 	proto.RegisterType((*TraceConfig)(nil), "opentelemetry.proto.trace.v1.TraceConfig") | ||||
| 	proto.RegisterType((*ConstantSampler)(nil), "opentelemetry.proto.trace.v1.ConstantSampler") | ||||
| 	proto.RegisterType((*ProbabilitySampler)(nil), "opentelemetry.proto.trace.v1.ProbabilitySampler") | ||||
| 	proto.RegisterType((*RateLimitingSampler)(nil), "opentelemetry.proto.trace.v1.RateLimitingSampler") | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterFile("opentelemetry/proto/trace/v1/trace_config.proto", fileDescriptor_5936aa8fa6443e6f) | ||||
| } | ||||
|  | ||||
| var fileDescriptor_5936aa8fa6443e6f = []byte{ | ||||
| 	// 506 bytes of a gzipped FileDescriptorProto | ||||
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x4f, 0x6f, 0x9b, 0x40, | ||||
| 	0x10, 0xc5, 0x43, 0xdc, 0xfc, 0x9b, 0x28, 0x09, 0x5d, 0x2b, 0x15, 0xaa, 0x22, 0x35, 0xe5, 0x52, | ||||
| 	0x5f, 0x6c, 0xe2, 0xf4, 0x50, 0xa9, 0x87, 0x4a, 0x76, 0x12, 0xb7, 0x07, 0xcb, 0xb1, 0x88, 0xa5, | ||||
| 	0xaa, 0xbe, 0xa0, 0x85, 0x8c, 0xd1, 0xaa, 0xb0, 0x4b, 0x97, 0x8d, 0x95, 0x9c, 0xab, 0x7e, 0xa2, | ||||
| 	0x7e, 0xc1, 0x8a, 0x35, 0xc5, 0x60, 0x3b, 0x48, 0xb9, 0xed, 0xcc, 0xe3, 0xfd, 0xde, 0x2e, 0x0c, | ||||
| 	0x0b, 0x8e, 0x48, 0x90, 0x2b, 0x8c, 0x30, 0x46, 0x25, 0x9f, 0x9c, 0x44, 0x0a, 0x25, 0x1c, 0x25, | ||||
| 	0x69, 0x80, 0xce, 0xbc, 0xbb, 0x58, 0x78, 0x81, 0xe0, 0x33, 0x16, 0x76, 0xb4, 0x46, 0xce, 0x2a, | ||||
| 	0x86, 0x45, 0xb3, 0xa3, 0x9f, 0xeb, 0xcc, 0xbb, 0xf6, 0x9f, 0x1d, 0x38, 0x9c, 0x64, 0xc5, 0x95, | ||||
| 	0xf6, 0x90, 0x29, 0x98, 0x81, 0xe0, 0xa9, 0xa2, 0x5c, 0x79, 0x29, 0x8d, 0x93, 0x08, 0xa5, 0x65, | ||||
| 	0x9c, 0x1b, 0xad, 0xc3, 0xcb, 0x76, 0xa7, 0x0e, 0xd4, 0xb9, 0xca, 0x5d, 0x77, 0x0b, 0xd3, 0xb7, | ||||
| 	0x2d, 0xf7, 0x24, 0xa8, 0xb6, 0x48, 0x00, 0xcd, 0x44, 0x0a, 0x9f, 0xfa, 0x2c, 0x62, 0xea, 0xa9, | ||||
| 	0xc0, 0x6f, 0x6b, 0xfc, 0x45, 0x3d, 0x7e, 0xbc, 0x34, 0x2e, 0x13, 0x48, 0xb2, 0xd6, 0x25, 0x21, | ||||
| 	0x9c, 0x4a, 0xaa, 0xd0, 0x8b, 0x58, 0xcc, 0x14, 0xe3, 0x61, 0x11, 0xd3, 0xd0, 0x31, 0xdd, 0xfa, | ||||
| 	0x18, 0x97, 0x2a, 0x1c, 0xe6, 0xce, 0x65, 0x4e, 0x53, 0xae, 0xb7, 0xc9, 0x27, 0xb0, 0x62, 0xfa, | ||||
| 	0xe8, 0xf1, 0x87, 0xd8, 0x47, 0xe9, 0x89, 0x99, 0x47, 0x95, 0x92, 0xcc, 0x7f, 0x50, 0x98, 0x5a, | ||||
| 	0xaf, 0xce, 0x8d, 0x56, 0xc3, 0x3d, 0x8d, 0xe9, 0xe3, 0x48, 0xcb, 0xb7, 0xb3, 0x5e, 0x21, 0x92, | ||||
| 	0xcf, 0xf0, 0xb6, 0x6a, 0x54, 0x2c, 0xc6, 0x7b, 0x0f, 0xe7, 0xc8, 0x55, 0x6a, 0xed, 0x68, 0xeb, | ||||
| 	0x9b, 0x92, 0x75, 0x92, 0xc9, 0x37, 0x5a, 0x25, 0x13, 0x68, 0x3d, 0x17, 0xea, 0x25, 0x28, 0xcb, | ||||
| 	0x28, 0x6b, 0x57, 0x93, 0xec, 0x8d, 0x9b, 0x18, 0xa3, 0x5c, 0x62, 0x49, 0x1b, 0x9a, 0x55, 0x6a, | ||||
| 	0xc4, 0xf8, 0xcf, 0xd4, 0xda, 0xd3, 0x00, 0xb3, 0x04, 0x18, 0x66, 0x7d, 0xf2, 0x15, 0xde, 0xd7, | ||||
| 	0x6e, 0x22, 0x73, 0x5b, 0xfb, 0xda, 0x7c, 0xf6, 0x5c, 0x7a, 0x46, 0xea, 0x1f, 0xc0, 0x5e, 0xfe, | ||||
| 	0x75, 0xec, 0xbf, 0x06, 0x9c, 0xac, 0x8c, 0x10, 0x99, 0xc2, 0xfe, 0x3d, 0x06, 0x2c, 0x65, 0x82, | ||||
| 	0xeb, 0x19, 0x3c, 0xbe, 0xfc, 0xf2, 0xa2, 0x19, 0x2c, 0xea, 0xeb, 0x9c, 0xe2, 0x16, 0x3c, 0xfb, | ||||
| 	0x1a, 0xcc, 0x55, 0x95, 0x1c, 0x03, 0xf4, 0x86, 0xdf, 0x7b, 0x3f, 0xee, 0xbc, 0xdb, 0xc1, 0xc0, | ||||
| 	0xdc, 0x22, 0x47, 0x70, 0xf0, 0xbf, 0x1e, 0x99, 0x06, 0x79, 0x0d, 0x47, 0x79, 0x39, 0xee, 0xb9, | ||||
| 	0x37, 0xa3, 0x89, 0xb9, 0x6d, 0x0f, 0x80, 0xac, 0x0f, 0x26, 0xb9, 0x80, 0xa6, 0x3e, 0x16, 0xe3, | ||||
| 	0x61, 0x49, 0xd5, 0x47, 0x30, 0xdc, 0x4d, 0x92, 0xfd, 0x01, 0x9a, 0x1b, 0x26, 0x8f, 0x98, 0xd0, | ||||
| 	0xf8, 0x95, 0xa4, 0xda, 0xd8, 0x70, 0xb3, 0x65, 0xff, 0xb7, 0x01, 0xef, 0x98, 0xa8, 0x7d, 0x0b, | ||||
| 	0x7d, 0xb3, 0xf4, 0x3f, 0x8f, 0x33, 0x69, 0x6c, 0x4c, 0x87, 0xe1, 0xaa, 0x89, 0x09, 0x47, 0x28, | ||||
| 	0x8c, 0x1c, 0xc6, 0x15, 0x4a, 0x4e, 0xa3, 0xea, 0xbd, 0xd2, 0xd6, 0xcc, 0x76, 0x88, 0xdc, 0x09, | ||||
| 	0x44, 0x14, 0x61, 0xa0, 0x84, 0x2c, 0x6e, 0x19, 0x7f, 0x57, 0xab, 0x1f, 0xff, 0x05, 0x00, 0x00, | ||||
| 	0xff, 0xff, 0x5b, 0xb2, 0x4e, 0x84, 0x8c, 0x04, 0x00, 0x00, | ||||
| } | ||||
| @@ -0,0 +1,215 @@ | ||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | ||||
| // source: opentelemetry/proto/collector/trace/v1/trace_service.proto | ||||
|  | ||||
| package v1 | ||||
|  | ||||
| import ( | ||||
| 	context "context" | ||||
| 	fmt "fmt" | ||||
| 	proto "github.com/golang/protobuf/proto" | ||||
| 	v1 "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/trace/v1" | ||||
| 	grpc "google.golang.org/grpc" | ||||
| 	codes "google.golang.org/grpc/codes" | ||||
| 	status "google.golang.org/grpc/status" | ||||
| 	math "math" | ||||
| ) | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
| var _ = proto.Marshal | ||||
| var _ = fmt.Errorf | ||||
| var _ = math.Inf | ||||
|  | ||||
| // This is a compile-time assertion to ensure that this generated file | ||||
| // is compatible with the proto package it is being compiled against. | ||||
| // A compilation error at this line likely means your copy of the | ||||
| // proto package needs to be updated. | ||||
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package | ||||
|  | ||||
| type ExportTraceServiceRequest struct { | ||||
| 	// An array of ResourceSpans. | ||||
| 	// For data coming from a single resource this array will typically contain one | ||||
| 	// element. Intermediary nodes (such as OpenTelemetry Collector) that receive | ||||
| 	// data from multiple origins typically batch the data before forwarding further and | ||||
| 	// in that case this array will contain multiple elements. | ||||
| 	ResourceSpans        []*v1.ResourceSpans `protobuf:"bytes,1,rep,name=resource_spans,json=resourceSpans,proto3" json:"resource_spans,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{}            `json:"-"` | ||||
| 	XXX_unrecognized     []byte              `json:"-"` | ||||
| 	XXX_sizecache        int32               `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *ExportTraceServiceRequest) Reset()         { *m = ExportTraceServiceRequest{} } | ||||
| func (m *ExportTraceServiceRequest) String() string { return proto.CompactTextString(m) } | ||||
| func (*ExportTraceServiceRequest) ProtoMessage()    {} | ||||
| func (*ExportTraceServiceRequest) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_192a962890318cf4, []int{0} | ||||
| } | ||||
|  | ||||
| func (m *ExportTraceServiceRequest) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_ExportTraceServiceRequest.Unmarshal(m, b) | ||||
| } | ||||
| func (m *ExportTraceServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_ExportTraceServiceRequest.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *ExportTraceServiceRequest) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_ExportTraceServiceRequest.Merge(m, src) | ||||
| } | ||||
| func (m *ExportTraceServiceRequest) XXX_Size() int { | ||||
| 	return xxx_messageInfo_ExportTraceServiceRequest.Size(m) | ||||
| } | ||||
| func (m *ExportTraceServiceRequest) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_ExportTraceServiceRequest.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_ExportTraceServiceRequest proto.InternalMessageInfo | ||||
|  | ||||
| func (m *ExportTraceServiceRequest) GetResourceSpans() []*v1.ResourceSpans { | ||||
| 	if m != nil { | ||||
| 		return m.ResourceSpans | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| type ExportTraceServiceResponse struct { | ||||
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||||
| 	XXX_unrecognized     []byte   `json:"-"` | ||||
| 	XXX_sizecache        int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *ExportTraceServiceResponse) Reset()         { *m = ExportTraceServiceResponse{} } | ||||
| func (m *ExportTraceServiceResponse) String() string { return proto.CompactTextString(m) } | ||||
| func (*ExportTraceServiceResponse) ProtoMessage()    {} | ||||
| func (*ExportTraceServiceResponse) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_192a962890318cf4, []int{1} | ||||
| } | ||||
|  | ||||
| func (m *ExportTraceServiceResponse) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_ExportTraceServiceResponse.Unmarshal(m, b) | ||||
| } | ||||
| func (m *ExportTraceServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_ExportTraceServiceResponse.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *ExportTraceServiceResponse) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_ExportTraceServiceResponse.Merge(m, src) | ||||
| } | ||||
| func (m *ExportTraceServiceResponse) XXX_Size() int { | ||||
| 	return xxx_messageInfo_ExportTraceServiceResponse.Size(m) | ||||
| } | ||||
| func (m *ExportTraceServiceResponse) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_ExportTraceServiceResponse.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_ExportTraceServiceResponse proto.InternalMessageInfo | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterType((*ExportTraceServiceRequest)(nil), "opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest") | ||||
| 	proto.RegisterType((*ExportTraceServiceResponse)(nil), "opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse") | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterFile("opentelemetry/proto/collector/trace/v1/trace_service.proto", fileDescriptor_192a962890318cf4) | ||||
| } | ||||
|  | ||||
| var fileDescriptor_192a962890318cf4 = []byte{ | ||||
| 	// 267 bytes of a gzipped FileDescriptorProto | ||||
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x3f, 0x4b, 0xc4, 0x40, | ||||
| 	0x10, 0xc5, 0x5d, 0x84, 0x2b, 0xd6, 0x3f, 0x60, 0x2a, 0x0d, 0x16, 0x92, 0x42, 0x4e, 0xe4, 0x76, | ||||
| 	0xb9, 0xb3, 0xb3, 0x33, 0x60, 0x67, 0x71, 0xe4, 0xac, 0x6c, 0x24, 0x86, 0xe1, 0x08, 0xac, 0x3b, | ||||
| 	0xeb, 0xec, 0x5c, 0xd0, 0x2f, 0x21, 0xf8, 0x15, 0xfc, 0xa4, 0x92, 0xac, 0x4a, 0x22, 0x2b, 0x04, | ||||
| 	0xae, 0x4b, 0x66, 0xde, 0xef, 0xbd, 0x37, 0xb0, 0xf2, 0x1a, 0x1d, 0x58, 0x06, 0x03, 0xcf, 0xc0, | ||||
| 	0xf4, 0xa6, 0x1d, 0x21, 0xa3, 0xae, 0xd0, 0x18, 0xa8, 0x18, 0x49, 0x33, 0x95, 0x15, 0xe8, 0x66, | ||||
| 	0x1e, 0x3e, 0x1e, 0x3d, 0x50, 0x53, 0x57, 0xa0, 0x3a, 0x59, 0x72, 0x3e, 0x60, 0xc3, 0x50, 0xfd, | ||||
| 	0xb2, 0xaa, 0x43, 0x54, 0x33, 0x4f, 0xa7, 0xb1, 0x8c, 0xa1, 0x73, 0x80, 0x33, 0x94, 0x27, 0xb7, | ||||
| 	0xaf, 0x0e, 0x89, 0xef, 0xdb, 0xe1, 0x2a, 0xa4, 0x15, 0xf0, 0xb2, 0x01, 0xcf, 0x49, 0x21, 0x0f, | ||||
| 	0x09, 0x3c, 0x6e, 0xa8, 0x2d, 0xe2, 0x4a, 0xeb, 0x8f, 0xc5, 0xd9, 0xee, 0x74, 0x6f, 0x71, 0xa9, | ||||
| 	0x62, 0x3d, 0x7e, 0xd2, 0x55, 0xf1, 0xcd, 0xac, 0x5a, 0xa4, 0x38, 0xa0, 0xfe, 0x6f, 0x76, 0x2a, | ||||
| 	0xd3, 0x58, 0xa0, 0x77, 0x68, 0x3d, 0x2c, 0x3e, 0x85, 0xdc, 0xef, 0x2f, 0x92, 0x0f, 0x21, 0x27, | ||||
| 	0x41, 0x9f, 0xdc, 0xa8, 0x71, 0xd7, 0xab, 0x7f, 0x0f, 0x4a, 0xf3, 0x6d, 0x2c, 0x42, 0xc5, 0x6c, | ||||
| 	0x27, 0x7f, 0x17, 0xf2, 0xa2, 0xc6, 0x91, 0x56, 0xf9, 0x51, 0xdf, 0x65, 0xd9, 0xaa, 0x96, 0xe2, | ||||
| 	0xe1, 0x6e, 0xfd, 0x97, 0xaf, 0x51, 0x23, 0x83, 0xd1, 0xb5, 0x65, 0x20, 0x5b, 0x1a, 0x3d, 0x58, | ||||
| 	0xcf, 0x3a, 0xfb, 0xd9, 0x1a, 0x6c, 0xe4, 0xa9, 0x3c, 0x4d, 0xba, 0xed, 0xd5, 0x57, 0x00, 0x00, | ||||
| 	0x00, 0xff, 0xff, 0xbc, 0x8e, 0x2c, 0x0e, 0x5b, 0x02, 0x00, 0x00, | ||||
| } | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
| var _ context.Context | ||||
| var _ grpc.ClientConnInterface | ||||
|  | ||||
| // This is a compile-time assertion to ensure that this generated file | ||||
| // is compatible with the grpc package it is being compiled against. | ||||
| const _ = grpc.SupportPackageIsVersion6 | ||||
|  | ||||
| // TraceServiceClient is the client API for TraceService service. | ||||
| // | ||||
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. | ||||
| type TraceServiceClient interface { | ||||
| 	// For performance reasons, it is recommended to keep this RPC | ||||
| 	// alive for the entire life of the application. | ||||
| 	Export(ctx context.Context, in *ExportTraceServiceRequest, opts ...grpc.CallOption) (*ExportTraceServiceResponse, error) | ||||
| } | ||||
|  | ||||
| type traceServiceClient struct { | ||||
| 	cc grpc.ClientConnInterface | ||||
| } | ||||
|  | ||||
| func NewTraceServiceClient(cc grpc.ClientConnInterface) TraceServiceClient { | ||||
| 	return &traceServiceClient{cc} | ||||
| } | ||||
|  | ||||
| func (c *traceServiceClient) Export(ctx context.Context, in *ExportTraceServiceRequest, opts ...grpc.CallOption) (*ExportTraceServiceResponse, error) { | ||||
| 	out := new(ExportTraceServiceResponse) | ||||
| 	err := c.cc.Invoke(ctx, "/opentelemetry.proto.collector.trace.v1.TraceService/Export", in, out, opts...) | ||||
| 	if err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	return out, nil | ||||
| } | ||||
|  | ||||
| // TraceServiceServer is the server API for TraceService service. | ||||
| type TraceServiceServer interface { | ||||
| 	// For performance reasons, it is recommended to keep this RPC | ||||
| 	// alive for the entire life of the application. | ||||
| 	Export(context.Context, *ExportTraceServiceRequest) (*ExportTraceServiceResponse, error) | ||||
| } | ||||
|  | ||||
| // UnimplementedTraceServiceServer can be embedded to have forward compatible implementations. | ||||
| type UnimplementedTraceServiceServer struct { | ||||
| } | ||||
|  | ||||
| func (*UnimplementedTraceServiceServer) Export(ctx context.Context, req *ExportTraceServiceRequest) (*ExportTraceServiceResponse, error) { | ||||
| 	return nil, status.Errorf(codes.Unimplemented, "method Export not implemented") | ||||
| } | ||||
|  | ||||
| func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer) { | ||||
| 	s.RegisterService(&_TraceService_serviceDesc, srv) | ||||
| } | ||||
|  | ||||
| func _TraceService_Export_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||||
| 	in := new(ExportTraceServiceRequest) | ||||
| 	if err := dec(in); err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	if interceptor == nil { | ||||
| 		return srv.(TraceServiceServer).Export(ctx, in) | ||||
| 	} | ||||
| 	info := &grpc.UnaryServerInfo{ | ||||
| 		Server:     srv, | ||||
| 		FullMethod: "/opentelemetry.proto.collector.trace.v1.TraceService/Export", | ||||
| 	} | ||||
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||||
| 		return srv.(TraceServiceServer).Export(ctx, req.(*ExportTraceServiceRequest)) | ||||
| 	} | ||||
| 	return interceptor(ctx, in, info, handler) | ||||
| } | ||||
|  | ||||
| var _TraceService_serviceDesc = grpc.ServiceDesc{ | ||||
| 	ServiceName: "opentelemetry.proto.collector.trace.v1.TraceService", | ||||
| 	HandlerType: (*TraceServiceServer)(nil), | ||||
| 	Methods: []grpc.MethodDesc{ | ||||
| 		{ | ||||
| 			MethodName: "Export", | ||||
| 			Handler:    _TraceService_Export_Handler, | ||||
| 		}, | ||||
| 	}, | ||||
| 	Streams:  []grpc.StreamDesc{}, | ||||
| 	Metadata: "opentelemetry/proto/collector/trace/v1/trace_service.proto", | ||||
| } | ||||
							
								
								
									
										445
									
								
								internal/opentelemetry-proto-gen/common/v1/common.pb.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										445
									
								
								internal/opentelemetry-proto-gen/common/v1/common.pb.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,445 @@ | ||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | ||||
| // source: opentelemetry/proto/common/v1/common.proto | ||||
|  | ||||
| package v1 | ||||
|  | ||||
| import ( | ||||
| 	fmt "fmt" | ||||
| 	proto "github.com/golang/protobuf/proto" | ||||
| 	math "math" | ||||
| ) | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
| var _ = proto.Marshal | ||||
| var _ = fmt.Errorf | ||||
| var _ = math.Inf | ||||
|  | ||||
| // This is a compile-time assertion to ensure that this generated file | ||||
| // is compatible with the proto package it is being compiled against. | ||||
| // A compilation error at this line likely means your copy of the | ||||
| // proto package needs to be updated. | ||||
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package | ||||
|  | ||||
| // AnyValue is used to represent any type of attribute value. AnyValue may contain a | ||||
| // primitive value such as a string or integer or it may contain an arbitrary nested | ||||
| // object containing arrays, key-value lists and primitives. | ||||
| type AnyValue struct { | ||||
| 	// The value is one of the listed fields. It is valid for all values to be unspecified | ||||
| 	// in which case this AnyValue is considered to be "null". | ||||
| 	// | ||||
| 	// Types that are valid to be assigned to Value: | ||||
| 	//	*AnyValue_StringValue | ||||
| 	//	*AnyValue_BoolValue | ||||
| 	//	*AnyValue_IntValue | ||||
| 	//	*AnyValue_DoubleValue | ||||
| 	//	*AnyValue_ArrayValue | ||||
| 	//	*AnyValue_KvlistValue | ||||
| 	Value                isAnyValue_Value `protobuf_oneof:"value"` | ||||
| 	XXX_NoUnkeyedLiteral struct{}         `json:"-"` | ||||
| 	XXX_unrecognized     []byte           `json:"-"` | ||||
| 	XXX_sizecache        int32            `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *AnyValue) Reset()         { *m = AnyValue{} } | ||||
| func (m *AnyValue) String() string { return proto.CompactTextString(m) } | ||||
| func (*AnyValue) ProtoMessage()    {} | ||||
| func (*AnyValue) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_62ba46dcb97aa817, []int{0} | ||||
| } | ||||
|  | ||||
| func (m *AnyValue) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_AnyValue.Unmarshal(m, b) | ||||
| } | ||||
| func (m *AnyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_AnyValue.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *AnyValue) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_AnyValue.Merge(m, src) | ||||
| } | ||||
| func (m *AnyValue) XXX_Size() int { | ||||
| 	return xxx_messageInfo_AnyValue.Size(m) | ||||
| } | ||||
| func (m *AnyValue) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_AnyValue.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_AnyValue proto.InternalMessageInfo | ||||
|  | ||||
| type isAnyValue_Value interface { | ||||
| 	isAnyValue_Value() | ||||
| } | ||||
|  | ||||
| type AnyValue_StringValue struct { | ||||
| 	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` | ||||
| } | ||||
|  | ||||
| type AnyValue_BoolValue struct { | ||||
| 	BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` | ||||
| } | ||||
|  | ||||
| type AnyValue_IntValue struct { | ||||
| 	IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"` | ||||
| } | ||||
|  | ||||
| type AnyValue_DoubleValue struct { | ||||
| 	DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"` | ||||
| } | ||||
|  | ||||
| type AnyValue_ArrayValue struct { | ||||
| 	ArrayValue *ArrayValue `protobuf:"bytes,5,opt,name=array_value,json=arrayValue,proto3,oneof"` | ||||
| } | ||||
|  | ||||
| type AnyValue_KvlistValue struct { | ||||
| 	KvlistValue *KeyValueList `protobuf:"bytes,6,opt,name=kvlist_value,json=kvlistValue,proto3,oneof"` | ||||
| } | ||||
|  | ||||
| func (*AnyValue_StringValue) isAnyValue_Value() {} | ||||
|  | ||||
| func (*AnyValue_BoolValue) isAnyValue_Value() {} | ||||
|  | ||||
| func (*AnyValue_IntValue) isAnyValue_Value() {} | ||||
|  | ||||
| func (*AnyValue_DoubleValue) isAnyValue_Value() {} | ||||
|  | ||||
| func (*AnyValue_ArrayValue) isAnyValue_Value() {} | ||||
|  | ||||
| func (*AnyValue_KvlistValue) isAnyValue_Value() {} | ||||
|  | ||||
| func (m *AnyValue) GetValue() isAnyValue_Value { | ||||
| 	if m != nil { | ||||
| 		return m.Value | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *AnyValue) GetStringValue() string { | ||||
| 	if x, ok := m.GetValue().(*AnyValue_StringValue); ok { | ||||
| 		return x.StringValue | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func (m *AnyValue) GetBoolValue() bool { | ||||
| 	if x, ok := m.GetValue().(*AnyValue_BoolValue); ok { | ||||
| 		return x.BoolValue | ||||
| 	} | ||||
| 	return false | ||||
| } | ||||
|  | ||||
| func (m *AnyValue) GetIntValue() int64 { | ||||
| 	if x, ok := m.GetValue().(*AnyValue_IntValue); ok { | ||||
| 		return x.IntValue | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *AnyValue) GetDoubleValue() float64 { | ||||
| 	if x, ok := m.GetValue().(*AnyValue_DoubleValue); ok { | ||||
| 		return x.DoubleValue | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *AnyValue) GetArrayValue() *ArrayValue { | ||||
| 	if x, ok := m.GetValue().(*AnyValue_ArrayValue); ok { | ||||
| 		return x.ArrayValue | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *AnyValue) GetKvlistValue() *KeyValueList { | ||||
| 	if x, ok := m.GetValue().(*AnyValue_KvlistValue); ok { | ||||
| 		return x.KvlistValue | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // XXX_OneofWrappers is for the internal use of the proto package. | ||||
| func (*AnyValue) XXX_OneofWrappers() []interface{} { | ||||
| 	return []interface{}{ | ||||
| 		(*AnyValue_StringValue)(nil), | ||||
| 		(*AnyValue_BoolValue)(nil), | ||||
| 		(*AnyValue_IntValue)(nil), | ||||
| 		(*AnyValue_DoubleValue)(nil), | ||||
| 		(*AnyValue_ArrayValue)(nil), | ||||
| 		(*AnyValue_KvlistValue)(nil), | ||||
| 	} | ||||
| } | ||||
|  | ||||
| // ArrayValue is a list of AnyValue messages. We need ArrayValue as a message | ||||
| // since oneof in AnyValue does not allow repeated fields. | ||||
| type ArrayValue struct { | ||||
| 	// Array of values. The array may be empty (contain 0 elements). | ||||
| 	Values               []*AnyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{}    `json:"-"` | ||||
| 	XXX_unrecognized     []byte      `json:"-"` | ||||
| 	XXX_sizecache        int32       `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *ArrayValue) Reset()         { *m = ArrayValue{} } | ||||
| func (m *ArrayValue) String() string { return proto.CompactTextString(m) } | ||||
| func (*ArrayValue) ProtoMessage()    {} | ||||
| func (*ArrayValue) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_62ba46dcb97aa817, []int{1} | ||||
| } | ||||
|  | ||||
| func (m *ArrayValue) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_ArrayValue.Unmarshal(m, b) | ||||
| } | ||||
| func (m *ArrayValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_ArrayValue.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *ArrayValue) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_ArrayValue.Merge(m, src) | ||||
| } | ||||
| func (m *ArrayValue) XXX_Size() int { | ||||
| 	return xxx_messageInfo_ArrayValue.Size(m) | ||||
| } | ||||
| func (m *ArrayValue) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_ArrayValue.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_ArrayValue proto.InternalMessageInfo | ||||
|  | ||||
| func (m *ArrayValue) GetValues() []*AnyValue { | ||||
| 	if m != nil { | ||||
| 		return m.Values | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // KeyValueList is a list of KeyValue messages. We need KeyValueList as a message | ||||
| // since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need | ||||
| // a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to | ||||
| // avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches | ||||
| // are semantically equivalent. | ||||
| type KeyValueList struct { | ||||
| 	// A collection of key/value pairs of key-value pairs. The list may be empty (may | ||||
| 	// contain 0 elements). | ||||
| 	Values               []*KeyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{}    `json:"-"` | ||||
| 	XXX_unrecognized     []byte      `json:"-"` | ||||
| 	XXX_sizecache        int32       `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *KeyValueList) Reset()         { *m = KeyValueList{} } | ||||
| func (m *KeyValueList) String() string { return proto.CompactTextString(m) } | ||||
| func (*KeyValueList) ProtoMessage()    {} | ||||
| func (*KeyValueList) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_62ba46dcb97aa817, []int{2} | ||||
| } | ||||
|  | ||||
| func (m *KeyValueList) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_KeyValueList.Unmarshal(m, b) | ||||
| } | ||||
| func (m *KeyValueList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_KeyValueList.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *KeyValueList) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_KeyValueList.Merge(m, src) | ||||
| } | ||||
| func (m *KeyValueList) XXX_Size() int { | ||||
| 	return xxx_messageInfo_KeyValueList.Size(m) | ||||
| } | ||||
| func (m *KeyValueList) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_KeyValueList.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_KeyValueList proto.InternalMessageInfo | ||||
|  | ||||
| func (m *KeyValueList) GetValues() []*KeyValue { | ||||
| 	if m != nil { | ||||
| 		return m.Values | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // KeyValue is a key-value pair that is used to store Span attributes, Link | ||||
| // attributes, etc. | ||||
| type KeyValue struct { | ||||
| 	Key                  string    `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` | ||||
| 	Value                *AnyValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{}  `json:"-"` | ||||
| 	XXX_unrecognized     []byte    `json:"-"` | ||||
| 	XXX_sizecache        int32     `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *KeyValue) Reset()         { *m = KeyValue{} } | ||||
| func (m *KeyValue) String() string { return proto.CompactTextString(m) } | ||||
| func (*KeyValue) ProtoMessage()    {} | ||||
| func (*KeyValue) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_62ba46dcb97aa817, []int{3} | ||||
| } | ||||
|  | ||||
| func (m *KeyValue) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_KeyValue.Unmarshal(m, b) | ||||
| } | ||||
| func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_KeyValue.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *KeyValue) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_KeyValue.Merge(m, src) | ||||
| } | ||||
| func (m *KeyValue) XXX_Size() int { | ||||
| 	return xxx_messageInfo_KeyValue.Size(m) | ||||
| } | ||||
| func (m *KeyValue) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_KeyValue.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_KeyValue proto.InternalMessageInfo | ||||
|  | ||||
| func (m *KeyValue) GetKey() string { | ||||
| 	if m != nil { | ||||
| 		return m.Key | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func (m *KeyValue) GetValue() *AnyValue { | ||||
| 	if m != nil { | ||||
| 		return m.Value | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // StringKeyValue is a pair of key/value strings. This is the simpler (and faster) version | ||||
| // of KeyValue that only supports string values. | ||||
| type StringKeyValue struct { | ||||
| 	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` | ||||
| 	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||||
| 	XXX_unrecognized     []byte   `json:"-"` | ||||
| 	XXX_sizecache        int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *StringKeyValue) Reset()         { *m = StringKeyValue{} } | ||||
| func (m *StringKeyValue) String() string { return proto.CompactTextString(m) } | ||||
| func (*StringKeyValue) ProtoMessage()    {} | ||||
| func (*StringKeyValue) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_62ba46dcb97aa817, []int{4} | ||||
| } | ||||
|  | ||||
| func (m *StringKeyValue) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_StringKeyValue.Unmarshal(m, b) | ||||
| } | ||||
| func (m *StringKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_StringKeyValue.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *StringKeyValue) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_StringKeyValue.Merge(m, src) | ||||
| } | ||||
| func (m *StringKeyValue) XXX_Size() int { | ||||
| 	return xxx_messageInfo_StringKeyValue.Size(m) | ||||
| } | ||||
| func (m *StringKeyValue) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_StringKeyValue.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_StringKeyValue proto.InternalMessageInfo | ||||
|  | ||||
| func (m *StringKeyValue) GetKey() string { | ||||
| 	if m != nil { | ||||
| 		return m.Key | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func (m *StringKeyValue) GetValue() string { | ||||
| 	if m != nil { | ||||
| 		return m.Value | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| // InstrumentationLibrary is a message representing the instrumentation library information | ||||
| // such as the fully qualified name and version. | ||||
| type InstrumentationLibrary struct { | ||||
| 	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` | ||||
| 	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||||
| 	XXX_unrecognized     []byte   `json:"-"` | ||||
| 	XXX_sizecache        int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *InstrumentationLibrary) Reset()         { *m = InstrumentationLibrary{} } | ||||
| func (m *InstrumentationLibrary) String() string { return proto.CompactTextString(m) } | ||||
| func (*InstrumentationLibrary) ProtoMessage()    {} | ||||
| func (*InstrumentationLibrary) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_62ba46dcb97aa817, []int{5} | ||||
| } | ||||
|  | ||||
| func (m *InstrumentationLibrary) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_InstrumentationLibrary.Unmarshal(m, b) | ||||
| } | ||||
| func (m *InstrumentationLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_InstrumentationLibrary.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *InstrumentationLibrary) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_InstrumentationLibrary.Merge(m, src) | ||||
| } | ||||
| func (m *InstrumentationLibrary) XXX_Size() int { | ||||
| 	return xxx_messageInfo_InstrumentationLibrary.Size(m) | ||||
| } | ||||
| func (m *InstrumentationLibrary) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_InstrumentationLibrary.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_InstrumentationLibrary proto.InternalMessageInfo | ||||
|  | ||||
| func (m *InstrumentationLibrary) GetName() string { | ||||
| 	if m != nil { | ||||
| 		return m.Name | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func (m *InstrumentationLibrary) GetVersion() string { | ||||
| 	if m != nil { | ||||
| 		return m.Version | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterType((*AnyValue)(nil), "opentelemetry.proto.common.v1.AnyValue") | ||||
| 	proto.RegisterType((*ArrayValue)(nil), "opentelemetry.proto.common.v1.ArrayValue") | ||||
| 	proto.RegisterType((*KeyValueList)(nil), "opentelemetry.proto.common.v1.KeyValueList") | ||||
| 	proto.RegisterType((*KeyValue)(nil), "opentelemetry.proto.common.v1.KeyValue") | ||||
| 	proto.RegisterType((*StringKeyValue)(nil), "opentelemetry.proto.common.v1.StringKeyValue") | ||||
| 	proto.RegisterType((*InstrumentationLibrary)(nil), "opentelemetry.proto.common.v1.InstrumentationLibrary") | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterFile("opentelemetry/proto/common/v1/common.proto", fileDescriptor_62ba46dcb97aa817) | ||||
| } | ||||
|  | ||||
| var fileDescriptor_62ba46dcb97aa817 = []byte{ | ||||
| 	// 411 bytes of a gzipped FileDescriptorProto | ||||
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x5f, 0xab, 0xd3, 0x30, | ||||
| 	0x14, 0x6f, 0x6e, 0xef, 0xdd, 0xda, 0xd3, 0x21, 0x12, 0x44, 0xf6, 0x32, 0x2c, 0xf3, 0xc1, 0xaa, | ||||
| 	0xac, 0x65, 0xf3, 0xc5, 0x17, 0x91, 0x6d, 0x20, 0x15, 0x27, 0x8e, 0x0a, 0x3e, 0xe8, 0x83, 0xa4, | ||||
| 	0x1a, 0x46, 0x58, 0x9b, 0x8c, 0x34, 0x2b, 0xf4, 0xc3, 0xf9, 0xdd, 0xa4, 0x49, 0xba, 0x3f, 0xf7, | ||||
| 	0x61, 0x63, 0x6f, 0xe7, 0xfc, 0xf2, 0xfb, 0x73, 0x4e, 0x93, 0xc2, 0x1b, 0xb1, 0xa3, 0x5c, 0xd1, | ||||
| 	0x82, 0x96, 0x54, 0xc9, 0x26, 0xd9, 0x49, 0xa1, 0x44, 0xf2, 0x47, 0x94, 0xa5, 0xe0, 0x49, 0x3d, | ||||
| 	0xb5, 0x55, 0xac, 0x61, 0x3c, 0x3a, 0xe3, 0x1a, 0x30, 0xb6, 0x8c, 0x7a, 0x3a, 0xfe, 0x77, 0x07, | ||||
| 	0xde, 0x9c, 0x37, 0x3f, 0x48, 0xb1, 0xa7, 0xf8, 0x25, 0x0c, 0x2a, 0x25, 0x19, 0xdf, 0xfc, 0xae, | ||||
| 	0xdb, 0x7e, 0x88, 0x42, 0x14, 0xf9, 0xa9, 0x93, 0x05, 0x06, 0x35, 0xa4, 0x17, 0x00, 0xb9, 0x10, | ||||
| 	0x85, 0xa5, 0xdc, 0x85, 0x28, 0xf2, 0x52, 0x27, 0xf3, 0x5b, 0xcc, 0x10, 0x46, 0xe0, 0x33, 0xae, | ||||
| 	0xec, 0xb9, 0x1b, 0xa2, 0xc8, 0x4d, 0x9d, 0xcc, 0x63, 0x5c, 0x1d, 0x42, 0xfe, 0x8a, 0x7d, 0x5e, | ||||
| 	0x50, 0xcb, 0xb8, 0x0f, 0x51, 0x84, 0xda, 0x10, 0x83, 0x1a, 0xd2, 0x0a, 0x02, 0x22, 0x25, 0x69, | ||||
| 	0x2c, 0xe7, 0x21, 0x44, 0x51, 0x30, 0x7b, 0x1d, 0x5f, 0xdc, 0x25, 0x9e, 0xb7, 0x0a, 0xad, 0x4f, | ||||
| 	0x9d, 0x0c, 0xc8, 0xa1, 0xc3, 0x6b, 0x18, 0x6c, 0xeb, 0x82, 0x55, 0xdd, 0x50, 0x3d, 0x6d, 0xf7, | ||||
| 	0xf6, 0x8a, 0xdd, 0x17, 0x6a, 0xe4, 0x2b, 0x56, 0xa9, 0x76, 0x3e, 0x63, 0xa1, 0xa1, 0x45, 0x1f, | ||||
| 	0x1e, 0xb4, 0xd5, 0xf8, 0x2b, 0xc0, 0x31, 0x16, 0x7f, 0x84, 0x9e, 0x86, 0xab, 0x21, 0x0a, 0xdd, | ||||
| 	0x28, 0x98, 0xbd, 0xba, 0x36, 0xb1, 0xfd, 0xf2, 0x99, 0x95, 0x8d, 0xbf, 0xc1, 0xe0, 0x34, 0xf6, | ||||
| 	0x66, 0xc3, 0x4e, 0x7c, 0x30, 0xfc, 0x05, 0x5e, 0x87, 0xe1, 0xa7, 0xe0, 0x6e, 0x69, 0x63, 0x6e, | ||||
| 	0x35, 0x6b, 0x4b, 0xfc, 0xc1, 0xae, 0xa1, 0xaf, 0xf1, 0x86, 0x71, 0xed, 0xf2, 0xef, 0xe1, 0xc9, | ||||
| 	0x77, 0xfd, 0x32, 0x2e, 0x44, 0x3c, 0x3b, 0x8d, 0xf0, 0x3b, 0xe5, 0x27, 0x78, 0xfe, 0x99, 0x57, | ||||
| 	0x4a, 0xee, 0x4b, 0xca, 0x15, 0x51, 0x4c, 0xf0, 0x15, 0xcb, 0x25, 0x91, 0x0d, 0xc6, 0x70, 0xcf, | ||||
| 	0x49, 0x69, 0xdf, 0x5e, 0xa6, 0x6b, 0x3c, 0x84, 0x7e, 0x4d, 0x65, 0xc5, 0x04, 0xb7, 0x2e, 0x5d, | ||||
| 	0xbb, 0xa8, 0x21, 0x64, 0xe2, 0xf2, 0xd4, 0x8b, 0x60, 0xa9, 0xcb, 0x75, 0x0b, 0xaf, 0xd1, 0xcf, | ||||
| 	0xe5, 0xe6, 0xb1, 0x80, 0x89, 0x44, 0x28, 0x5a, 0x24, 0x8c, 0x2b, 0x2a, 0x39, 0x29, 0x92, 0xb3, | ||||
| 	0xe3, 0x89, 0xf6, 0x9b, 0x6c, 0x28, 0x3f, 0xfe, 0x62, 0x79, 0x4f, 0x83, 0xef, 0xfe, 0x07, 0x00, | ||||
| 	0x00, 0xff, 0xff, 0x23, 0xab, 0xab, 0x36, 0x8a, 0x03, 0x00, 0x00, | ||||
| } | ||||
							
								
								
									
										1131
									
								
								internal/opentelemetry-proto-gen/metrics/v1/metrics.pb.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1131
									
								
								internal/opentelemetry-proto-gen/metrics/v1/metrics.pb.go
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										100
									
								
								internal/opentelemetry-proto-gen/resource/v1/resource.pb.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										100
									
								
								internal/opentelemetry-proto-gen/resource/v1/resource.pb.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,100 @@ | ||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | ||||
| // source: opentelemetry/proto/resource/v1/resource.proto | ||||
|  | ||||
| package v1 | ||||
|  | ||||
| import ( | ||||
| 	fmt "fmt" | ||||
| 	proto "github.com/golang/protobuf/proto" | ||||
| 	v1 "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
| 	math "math" | ||||
| ) | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
| var _ = proto.Marshal | ||||
| var _ = fmt.Errorf | ||||
| var _ = math.Inf | ||||
|  | ||||
| // This is a compile-time assertion to ensure that this generated file | ||||
| // is compatible with the proto package it is being compiled against. | ||||
| // A compilation error at this line likely means your copy of the | ||||
| // proto package needs to be updated. | ||||
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package | ||||
|  | ||||
| // Resource information. | ||||
| type Resource struct { | ||||
| 	// Set of labels that describe the resource. | ||||
| 	Attributes []*v1.KeyValue `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"` | ||||
| 	// dropped_attributes_count is the number of dropped attributes. If the value is 0, then | ||||
| 	// no attributes were dropped. | ||||
| 	DroppedAttributesCount uint32   `protobuf:"varint,2,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral   struct{} `json:"-"` | ||||
| 	XXX_unrecognized       []byte   `json:"-"` | ||||
| 	XXX_sizecache          int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *Resource) Reset()         { *m = Resource{} } | ||||
| func (m *Resource) String() string { return proto.CompactTextString(m) } | ||||
| func (*Resource) ProtoMessage()    {} | ||||
| func (*Resource) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_446f73eacf88f3f5, []int{0} | ||||
| } | ||||
|  | ||||
| func (m *Resource) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_Resource.Unmarshal(m, b) | ||||
| } | ||||
| func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_Resource.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *Resource) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_Resource.Merge(m, src) | ||||
| } | ||||
| func (m *Resource) XXX_Size() int { | ||||
| 	return xxx_messageInfo_Resource.Size(m) | ||||
| } | ||||
| func (m *Resource) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_Resource.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_Resource proto.InternalMessageInfo | ||||
|  | ||||
| func (m *Resource) GetAttributes() []*v1.KeyValue { | ||||
| 	if m != nil { | ||||
| 		return m.Attributes | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Resource) GetDroppedAttributesCount() uint32 { | ||||
| 	if m != nil { | ||||
| 		return m.DroppedAttributesCount | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterType((*Resource)(nil), "opentelemetry.proto.resource.v1.Resource") | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterFile("opentelemetry/proto/resource/v1/resource.proto", fileDescriptor_446f73eacf88f3f5) | ||||
| } | ||||
|  | ||||
| var fileDescriptor_446f73eacf88f3f5 = []byte{ | ||||
| 	// 231 bytes of a gzipped FileDescriptorProto | ||||
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xcb, 0x2f, 0x48, 0xcd, | ||||
| 	0x2b, 0x49, 0xcd, 0x49, 0xcd, 0x4d, 0x2d, 0x29, 0xaa, 0xd4, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, | ||||
| 	0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x2f, 0x33, 0x84, 0xb3, 0xf5, 0xc0, 0x52, | ||||
| 	0x42, 0xf2, 0x28, 0xea, 0x21, 0x82, 0x7a, 0x70, 0x35, 0x65, 0x86, 0x52, 0x5a, 0xd8, 0x0c, 0x4c, | ||||
| 	0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0x03, 0x19, 0x07, 0x61, 0x41, 0xf4, 0x29, 0xf5, 0x32, 0x72, 0x71, | ||||
| 	0x04, 0x41, 0xf5, 0x0a, 0xb9, 0x73, 0x71, 0x25, 0x96, 0x94, 0x14, 0x65, 0x26, 0x95, 0x96, 0xa4, | ||||
| 	0x16, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x1b, 0xa9, 0xeb, 0x61, 0xb3, 0x0e, 0x6a, 0x46, 0x99, | ||||
| 	0xa1, 0x9e, 0x77, 0x6a, 0x65, 0x58, 0x62, 0x4e, 0x69, 0x6a, 0x10, 0x92, 0x56, 0x21, 0x0b, 0x2e, | ||||
| 	0x89, 0x94, 0xa2, 0xfc, 0x82, 0x82, 0xd4, 0x94, 0x78, 0x84, 0x68, 0x7c, 0x72, 0x7e, 0x69, 0x5e, | ||||
| 	0x89, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6f, 0x90, 0x18, 0x54, 0xde, 0x11, 0x2e, 0xed, 0x0c, 0x92, | ||||
| 	0x75, 0xaa, 0xe1, 0x52, 0xca, 0xcc, 0xd7, 0x23, 0xe0, 0x43, 0x27, 0x5e, 0x98, 0x93, 0x03, 0x40, | ||||
| 	0x52, 0x01, 0x8c, 0x51, 0xae, 0xe9, 0xe8, 0x9a, 0x32, 0xf3, 0xf5, 0xf3, 0x4b, 0x52, 0x73, 0xf4, | ||||
| 	0x33, 0xf3, 0x4a, 0x52, 0x8b, 0xf2, 0x12, 0x73, 0xf4, 0x51, 0xa4, 0x75, 0xc1, 0x66, 0xea, 0xa6, | ||||
| 	0xa7, 0xe6, 0x21, 0x87, 0x74, 0x12, 0x1b, 0x58, 0xd8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x91, | ||||
| 	0x7f, 0x43, 0x92, 0x93, 0x01, 0x00, 0x00, | ||||
| } | ||||
							
								
								
									
										767
									
								
								internal/opentelemetry-proto-gen/trace/v1/trace.pb.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										767
									
								
								internal/opentelemetry-proto-gen/trace/v1/trace.pb.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,767 @@ | ||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | ||||
| // source: opentelemetry/proto/trace/v1/trace.proto | ||||
|  | ||||
| package v1 | ||||
|  | ||||
| import ( | ||||
| 	fmt "fmt" | ||||
| 	proto "github.com/golang/protobuf/proto" | ||||
| 	v11 "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/common/v1" | ||||
| 	v1 "go.opentelemetry.io/otel/internal/opentelemetry-proto-gen/resource/v1" | ||||
| 	math "math" | ||||
| ) | ||||
|  | ||||
| // Reference imports to suppress errors if they are not otherwise used. | ||||
| var _ = proto.Marshal | ||||
| var _ = fmt.Errorf | ||||
| var _ = math.Inf | ||||
|  | ||||
| // This is a compile-time assertion to ensure that this generated file | ||||
| // is compatible with the proto package it is being compiled against. | ||||
| // A compilation error at this line likely means your copy of the | ||||
| // proto package needs to be updated. | ||||
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package | ||||
|  | ||||
| // SpanKind is the type of span. Can be used to specify additional relationships between spans | ||||
| // in addition to a parent/child relationship. | ||||
| type Span_SpanKind int32 | ||||
|  | ||||
| const ( | ||||
| 	// Unspecified. Do NOT use as default. | ||||
| 	// Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED. | ||||
| 	Span_SPAN_KIND_UNSPECIFIED Span_SpanKind = 0 | ||||
| 	// Indicates that the span represents an internal operation within an application, | ||||
| 	// as opposed to an operations happening at the boundaries. Default value. | ||||
| 	Span_INTERNAL Span_SpanKind = 1 | ||||
| 	// Indicates that the span covers server-side handling of an RPC or other | ||||
| 	// remote network request. | ||||
| 	Span_SERVER Span_SpanKind = 2 | ||||
| 	// Indicates that the span describes a request to some remote service. | ||||
| 	Span_CLIENT Span_SpanKind = 3 | ||||
| 	// Indicates that the span describes a producer sending a message to a broker. | ||||
| 	// Unlike CLIENT and SERVER, there is often no direct critical path latency relationship | ||||
| 	// between producer and consumer spans. A PRODUCER span ends when the message was accepted | ||||
| 	// by the broker while the logical processing of the message might span a much longer time. | ||||
| 	Span_PRODUCER Span_SpanKind = 4 | ||||
| 	// Indicates that the span describes consumer receiving a message from a broker. | ||||
| 	// Like the PRODUCER kind, there is often no direct critical path latency relationship | ||||
| 	// between producer and consumer spans. | ||||
| 	Span_CONSUMER Span_SpanKind = 5 | ||||
| ) | ||||
|  | ||||
| var Span_SpanKind_name = map[int32]string{ | ||||
| 	0: "SPAN_KIND_UNSPECIFIED", | ||||
| 	1: "INTERNAL", | ||||
| 	2: "SERVER", | ||||
| 	3: "CLIENT", | ||||
| 	4: "PRODUCER", | ||||
| 	5: "CONSUMER", | ||||
| } | ||||
|  | ||||
| var Span_SpanKind_value = map[string]int32{ | ||||
| 	"SPAN_KIND_UNSPECIFIED": 0, | ||||
| 	"INTERNAL":              1, | ||||
| 	"SERVER":                2, | ||||
| 	"CLIENT":                3, | ||||
| 	"PRODUCER":              4, | ||||
| 	"CONSUMER":              5, | ||||
| } | ||||
|  | ||||
| func (x Span_SpanKind) String() string { | ||||
| 	return proto.EnumName(Span_SpanKind_name, int32(x)) | ||||
| } | ||||
|  | ||||
| func (Span_SpanKind) EnumDescriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5c407ac9c675a601, []int{2, 0} | ||||
| } | ||||
|  | ||||
| // StatusCode mirrors the codes defined at | ||||
| // https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/api-tracing.md#statuscanonicalcode | ||||
| type Status_StatusCode int32 | ||||
|  | ||||
| const ( | ||||
| 	Status_Ok                 Status_StatusCode = 0 | ||||
| 	Status_Cancelled          Status_StatusCode = 1 | ||||
| 	Status_UnknownError       Status_StatusCode = 2 | ||||
| 	Status_InvalidArgument    Status_StatusCode = 3 | ||||
| 	Status_DeadlineExceeded   Status_StatusCode = 4 | ||||
| 	Status_NotFound           Status_StatusCode = 5 | ||||
| 	Status_AlreadyExists      Status_StatusCode = 6 | ||||
| 	Status_PermissionDenied   Status_StatusCode = 7 | ||||
| 	Status_ResourceExhausted  Status_StatusCode = 8 | ||||
| 	Status_FailedPrecondition Status_StatusCode = 9 | ||||
| 	Status_Aborted            Status_StatusCode = 10 | ||||
| 	Status_OutOfRange         Status_StatusCode = 11 | ||||
| 	Status_Unimplemented      Status_StatusCode = 12 | ||||
| 	Status_InternalError      Status_StatusCode = 13 | ||||
| 	Status_Unavailable        Status_StatusCode = 14 | ||||
| 	Status_DataLoss           Status_StatusCode = 15 | ||||
| 	Status_Unauthenticated    Status_StatusCode = 16 | ||||
| ) | ||||
|  | ||||
| var Status_StatusCode_name = map[int32]string{ | ||||
| 	0:  "Ok", | ||||
| 	1:  "Cancelled", | ||||
| 	2:  "UnknownError", | ||||
| 	3:  "InvalidArgument", | ||||
| 	4:  "DeadlineExceeded", | ||||
| 	5:  "NotFound", | ||||
| 	6:  "AlreadyExists", | ||||
| 	7:  "PermissionDenied", | ||||
| 	8:  "ResourceExhausted", | ||||
| 	9:  "FailedPrecondition", | ||||
| 	10: "Aborted", | ||||
| 	11: "OutOfRange", | ||||
| 	12: "Unimplemented", | ||||
| 	13: "InternalError", | ||||
| 	14: "Unavailable", | ||||
| 	15: "DataLoss", | ||||
| 	16: "Unauthenticated", | ||||
| } | ||||
|  | ||||
| var Status_StatusCode_value = map[string]int32{ | ||||
| 	"Ok":                 0, | ||||
| 	"Cancelled":          1, | ||||
| 	"UnknownError":       2, | ||||
| 	"InvalidArgument":    3, | ||||
| 	"DeadlineExceeded":   4, | ||||
| 	"NotFound":           5, | ||||
| 	"AlreadyExists":      6, | ||||
| 	"PermissionDenied":   7, | ||||
| 	"ResourceExhausted":  8, | ||||
| 	"FailedPrecondition": 9, | ||||
| 	"Aborted":            10, | ||||
| 	"OutOfRange":         11, | ||||
| 	"Unimplemented":      12, | ||||
| 	"InternalError":      13, | ||||
| 	"Unavailable":        14, | ||||
| 	"DataLoss":           15, | ||||
| 	"Unauthenticated":    16, | ||||
| } | ||||
|  | ||||
| func (x Status_StatusCode) String() string { | ||||
| 	return proto.EnumName(Status_StatusCode_name, int32(x)) | ||||
| } | ||||
|  | ||||
| func (Status_StatusCode) EnumDescriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5c407ac9c675a601, []int{3, 0} | ||||
| } | ||||
|  | ||||
| // A collection of InstrumentationLibrarySpans from a Resource. | ||||
| type ResourceSpans struct { | ||||
| 	// The resource for the spans in this message. | ||||
| 	// If this field is not set then no resource info is known. | ||||
| 	Resource *v1.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` | ||||
| 	// A list of InstrumentationLibrarySpans that originate from a resource. | ||||
| 	InstrumentationLibrarySpans []*InstrumentationLibrarySpans `protobuf:"bytes,2,rep,name=instrumentation_library_spans,json=instrumentationLibrarySpans,proto3" json:"instrumentation_library_spans,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral        struct{}                       `json:"-"` | ||||
| 	XXX_unrecognized            []byte                         `json:"-"` | ||||
| 	XXX_sizecache               int32                          `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *ResourceSpans) Reset()         { *m = ResourceSpans{} } | ||||
| func (m *ResourceSpans) String() string { return proto.CompactTextString(m) } | ||||
| func (*ResourceSpans) ProtoMessage()    {} | ||||
| func (*ResourceSpans) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5c407ac9c675a601, []int{0} | ||||
| } | ||||
|  | ||||
| func (m *ResourceSpans) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_ResourceSpans.Unmarshal(m, b) | ||||
| } | ||||
| func (m *ResourceSpans) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_ResourceSpans.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *ResourceSpans) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_ResourceSpans.Merge(m, src) | ||||
| } | ||||
| func (m *ResourceSpans) XXX_Size() int { | ||||
| 	return xxx_messageInfo_ResourceSpans.Size(m) | ||||
| } | ||||
| func (m *ResourceSpans) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_ResourceSpans.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_ResourceSpans proto.InternalMessageInfo | ||||
|  | ||||
| func (m *ResourceSpans) GetResource() *v1.Resource { | ||||
| 	if m != nil { | ||||
| 		return m.Resource | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *ResourceSpans) GetInstrumentationLibrarySpans() []*InstrumentationLibrarySpans { | ||||
| 	if m != nil { | ||||
| 		return m.InstrumentationLibrarySpans | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // A collection of Spans produced by an InstrumentationLibrary. | ||||
| type InstrumentationLibrarySpans struct { | ||||
| 	// The instrumentation library information for the spans in this message. | ||||
| 	// If this field is not set then no library info is known. | ||||
| 	InstrumentationLibrary *v11.InstrumentationLibrary `protobuf:"bytes,1,opt,name=instrumentation_library,json=instrumentationLibrary,proto3" json:"instrumentation_library,omitempty"` | ||||
| 	// A list of Spans that originate from an instrumentation library. | ||||
| 	Spans                []*Span  `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||||
| 	XXX_unrecognized     []byte   `json:"-"` | ||||
| 	XXX_sizecache        int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *InstrumentationLibrarySpans) Reset()         { *m = InstrumentationLibrarySpans{} } | ||||
| func (m *InstrumentationLibrarySpans) String() string { return proto.CompactTextString(m) } | ||||
| func (*InstrumentationLibrarySpans) ProtoMessage()    {} | ||||
| func (*InstrumentationLibrarySpans) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5c407ac9c675a601, []int{1} | ||||
| } | ||||
|  | ||||
| func (m *InstrumentationLibrarySpans) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_InstrumentationLibrarySpans.Unmarshal(m, b) | ||||
| } | ||||
| func (m *InstrumentationLibrarySpans) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_InstrumentationLibrarySpans.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *InstrumentationLibrarySpans) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_InstrumentationLibrarySpans.Merge(m, src) | ||||
| } | ||||
| func (m *InstrumentationLibrarySpans) XXX_Size() int { | ||||
| 	return xxx_messageInfo_InstrumentationLibrarySpans.Size(m) | ||||
| } | ||||
| func (m *InstrumentationLibrarySpans) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_InstrumentationLibrarySpans.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_InstrumentationLibrarySpans proto.InternalMessageInfo | ||||
|  | ||||
| func (m *InstrumentationLibrarySpans) GetInstrumentationLibrary() *v11.InstrumentationLibrary { | ||||
| 	if m != nil { | ||||
| 		return m.InstrumentationLibrary | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *InstrumentationLibrarySpans) GetSpans() []*Span { | ||||
| 	if m != nil { | ||||
| 		return m.Spans | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // Span represents a single operation within a trace. Spans can be | ||||
| // nested to form a trace tree. Spans may also be linked to other spans | ||||
| // from the same or different trace and form graphs. Often, a trace | ||||
| // contains a root span that describes the end-to-end latency, and one | ||||
| // or more subspans for its sub-operations. A trace can also contain | ||||
| // multiple root spans, or none at all. Spans do not need to be | ||||
| // contiguous - there may be gaps or overlaps between spans in a trace. | ||||
| // | ||||
| // The next available field id is 17. | ||||
| type Span struct { | ||||
| 	// A unique identifier for a trace. All spans from the same trace share | ||||
| 	// the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes | ||||
| 	// is considered invalid. | ||||
| 	// | ||||
| 	// This field is semantically required. Receiver should generate new | ||||
| 	// random trace_id if empty or invalid trace_id was received. | ||||
| 	// | ||||
| 	// This field is required. | ||||
| 	TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` | ||||
| 	// A unique identifier for a span within a trace, assigned when the span | ||||
| 	// is created. The ID is an 8-byte array. An ID with all zeroes is considered | ||||
| 	// invalid. | ||||
| 	// | ||||
| 	// This field is semantically required. Receiver should generate new | ||||
| 	// random span_id if empty or invalid span_id was received. | ||||
| 	// | ||||
| 	// This field is required. | ||||
| 	SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` | ||||
| 	// trace_state conveys information about request position in multiple distributed tracing graphs. | ||||
| 	// It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header | ||||
| 	// See also https://github.com/w3c/distributed-tracing for more details about this field. | ||||
| 	TraceState string `protobuf:"bytes,3,opt,name=trace_state,json=traceState,proto3" json:"trace_state,omitempty"` | ||||
| 	// The `span_id` of this span's parent span. If this is a root span, then this | ||||
| 	// field must be empty. The ID is an 8-byte array. | ||||
| 	ParentSpanId []byte `protobuf:"bytes,4,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"` | ||||
| 	// A description of the span's operation. | ||||
| 	// | ||||
| 	// For example, the name can be a qualified method name or a file name | ||||
| 	// and a line number where the operation is called. A best practice is to use | ||||
| 	// the same display name at the same call point in an application. | ||||
| 	// This makes it easier to correlate spans in different traces. | ||||
| 	// | ||||
| 	// This field is semantically required to be set to non-empty string. | ||||
| 	// When null or empty string received - receiver may use string "name" | ||||
| 	// as a replacement. There might be smarted algorithms implemented by | ||||
| 	// receiver to fix the empty span name. | ||||
| 	// | ||||
| 	// This field is required. | ||||
| 	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` | ||||
| 	// Distinguishes between spans generated in a particular context. For example, | ||||
| 	// two spans with the same name may be distinguished using `CLIENT` (caller) | ||||
| 	// and `SERVER` (callee) to identify queueing latency associated with the span. | ||||
| 	Kind Span_SpanKind `protobuf:"varint,6,opt,name=kind,proto3,enum=opentelemetry.proto.trace.v1.Span_SpanKind" json:"kind,omitempty"` | ||||
| 	// start_time_unix_nano is the start time of the span. On the client side, this is the time | ||||
| 	// kept by the local machine where the span execution starts. On the server side, this | ||||
| 	// is the time when the server's application handler starts running. | ||||
| 	// Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. | ||||
| 	// | ||||
| 	// This field is semantically required and it is expected that end_time >= start_time. | ||||
| 	StartTimeUnixNano uint64 `protobuf:"fixed64,7,opt,name=start_time_unix_nano,json=startTimeUnixNano,proto3" json:"start_time_unix_nano,omitempty"` | ||||
| 	// end_time_unix_nano is the end time of the span. On the client side, this is the time | ||||
| 	// kept by the local machine where the span execution ends. On the server side, this | ||||
| 	// is the time when the server application handler stops running. | ||||
| 	// Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. | ||||
| 	// | ||||
| 	// This field is semantically required and it is expected that end_time >= start_time. | ||||
| 	EndTimeUnixNano uint64 `protobuf:"fixed64,8,opt,name=end_time_unix_nano,json=endTimeUnixNano,proto3" json:"end_time_unix_nano,omitempty"` | ||||
| 	// attributes is a collection of key/value pairs. The value can be a string, | ||||
| 	// an integer, a double or the Boolean values `true` or `false`. Note, global attributes | ||||
| 	// like server name can be set using the resource API. Examples of attributes: | ||||
| 	// | ||||
| 	//     "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" | ||||
| 	//     "/http/server_latency": 300 | ||||
| 	//     "abc.com/myattribute": true | ||||
| 	//     "abc.com/score": 10.239 | ||||
| 	Attributes []*v11.KeyValue `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty"` | ||||
| 	// dropped_attributes_count is the number of attributes that were discarded. Attributes | ||||
| 	// can be discarded because their keys are too long or because there are too many | ||||
| 	// attributes. If this value is 0, then no attributes were dropped. | ||||
| 	DroppedAttributesCount uint32 `protobuf:"varint,10,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"` | ||||
| 	// events is a collection of Event items. | ||||
| 	Events []*Span_Event `protobuf:"bytes,11,rep,name=events,proto3" json:"events,omitempty"` | ||||
| 	// dropped_events_count is the number of dropped events. If the value is 0, then no | ||||
| 	// events were dropped. | ||||
| 	DroppedEventsCount uint32 `protobuf:"varint,12,opt,name=dropped_events_count,json=droppedEventsCount,proto3" json:"dropped_events_count,omitempty"` | ||||
| 	// links is a collection of Links, which are references from this span to a span | ||||
| 	// in the same or different trace. | ||||
| 	Links []*Span_Link `protobuf:"bytes,13,rep,name=links,proto3" json:"links,omitempty"` | ||||
| 	// dropped_links_count is the number of dropped links after the maximum size was | ||||
| 	// enforced. If this value is 0, then no links were dropped. | ||||
| 	DroppedLinksCount uint32 `protobuf:"varint,14,opt,name=dropped_links_count,json=droppedLinksCount,proto3" json:"dropped_links_count,omitempty"` | ||||
| 	// An optional final status for this span. Semantically when Status | ||||
| 	// wasn't set it is means span ended without errors and assume | ||||
| 	// Status.Ok (code = 0). | ||||
| 	Status               *Status  `protobuf:"bytes,15,opt,name=status,proto3" json:"status,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||||
| 	XXX_unrecognized     []byte   `json:"-"` | ||||
| 	XXX_sizecache        int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *Span) Reset()         { *m = Span{} } | ||||
| func (m *Span) String() string { return proto.CompactTextString(m) } | ||||
| func (*Span) ProtoMessage()    {} | ||||
| func (*Span) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5c407ac9c675a601, []int{2} | ||||
| } | ||||
|  | ||||
| func (m *Span) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_Span.Unmarshal(m, b) | ||||
| } | ||||
| func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_Span.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *Span) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_Span.Merge(m, src) | ||||
| } | ||||
| func (m *Span) XXX_Size() int { | ||||
| 	return xxx_messageInfo_Span.Size(m) | ||||
| } | ||||
| func (m *Span) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_Span.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_Span proto.InternalMessageInfo | ||||
|  | ||||
| func (m *Span) GetTraceId() []byte { | ||||
| 	if m != nil { | ||||
| 		return m.TraceId | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span) GetSpanId() []byte { | ||||
| 	if m != nil { | ||||
| 		return m.SpanId | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span) GetTraceState() string { | ||||
| 	if m != nil { | ||||
| 		return m.TraceState | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func (m *Span) GetParentSpanId() []byte { | ||||
| 	if m != nil { | ||||
| 		return m.ParentSpanId | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span) GetName() string { | ||||
| 	if m != nil { | ||||
| 		return m.Name | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func (m *Span) GetKind() Span_SpanKind { | ||||
| 	if m != nil { | ||||
| 		return m.Kind | ||||
| 	} | ||||
| 	return Span_SPAN_KIND_UNSPECIFIED | ||||
| } | ||||
|  | ||||
| func (m *Span) GetStartTimeUnixNano() uint64 { | ||||
| 	if m != nil { | ||||
| 		return m.StartTimeUnixNano | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *Span) GetEndTimeUnixNano() uint64 { | ||||
| 	if m != nil { | ||||
| 		return m.EndTimeUnixNano | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *Span) GetAttributes() []*v11.KeyValue { | ||||
| 	if m != nil { | ||||
| 		return m.Attributes | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span) GetDroppedAttributesCount() uint32 { | ||||
| 	if m != nil { | ||||
| 		return m.DroppedAttributesCount | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *Span) GetEvents() []*Span_Event { | ||||
| 	if m != nil { | ||||
| 		return m.Events | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span) GetDroppedEventsCount() uint32 { | ||||
| 	if m != nil { | ||||
| 		return m.DroppedEventsCount | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *Span) GetLinks() []*Span_Link { | ||||
| 	if m != nil { | ||||
| 		return m.Links | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span) GetDroppedLinksCount() uint32 { | ||||
| 	if m != nil { | ||||
| 		return m.DroppedLinksCount | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *Span) GetStatus() *Status { | ||||
| 	if m != nil { | ||||
| 		return m.Status | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // Event is a time-stamped annotation of the span, consisting of user-supplied | ||||
| // text description and key-value pairs. | ||||
| type Span_Event struct { | ||||
| 	// time_unix_nano is the time the event occurred. | ||||
| 	TimeUnixNano uint64 `protobuf:"fixed64,1,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"` | ||||
| 	// name of the event. | ||||
| 	// This field is semantically required to be set to non-empty string. | ||||
| 	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` | ||||
| 	// attributes is a collection of attribute key/value pairs on the event. | ||||
| 	Attributes []*v11.KeyValue `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` | ||||
| 	// dropped_attributes_count is the number of dropped attributes. If the value is 0, | ||||
| 	// then no attributes were dropped. | ||||
| 	DroppedAttributesCount uint32   `protobuf:"varint,4,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral   struct{} `json:"-"` | ||||
| 	XXX_unrecognized       []byte   `json:"-"` | ||||
| 	XXX_sizecache          int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *Span_Event) Reset()         { *m = Span_Event{} } | ||||
| func (m *Span_Event) String() string { return proto.CompactTextString(m) } | ||||
| func (*Span_Event) ProtoMessage()    {} | ||||
| func (*Span_Event) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5c407ac9c675a601, []int{2, 0} | ||||
| } | ||||
|  | ||||
| func (m *Span_Event) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_Span_Event.Unmarshal(m, b) | ||||
| } | ||||
| func (m *Span_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_Span_Event.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *Span_Event) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_Span_Event.Merge(m, src) | ||||
| } | ||||
| func (m *Span_Event) XXX_Size() int { | ||||
| 	return xxx_messageInfo_Span_Event.Size(m) | ||||
| } | ||||
| func (m *Span_Event) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_Span_Event.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_Span_Event proto.InternalMessageInfo | ||||
|  | ||||
| func (m *Span_Event) GetTimeUnixNano() uint64 { | ||||
| 	if m != nil { | ||||
| 		return m.TimeUnixNano | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| func (m *Span_Event) GetName() string { | ||||
| 	if m != nil { | ||||
| 		return m.Name | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func (m *Span_Event) GetAttributes() []*v11.KeyValue { | ||||
| 	if m != nil { | ||||
| 		return m.Attributes | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span_Event) GetDroppedAttributesCount() uint32 { | ||||
| 	if m != nil { | ||||
| 		return m.DroppedAttributesCount | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| // A pointer from the current span to another span in the same trace or in a | ||||
| // different trace. For example, this can be used in batching operations, | ||||
| // where a single batch handler processes multiple requests from different | ||||
| // traces or when the handler receives a request from a different project. | ||||
| type Span_Link struct { | ||||
| 	// A unique identifier of a trace that this linked span is part of. The ID is a | ||||
| 	// 16-byte array. | ||||
| 	TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` | ||||
| 	// A unique identifier for the linked span. The ID is an 8-byte array. | ||||
| 	SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` | ||||
| 	// The trace_state associated with the link. | ||||
| 	TraceState string `protobuf:"bytes,3,opt,name=trace_state,json=traceState,proto3" json:"trace_state,omitempty"` | ||||
| 	// attributes is a collection of attribute key/value pairs on the link. | ||||
| 	Attributes []*v11.KeyValue `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` | ||||
| 	// dropped_attributes_count is the number of dropped attributes. If the value is 0, | ||||
| 	// then no attributes were dropped. | ||||
| 	DroppedAttributesCount uint32   `protobuf:"varint,5,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral   struct{} `json:"-"` | ||||
| 	XXX_unrecognized       []byte   `json:"-"` | ||||
| 	XXX_sizecache          int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *Span_Link) Reset()         { *m = Span_Link{} } | ||||
| func (m *Span_Link) String() string { return proto.CompactTextString(m) } | ||||
| func (*Span_Link) ProtoMessage()    {} | ||||
| func (*Span_Link) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5c407ac9c675a601, []int{2, 1} | ||||
| } | ||||
|  | ||||
| func (m *Span_Link) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_Span_Link.Unmarshal(m, b) | ||||
| } | ||||
| func (m *Span_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_Span_Link.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *Span_Link) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_Span_Link.Merge(m, src) | ||||
| } | ||||
| func (m *Span_Link) XXX_Size() int { | ||||
| 	return xxx_messageInfo_Span_Link.Size(m) | ||||
| } | ||||
| func (m *Span_Link) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_Span_Link.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_Span_Link proto.InternalMessageInfo | ||||
|  | ||||
| func (m *Span_Link) GetTraceId() []byte { | ||||
| 	if m != nil { | ||||
| 		return m.TraceId | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span_Link) GetSpanId() []byte { | ||||
| 	if m != nil { | ||||
| 		return m.SpanId | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span_Link) GetTraceState() string { | ||||
| 	if m != nil { | ||||
| 		return m.TraceState | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func (m *Span_Link) GetAttributes() []*v11.KeyValue { | ||||
| 	if m != nil { | ||||
| 		return m.Attributes | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| func (m *Span_Link) GetDroppedAttributesCount() uint32 { | ||||
| 	if m != nil { | ||||
| 		return m.DroppedAttributesCount | ||||
| 	} | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| // The Status type defines a logical error model that is suitable for different | ||||
| // programming environments, including REST APIs and RPC APIs. | ||||
| type Status struct { | ||||
| 	// The status code. This is optional field. It is safe to assume 0 (OK) | ||||
| 	// when not set. | ||||
| 	Code Status_StatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=opentelemetry.proto.trace.v1.Status_StatusCode" json:"code,omitempty"` | ||||
| 	// A developer-facing human readable error message. | ||||
| 	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` | ||||
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||||
| 	XXX_unrecognized     []byte   `json:"-"` | ||||
| 	XXX_sizecache        int32    `json:"-"` | ||||
| } | ||||
|  | ||||
| func (m *Status) Reset()         { *m = Status{} } | ||||
| func (m *Status) String() string { return proto.CompactTextString(m) } | ||||
| func (*Status) ProtoMessage()    {} | ||||
| func (*Status) Descriptor() ([]byte, []int) { | ||||
| 	return fileDescriptor_5c407ac9c675a601, []int{3} | ||||
| } | ||||
|  | ||||
| func (m *Status) XXX_Unmarshal(b []byte) error { | ||||
| 	return xxx_messageInfo_Status.Unmarshal(m, b) | ||||
| } | ||||
| func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||||
| 	return xxx_messageInfo_Status.Marshal(b, m, deterministic) | ||||
| } | ||||
| func (m *Status) XXX_Merge(src proto.Message) { | ||||
| 	xxx_messageInfo_Status.Merge(m, src) | ||||
| } | ||||
| func (m *Status) XXX_Size() int { | ||||
| 	return xxx_messageInfo_Status.Size(m) | ||||
| } | ||||
| func (m *Status) XXX_DiscardUnknown() { | ||||
| 	xxx_messageInfo_Status.DiscardUnknown(m) | ||||
| } | ||||
|  | ||||
| var xxx_messageInfo_Status proto.InternalMessageInfo | ||||
|  | ||||
| func (m *Status) GetCode() Status_StatusCode { | ||||
| 	if m != nil { | ||||
| 		return m.Code | ||||
| 	} | ||||
| 	return Status_Ok | ||||
| } | ||||
|  | ||||
| func (m *Status) GetMessage() string { | ||||
| 	if m != nil { | ||||
| 		return m.Message | ||||
| 	} | ||||
| 	return "" | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterEnum("opentelemetry.proto.trace.v1.Span_SpanKind", Span_SpanKind_name, Span_SpanKind_value) | ||||
| 	proto.RegisterEnum("opentelemetry.proto.trace.v1.Status_StatusCode", Status_StatusCode_name, Status_StatusCode_value) | ||||
| 	proto.RegisterType((*ResourceSpans)(nil), "opentelemetry.proto.trace.v1.ResourceSpans") | ||||
| 	proto.RegisterType((*InstrumentationLibrarySpans)(nil), "opentelemetry.proto.trace.v1.InstrumentationLibrarySpans") | ||||
| 	proto.RegisterType((*Span)(nil), "opentelemetry.proto.trace.v1.Span") | ||||
| 	proto.RegisterType((*Span_Event)(nil), "opentelemetry.proto.trace.v1.Span.Event") | ||||
| 	proto.RegisterType((*Span_Link)(nil), "opentelemetry.proto.trace.v1.Span.Link") | ||||
| 	proto.RegisterType((*Status)(nil), "opentelemetry.proto.trace.v1.Status") | ||||
| } | ||||
|  | ||||
| func init() { | ||||
| 	proto.RegisterFile("opentelemetry/proto/trace/v1/trace.proto", fileDescriptor_5c407ac9c675a601) | ||||
| } | ||||
|  | ||||
| var fileDescriptor_5c407ac9c675a601 = []byte{ | ||||
| 	// 1003 bytes of a gzipped FileDescriptorProto | ||||
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4d, 0x6f, 0x1b, 0x37, | ||||
| 	0x13, 0xce, 0xea, 0xdb, 0xa3, 0x0f, 0xaf, 0x99, 0xaf, 0x8d, 0xf3, 0xbe, 0x88, 0x20, 0x04, 0xa8, | ||||
| 	0xda, 0x20, 0x52, 0xed, 0xa2, 0x40, 0x0a, 0xb4, 0x68, 0x65, 0x69, 0x5d, 0x08, 0x76, 0x65, 0x81, | ||||
| 	0xb2, 0x72, 0xe8, 0x65, 0x41, 0x8b, 0xac, 0x42, 0x78, 0x45, 0x0a, 0x5c, 0xae, 0x6a, 0x1f, 0xfa, | ||||
| 	0x7b, 0xfa, 0x2b, 0x7a, 0x2b, 0xd0, 0x5f, 0xd0, 0x6b, 0xef, 0xfd, 0x17, 0x05, 0xb9, 0xbb, 0x8e, | ||||
| 	0x65, 0xd8, 0x72, 0x2e, 0xbe, 0x48, 0xc3, 0x99, 0xe7, 0x99, 0x67, 0x86, 0x33, 0xab, 0x15, 0xb4, | ||||
| 	0xe5, 0x92, 0x09, 0xcd, 0x42, 0xb6, 0x60, 0x5a, 0x5d, 0x76, 0x97, 0x4a, 0x6a, 0xd9, 0xd5, 0x8a, | ||||
| 	0xcc, 0x58, 0x77, 0xb5, 0x97, 0x18, 0x1d, 0xeb, 0x44, 0xff, 0x5b, 0x43, 0x26, 0xce, 0x4e, 0x02, | ||||
| 	0x58, 0xed, 0xed, 0x7e, 0x71, 0x5b, 0x9e, 0x99, 0x5c, 0x2c, 0xa4, 0x30, 0x89, 0x12, 0x2b, 0x21, | ||||
| 	0xed, 0x76, 0x6e, 0xc3, 0x2a, 0x16, 0xc9, 0x58, 0x25, 0xb2, 0x99, 0x9d, 0xe0, 0x5b, 0x7f, 0x3b, | ||||
| 	0x50, 0xc7, 0xa9, 0x6b, 0xb2, 0x24, 0x22, 0x42, 0x3e, 0x54, 0x32, 0x8c, 0xe7, 0x34, 0x9d, 0x76, | ||||
| 	0x75, 0xff, 0xf3, 0xce, 0x6d, 0xe5, 0x5d, 0x25, 0x5a, 0xed, 0x75, 0xb2, 0x0c, 0xf8, 0x8a, 0x8a, | ||||
| 	0x7e, 0x83, 0xff, 0x73, 0x11, 0x69, 0x15, 0x2f, 0x98, 0xd0, 0x44, 0x73, 0x29, 0x82, 0x90, 0x9f, | ||||
| 	0x29, 0xa2, 0x2e, 0x83, 0xc8, 0xe8, 0x78, 0xb9, 0x66, 0xbe, 0x5d, 0xdd, 0xff, 0xa6, 0xb3, 0xa9, | ||||
| 	0xf5, 0xce, 0x70, 0x3d, 0xc5, 0x71, 0x92, 0xc1, 0x16, 0x8a, 0x5f, 0xf2, 0xbb, 0x83, 0xad, 0xbf, | ||||
| 	0x1c, 0x78, 0xb9, 0x81, 0x8c, 0x04, 0x3c, 0xbf, 0xa3, 0xbc, 0xb4, 0xe9, 0xaf, 0x6f, 0x2d, 0x2c, | ||||
| 	0xbd, 0xeb, 0x3b, 0x2b, 0xc3, 0xcf, 0x6e, 0x2f, 0x0a, 0xbd, 0x83, 0xe2, 0xf5, 0xb6, 0x5b, 0x9b, | ||||
| 	0xdb, 0x36, 0x35, 0xe2, 0x84, 0xd0, 0xfa, 0x77, 0x0b, 0x0a, 0xe6, 0x8c, 0x5e, 0x40, 0xc5, 0x02, | ||||
| 	0x02, 0x4e, 0x6d, 0x8d, 0x35, 0x5c, 0xb6, 0xe7, 0x21, 0x45, 0xcf, 0xa1, 0x6c, 0xc0, 0x26, 0x92, | ||||
| 	0xb3, 0x91, 0x92, 0x39, 0x0e, 0x29, 0x7a, 0x05, 0xd5, 0x84, 0x13, 0x69, 0xa2, 0x99, 0x97, 0x6f, | ||||
| 	0x3a, 0xed, 0x2d, 0x0c, 0xd6, 0x35, 0x31, 0x1e, 0xf4, 0x1a, 0x1a, 0x4b, 0xa2, 0x98, 0xd0, 0x41, | ||||
| 	0x96, 0xa0, 0x60, 0x13, 0xd4, 0x12, 0xef, 0x24, 0x49, 0x83, 0xa0, 0x20, 0xc8, 0x82, 0x79, 0x45, | ||||
| 	0xcb, 0xb7, 0x36, 0xfa, 0x1e, 0x0a, 0xe7, 0x5c, 0x50, 0xaf, 0xd4, 0x74, 0xda, 0x8d, 0xfd, 0x37, | ||||
| 	0xf7, 0x37, 0x64, 0x3f, 0x8e, 0xb8, 0xa0, 0xd8, 0x12, 0x51, 0x17, 0x9e, 0x44, 0x9a, 0x28, 0x1d, | ||||
| 	0x68, 0xbe, 0x60, 0x41, 0x2c, 0xf8, 0x45, 0x20, 0x88, 0x90, 0x5e, 0xb9, 0xe9, 0xb4, 0x4b, 0x78, | ||||
| 	0xc7, 0xc6, 0x4e, 0xf9, 0x82, 0x4d, 0x05, 0xbf, 0x18, 0x11, 0x21, 0xd1, 0x1b, 0x40, 0x4c, 0xd0, | ||||
| 	0x9b, 0xf0, 0x8a, 0x85, 0x6f, 0x33, 0x41, 0xd7, 0xc0, 0x3f, 0x02, 0x10, 0xad, 0x15, 0x3f, 0x8b, | ||||
| 	0x35, 0x8b, 0xbc, 0x2d, 0x7b, 0xeb, 0x9f, 0xdd, 0x33, 0xd3, 0x23, 0x76, 0xf9, 0x9e, 0x84, 0x31, | ||||
| 	0xc3, 0xd7, 0xa8, 0xe8, 0x1d, 0x78, 0x54, 0xc9, 0xe5, 0x92, 0xd1, 0xe0, 0xa3, 0x37, 0x98, 0xc9, | ||||
| 	0x58, 0x68, 0x0f, 0x9a, 0x4e, 0xbb, 0x8e, 0x9f, 0xa5, 0xf1, 0xde, 0x55, 0xb8, 0x6f, 0xa2, 0xe8, | ||||
| 	0x07, 0x28, 0xb1, 0x15, 0x13, 0x3a, 0xf2, 0xaa, 0x56, 0xbe, 0xfd, 0x09, 0x77, 0xe4, 0x1b, 0x02, | ||||
| 	0x4e, 0x79, 0xe8, 0x4b, 0x78, 0x92, 0x69, 0x27, 0x9e, 0x54, 0xb7, 0x66, 0x75, 0x51, 0x1a, 0xb3, | ||||
| 	0x9c, 0x54, 0xf3, 0x3b, 0x28, 0x86, 0x5c, 0x9c, 0x47, 0x5e, 0x7d, 0x43, 0xc7, 0xeb, 0x92, 0xc7, | ||||
| 	0x5c, 0x9c, 0xe3, 0x84, 0x85, 0x3a, 0xf0, 0x38, 0x13, 0xb4, 0x8e, 0x54, 0xaf, 0x61, 0xf5, 0x76, | ||||
| 	0xd2, 0x90, 0x21, 0xa4, 0x72, 0xdf, 0x42, 0xc9, 0x6c, 0x56, 0x1c, 0x79, 0xdb, 0xf6, 0xa9, 0x79, | ||||
| 	0x7d, 0x8f, 0x9e, 0xc5, 0xe2, 0x94, 0xb3, 0xfb, 0xa7, 0x03, 0x45, 0x5b, 0xbc, 0x59, 0xc3, 0x1b, | ||||
| 	0x63, 0x75, 0xec, 0x58, 0x6b, 0xfa, 0xfa, 0x4c, 0xb3, 0x35, 0xcc, 0x5d, 0x5b, 0xc3, 0xf5, 0x39, | ||||
| 	0xe7, 0x1f, 0x66, 0xce, 0x85, 0x4d, 0x73, 0xde, 0xfd, 0xc7, 0x81, 0x82, 0xb9, 0x93, 0x87, 0x79, | ||||
| 	0x42, 0xd7, 0x1b, 0x2c, 0x3c, 0x4c, 0x83, 0xc5, 0x4d, 0x0d, 0xb6, 0xe6, 0x50, 0xc9, 0x9e, 0x5d, | ||||
| 	0xf4, 0x02, 0x9e, 0x4e, 0xc6, 0xbd, 0x51, 0x70, 0x34, 0x1c, 0x0d, 0x82, 0xe9, 0x68, 0x32, 0xf6, | ||||
| 	0xfb, 0xc3, 0xc3, 0xa1, 0x3f, 0x70, 0x1f, 0xa1, 0x1a, 0x54, 0x86, 0xa3, 0x53, 0x1f, 0x8f, 0x7a, | ||||
| 	0xc7, 0xae, 0x83, 0x00, 0x4a, 0x13, 0x1f, 0xbf, 0xf7, 0xb1, 0x9b, 0x33, 0x76, 0xff, 0x78, 0xe8, | ||||
| 	0x8f, 0x4e, 0xdd, 0xbc, 0x41, 0x8d, 0xf1, 0xc9, 0x60, 0xda, 0xf7, 0xb1, 0x5b, 0x30, 0xa7, 0xfe, | ||||
| 	0xc9, 0x68, 0x32, 0xfd, 0xc9, 0xc7, 0x6e, 0xb1, 0xf5, 0x7b, 0x1e, 0x4a, 0xc9, 0x8e, 0xa0, 0x3e, | ||||
| 	0x14, 0x66, 0x92, 0x26, 0xaf, 0xa0, 0xc6, 0x7e, 0xf7, 0x53, 0xf6, 0x2a, 0xfd, 0xea, 0x4b, 0xca, | ||||
| 	0xb0, 0x25, 0x23, 0x0f, 0xca, 0x0b, 0x16, 0x45, 0x64, 0x9e, 0xed, 0x4c, 0x76, 0x6c, 0xfd, 0x91, | ||||
| 	0x03, 0xf8, 0x08, 0x47, 0x25, 0xc8, 0x9d, 0x9c, 0xbb, 0x8f, 0x50, 0x1d, 0xb6, 0xfa, 0x44, 0xcc, | ||||
| 	0x58, 0x18, 0x32, 0xea, 0x3a, 0xc8, 0x85, 0xda, 0x54, 0x9c, 0x0b, 0xf9, 0xab, 0xf0, 0x95, 0x92, | ||||
| 	0xca, 0xcd, 0xa1, 0xc7, 0xb0, 0x3d, 0x14, 0x2b, 0x12, 0x72, 0xda, 0x53, 0x73, 0xfb, 0x33, 0xef, | ||||
| 	0xe6, 0xd1, 0x13, 0x70, 0x07, 0x8c, 0xd0, 0x90, 0x0b, 0xe6, 0x5f, 0xcc, 0x18, 0xa3, 0x8c, 0x26, | ||||
| 	0xad, 0x8d, 0xa4, 0x3e, 0x94, 0xb1, 0xa0, 0x6e, 0x11, 0xed, 0x40, 0xbd, 0x17, 0x2a, 0x46, 0xe8, | ||||
| 	0xa5, 0x7f, 0xc1, 0x23, 0x1d, 0xb9, 0x25, 0x43, 0x1b, 0x33, 0xb5, 0xe0, 0x51, 0xc4, 0xa5, 0x18, | ||||
| 	0x30, 0xc1, 0x19, 0x75, 0xcb, 0xe8, 0x29, 0xec, 0x64, 0xaf, 0x53, 0xff, 0xe2, 0x03, 0x89, 0x23, | ||||
| 	0xcd, 0xa8, 0x5b, 0x41, 0xcf, 0x00, 0x1d, 0x12, 0x1e, 0x32, 0x3a, 0x56, 0x6c, 0x26, 0x05, 0xe5, | ||||
| 	0xe6, 0xed, 0xe2, 0x6e, 0xa1, 0x2a, 0x94, 0x7b, 0x67, 0x52, 0x19, 0x10, 0xa0, 0x06, 0xc0, 0x49, | ||||
| 	0xac, 0x4f, 0x7e, 0xc1, 0x44, 0xcc, 0x99, 0x5b, 0x35, 0xa2, 0x53, 0xc1, 0x17, 0x4b, 0x73, 0x6d, | ||||
| 	0xc2, 0x40, 0x6a, 0xc6, 0x35, 0x14, 0x9a, 0x29, 0x41, 0xc2, 0xa4, 0xa7, 0x3a, 0xda, 0x86, 0xea, | ||||
| 	0x54, 0x90, 0x15, 0xe1, 0x21, 0x39, 0x0b, 0x99, 0xdb, 0x30, 0x95, 0x0f, 0x88, 0x26, 0xc7, 0x32, | ||||
| 	0x8a, 0xdc, 0x6d, 0xd3, 0xf2, 0x54, 0x90, 0x58, 0x7f, 0x60, 0x42, 0xf3, 0x19, 0x31, 0x69, 0xdc, | ||||
| 	0x83, 0x08, 0x5e, 0x71, 0xb9, 0x71, 0x28, 0x07, 0x70, 0x6a, 0xac, 0xb1, 0x71, 0x8e, 0x9d, 0x9f, | ||||
| 	0x0f, 0xe6, 0x37, 0xe1, 0x5c, 0x76, 0xa5, 0x66, 0x61, 0x97, 0xa7, 0xe5, 0x74, 0xd7, 0xc2, 0x6f, | ||||
| 	0x6d, 0xb6, 0xb7, 0x73, 0x26, 0xae, 0xfe, 0x32, 0x9d, 0x95, 0xac, 0xef, 0xab, 0xff, 0x02, 0x00, | ||||
| 	0x00, 0xff, 0xff, 0x6c, 0x41, 0x9d, 0xfb, 0x59, 0x09, 0x00, 0x00, | ||||
| } | ||||
		Reference in New Issue
	
	Block a user