mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
vendor: make vendor-update
This commit is contained in:
parent
8288e327ee
commit
8937de5f99
28 changed files with 592 additions and 240 deletions
14
go.mod
14
go.mod
|
@ -18,7 +18,7 @@ require (
|
||||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.55
|
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.55
|
||||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.30.5
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.30.5
|
||||||
github.com/cespare/xxhash/v2 v2.2.0
|
github.com/cespare/xxhash/v2 v2.2.0
|
||||||
github.com/cheggaaa/pb/v3 v3.1.0
|
github.com/cheggaaa/pb/v3 v3.1.2
|
||||||
github.com/gogo/protobuf v1.3.2
|
github.com/gogo/protobuf v1.3.2
|
||||||
github.com/golang/snappy v0.0.4
|
github.com/golang/snappy v0.0.4
|
||||||
github.com/googleapis/gax-go/v2 v2.7.0
|
github.com/googleapis/gax-go/v2 v2.7.0
|
||||||
|
@ -47,7 +47,7 @@ require (
|
||||||
github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2 // indirect
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2 // indirect
|
||||||
github.com/VividCortex/ewma v1.2.0 // indirect
|
github.com/VividCortex/ewma v1.2.0 // indirect
|
||||||
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
|
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
|
||||||
github.com/aws/aws-sdk-go v1.44.209 // indirect
|
github.com/aws/aws-sdk-go v1.44.210 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/credentials v1.13.15 // indirect
|
github.com/aws/aws-sdk-go-v2/credentials v1.13.15 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.23 // indirect
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.23 // indirect
|
||||||
|
@ -99,14 +99,14 @@ require (
|
||||||
github.com/prometheus/procfs v0.9.0 // indirect
|
github.com/prometheus/procfs v0.9.0 // indirect
|
||||||
github.com/rivo/uniseg v0.4.4 // indirect
|
github.com/rivo/uniseg v0.4.4 // indirect
|
||||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||||
github.com/stretchr/testify v1.8.1 // indirect
|
github.com/stretchr/testify v1.8.2 // indirect
|
||||||
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
||||||
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
||||||
go.opencensus.io v0.24.0 // indirect
|
go.opencensus.io v0.24.0 // indirect
|
||||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.39.0 // indirect
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.39.0 // indirect
|
||||||
go.opentelemetry.io/otel v1.13.0 // indirect
|
go.opentelemetry.io/otel v1.14.0 // indirect
|
||||||
go.opentelemetry.io/otel/metric v0.36.0 // indirect
|
go.opentelemetry.io/otel/metric v0.37.0 // indirect
|
||||||
go.opentelemetry.io/otel/trace v1.13.0 // indirect
|
go.opentelemetry.io/otel/trace v1.14.0 // indirect
|
||||||
go.uber.org/atomic v1.10.0 // indirect
|
go.uber.org/atomic v1.10.0 // indirect
|
||||||
go.uber.org/goleak v1.2.1 // indirect
|
go.uber.org/goleak v1.2.1 // indirect
|
||||||
golang.org/x/exp v0.0.0-20230224173230-c95f2b4c22f2 // indirect
|
golang.org/x/exp v0.0.0-20230224173230-c95f2b4c22f2 // indirect
|
||||||
|
@ -115,7 +115,7 @@ require (
|
||||||
golang.org/x/time v0.3.0 // indirect
|
golang.org/x/time v0.3.0 // indirect
|
||||||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
||||||
google.golang.org/appengine v1.6.7 // indirect
|
google.golang.org/appengine v1.6.7 // indirect
|
||||||
google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 // indirect
|
google.golang.org/genproto v0.0.0-20230227214838-9b19f0bdc514 // indirect
|
||||||
google.golang.org/grpc v1.53.0 // indirect
|
google.golang.org/grpc v1.53.0 // indirect
|
||||||
google.golang.org/protobuf v1.28.1 // indirect
|
google.golang.org/protobuf v1.28.1 // indirect
|
||||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
|
|
37
go.sum
37
go.sum
|
@ -29,7 +29,7 @@ cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7
|
||||||
cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
|
cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
|
||||||
cloud.google.com/go/iam v0.12.0 h1:DRtTY29b75ciH6Ov1PHb4/iat2CLCvrOm40Q0a6DFpE=
|
cloud.google.com/go/iam v0.12.0 h1:DRtTY29b75ciH6Ov1PHb4/iat2CLCvrOm40Q0a6DFpE=
|
||||||
cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY=
|
cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY=
|
||||||
cloud.google.com/go/longrunning v0.3.0 h1:NjljC+FYPV3uh5/OwWT6pVU+doBqMg2x/rZlE+CamDs=
|
cloud.google.com/go/longrunning v0.4.1 h1:v+yFJOfKC3yZdY6ZUI933pIYdhyhV8S3NpWrXWmg7jM=
|
||||||
cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
|
cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
|
||||||
cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
|
cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
|
||||||
cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
|
cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
|
||||||
|
@ -71,7 +71,6 @@ github.com/VictoriaMetrics/metrics v1.23.1 h1:/j8DzeJBxSpL2qSIdqnRFLvQQhbJyJbbEi
|
||||||
github.com/VictoriaMetrics/metrics v1.23.1/go.mod h1:rAr/llLpEnAdTehiNlUxKgnjcOuROSzpw0GvjpEbvFc=
|
github.com/VictoriaMetrics/metrics v1.23.1/go.mod h1:rAr/llLpEnAdTehiNlUxKgnjcOuROSzpw0GvjpEbvFc=
|
||||||
github.com/VictoriaMetrics/metricsql v0.56.1 h1:j+W4fA/gtozsZb4PlKDU0Ma2VOgl88xla4FEf29w94g=
|
github.com/VictoriaMetrics/metricsql v0.56.1 h1:j+W4fA/gtozsZb4PlKDU0Ma2VOgl88xla4FEf29w94g=
|
||||||
github.com/VictoriaMetrics/metricsql v0.56.1/go.mod h1:6pP1ZeLVJHqJrHlF6Ij3gmpQIznSsgktEcZgsAWYel0=
|
github.com/VictoriaMetrics/metricsql v0.56.1/go.mod h1:6pP1ZeLVJHqJrHlF6Ij3gmpQIznSsgktEcZgsAWYel0=
|
||||||
github.com/VividCortex/ewma v1.1.1/go.mod h1:2Tkkvm3sRDVXaiyucHiACn4cqf7DpdyLvmxzcbUokwA=
|
|
||||||
github.com/VividCortex/ewma v1.2.0 h1:f58SaIzcDXrSy3kWaHNvuJgJ3Nmz59Zji6XoJR/q1ow=
|
github.com/VividCortex/ewma v1.2.0 h1:f58SaIzcDXrSy3kWaHNvuJgJ3Nmz59Zji6XoJR/q1ow=
|
||||||
github.com/VividCortex/ewma v1.2.0/go.mod h1:nz4BbCtbLyFDeC9SUHbtcT5644juEuWfUAUnGx7j5l4=
|
github.com/VividCortex/ewma v1.2.0/go.mod h1:nz4BbCtbLyFDeC9SUHbtcT5644juEuWfUAUnGx7j5l4=
|
||||||
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
|
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
|
||||||
|
@ -87,8 +86,8 @@ github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu
|
||||||
github.com/andybalholm/brotli v1.0.3/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
|
github.com/andybalholm/brotli v1.0.3/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
|
||||||
github.com/armon/go-metrics v0.3.10 h1:FR+drcQStOe+32sYyJYyZ7FIdgoGGBnwLl+flodp8Uo=
|
github.com/armon/go-metrics v0.3.10 h1:FR+drcQStOe+32sYyJYyZ7FIdgoGGBnwLl+flodp8Uo=
|
||||||
github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
|
github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
|
||||||
github.com/aws/aws-sdk-go v1.44.209 h1:wZuiaA4eaqYZmoZXqGgNHqVD7y7kUGFvACDGBgowTps=
|
github.com/aws/aws-sdk-go v1.44.210 h1:/cqRMHSSgzLEKILIDGwhaX2hiIpyRurw7MRy6aaSufg=
|
||||||
github.com/aws/aws-sdk-go v1.44.209/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
|
github.com/aws/aws-sdk-go v1.44.210/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
|
||||||
github.com/aws/aws-sdk-go-v2 v1.17.5 h1:TzCUW1Nq4H8Xscph5M/skINUitxM5UBAyvm2s7XBzL4=
|
github.com/aws/aws-sdk-go-v2 v1.17.5 h1:TzCUW1Nq4H8Xscph5M/skINUitxM5UBAyvm2s7XBzL4=
|
||||||
github.com/aws/aws-sdk-go-v2 v1.17.5/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw=
|
github.com/aws/aws-sdk-go-v2 v1.17.5/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw=
|
||||||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 h1:dK82zF6kkPeCo8J1e+tGx4JdvDIQzj7ygIoLg8WMuGs=
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 h1:dK82zF6kkPeCo8J1e+tGx4JdvDIQzj7ygIoLg8WMuGs=
|
||||||
|
@ -135,8 +134,8 @@ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA
|
||||||
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||||
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
|
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
|
||||||
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||||
github.com/cheggaaa/pb/v3 v3.1.0 h1:3uouEsl32RL7gTiQsuaXD4Bzbfl5tGztXGUvXbs4O04=
|
github.com/cheggaaa/pb/v3 v3.1.2 h1:FIxT3ZjOj9XJl0U4o2XbEhjFfZl7jCVCDOGq1ZAB7wQ=
|
||||||
github.com/cheggaaa/pb/v3 v3.1.0/go.mod h1:YjrevcBqadFDaGQKRdmZxTY42pXEqda48Ea3lt0K/BE=
|
github.com/cheggaaa/pb/v3 v3.1.2/go.mod h1:SNjnd0yKcW+kw0brSusraeDd5Bf1zBfxAzTL2ss3yQ4=
|
||||||
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
|
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
|
||||||
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
|
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
|
||||||
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
|
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
|
||||||
|
@ -164,7 +163,6 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m
|
||||||
github.com/envoyproxy/go-control-plane v0.10.3 h1:xdCVXxEe0Y3FQith+0cj2irwZudqGYvecuLB1HtdexY=
|
github.com/envoyproxy/go-control-plane v0.10.3 h1:xdCVXxEe0Y3FQith+0cj2irwZudqGYvecuLB1HtdexY=
|
||||||
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
|
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
|
||||||
github.com/envoyproxy/protoc-gen-validate v0.9.1 h1:PS7VIOgmSVhWUEeZwTe7z7zouA22Cr590PzXKbZHOVY=
|
github.com/envoyproxy/protoc-gen-validate v0.9.1 h1:PS7VIOgmSVhWUEeZwTe7z7zouA22Cr590PzXKbZHOVY=
|
||||||
github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM=
|
|
||||||
github.com/fatih/color v1.14.1 h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w=
|
github.com/fatih/color v1.14.1 h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w=
|
||||||
github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8WlgGZGg=
|
github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8WlgGZGg=
|
||||||
github.com/felixge/httpsnoop v1.0.3 h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk=
|
github.com/felixge/httpsnoop v1.0.3 h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk=
|
||||||
|
@ -330,14 +328,11 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||||
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
|
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
|
||||||
github.com/linode/linodego v1.12.0 h1:33mOIrZ+gVva14gyJMKPZ85mQGovAvZCEP1ftgmFBjA=
|
github.com/linode/linodego v1.12.0 h1:33mOIrZ+gVva14gyJMKPZ85mQGovAvZCEP1ftgmFBjA=
|
||||||
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
|
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
|
||||||
github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
|
|
||||||
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
|
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
|
||||||
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
|
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
|
||||||
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
|
|
||||||
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
||||||
github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
|
github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
|
||||||
github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
||||||
github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk=
|
|
||||||
github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU=
|
github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU=
|
||||||
github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
|
github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
|
||||||
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
||||||
|
@ -397,7 +392,6 @@ github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJf
|
||||||
github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY=
|
github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY=
|
||||||
github.com/prometheus/prometheus v0.42.0 h1:G769v8covTkOiNckXFIwLx01XE04OE6Fr0JPA0oR2nI=
|
github.com/prometheus/prometheus v0.42.0 h1:G769v8covTkOiNckXFIwLx01XE04OE6Fr0JPA0oR2nI=
|
||||||
github.com/prometheus/prometheus v0.42.0/go.mod h1:Pfqb/MLnnR2KK+0vchiaH39jXxvLMBk+3lnIGP4N7Vk=
|
github.com/prometheus/prometheus v0.42.0/go.mod h1:Pfqb/MLnnR2KK+0vchiaH39jXxvLMBk+3lnIGP4N7Vk=
|
||||||
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
|
||||||
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
||||||
github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=
|
github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=
|
||||||
github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
|
github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
|
||||||
|
@ -420,8 +414,9 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P
|
||||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||||
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||||
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
||||||
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
|
|
||||||
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||||
|
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
|
||||||
|
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||||
github.com/urfave/cli/v2 v2.24.4 h1:0gyJJEBYtCV87zI/x2nZCPyDxD51K6xM8SkwjHFCNEU=
|
github.com/urfave/cli/v2 v2.24.4 h1:0gyJJEBYtCV87zI/x2nZCPyDxD51K6xM8SkwjHFCNEU=
|
||||||
github.com/urfave/cli/v2 v2.24.4/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc=
|
github.com/urfave/cli/v2 v2.24.4/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc=
|
||||||
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
|
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
|
||||||
|
@ -457,12 +452,12 @@ go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
|
||||||
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
|
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
|
||||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.39.0 h1:vFEBG7SieZJzvnRWQ81jxpuEqe6J8Ex+hgc9CqOTzHc=
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.39.0 h1:vFEBG7SieZJzvnRWQ81jxpuEqe6J8Ex+hgc9CqOTzHc=
|
||||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.39.0/go.mod h1:9rgTcOKdIhDOC0IcAu8a+R+FChqSUBihKpM1lVNi6T0=
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.39.0/go.mod h1:9rgTcOKdIhDOC0IcAu8a+R+FChqSUBihKpM1lVNi6T0=
|
||||||
go.opentelemetry.io/otel v1.13.0 h1:1ZAKnNQKwBBxFtww/GwxNUyTf0AxkZzrukO8MeXqe4Y=
|
go.opentelemetry.io/otel v1.14.0 h1:/79Huy8wbf5DnIPhemGB+zEPVwnN6fuQybr/SRXa6hM=
|
||||||
go.opentelemetry.io/otel v1.13.0/go.mod h1:FH3RtdZCzRkJYFTCsAKDy9l/XYjMdNv6QrkFFB8DvVg=
|
go.opentelemetry.io/otel v1.14.0/go.mod h1:o4buv+dJzx8rohcUeRmWUZhqupFvzWis188WlggnNeU=
|
||||||
go.opentelemetry.io/otel/metric v0.36.0 h1:t0lgGI+L68QWt3QtOIlqM9gXoxqxWLhZ3R/e5oOAY0Q=
|
go.opentelemetry.io/otel/metric v0.37.0 h1:pHDQuLQOZwYD+Km0eb657A25NaRzy0a+eLyKfDXedEs=
|
||||||
go.opentelemetry.io/otel/metric v0.36.0/go.mod h1:wKVw57sd2HdSZAzyfOM9gTqqE8v7CbqWsYL6AyrH9qk=
|
go.opentelemetry.io/otel/metric v0.37.0/go.mod h1:DmdaHfGt54iV6UKxsV9slj2bBRJcKC1B1uvDLIioc1s=
|
||||||
go.opentelemetry.io/otel/trace v1.13.0 h1:CBgRZ6ntv+Amuj1jDsMhZtlAPT6gbyIRdaIzFhfBSdY=
|
go.opentelemetry.io/otel/trace v1.14.0 h1:wp2Mmvj41tDsyAJXiWDWpfNsOiIyd38fy85pyKcFq/M=
|
||||||
go.opentelemetry.io/otel/trace v1.13.0/go.mod h1:muCvmmO9KKpvuXSf3KKAXXB2ygNYHQ+ZfI5X08d3tds=
|
go.opentelemetry.io/otel/trace v1.14.0/go.mod h1:8avnQLK+CG77yNLUae4ea2JDQ6iT+gozhnZjy/rw9G8=
|
||||||
go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ=
|
go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ=
|
||||||
go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
|
go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
|
||||||
go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A=
|
go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A=
|
||||||
|
@ -585,7 +580,6 @@ golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||||
golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
||||||
golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
|
@ -607,7 +601,6 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||||
golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
||||||
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
|
@ -738,8 +731,8 @@ google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7Fc
|
||||||
google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||||
google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||||
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||||
google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 h1:znp6mq/drrY+6khTAlJUDNFFcDGV2ENLYKpMq8SyCds=
|
google.golang.org/genproto v0.0.0-20230227214838-9b19f0bdc514 h1:rtNKfB++wz5mtDY2t5C8TXlU5y52ojSu7tZo0z7u8eQ=
|
||||||
google.golang.org/genproto v0.0.0-20230223222841-637eb2293923/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw=
|
google.golang.org/genproto v0.0.0-20230227214838-9b19f0bdc514/go.mod h1:TvhZT5f700eVlTNwND1xoEZQeWTB2RY/65kplwl/bFA=
|
||||||
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
|
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
|
||||||
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
|
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
|
||||||
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
|
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
|
||||||
|
|
100
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
100
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
|
@ -13300,6 +13300,56 @@ var awsPartition = partition{
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"internetmonitor": service{
|
||||||
|
Defaults: endpointDefaults{
|
||||||
|
defaultKey{}: endpoint{
|
||||||
|
DNSSuffix: "api.aws",
|
||||||
|
},
|
||||||
|
defaultKey{
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "{service}-fips.{region}.{dnsSuffix}",
|
||||||
|
DNSSuffix: "api.aws",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-3",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.ap-northeast-3.api.aws",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-south-2",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.ap-south-2.api.aws",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.ap-southeast-3.api.aws",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-4",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.ap-southeast-4.api.aws",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-central-2",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.eu-central-2.api.aws",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-south-2",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.eu-south-2.api.aws",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "me-central-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.me-central-1.api.aws",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
"iot": service{
|
"iot": service{
|
||||||
Defaults: endpointDefaults{
|
Defaults: endpointDefaults{
|
||||||
defaultKey{}: endpoint{
|
defaultKey{}: endpoint{
|
||||||
|
@ -29797,6 +29847,31 @@ var awscnPartition = partition{
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"internetmonitor": service{
|
||||||
|
Defaults: endpointDefaults{
|
||||||
|
defaultKey{}: endpoint{
|
||||||
|
DNSSuffix: "api.amazonwebservices.com.cn",
|
||||||
|
},
|
||||||
|
defaultKey{
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "{service}-fips.{region}.{dnsSuffix}",
|
||||||
|
DNSSuffix: "api.amazonwebservices.com.cn",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "cn-north-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.cn-north-1.api.amazonwebservices.com.cn",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "cn-northwest-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.cn-northwest-1.api.amazonwebservices.com.cn",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
"iot": service{
|
"iot": service{
|
||||||
Defaults: endpointDefaults{
|
Defaults: endpointDefaults{
|
||||||
defaultKey{}: endpoint{
|
defaultKey{}: endpoint{
|
||||||
|
@ -33463,6 +33538,31 @@ var awsusgovPartition = partition{
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"internetmonitor": service{
|
||||||
|
Defaults: endpointDefaults{
|
||||||
|
defaultKey{}: endpoint{
|
||||||
|
DNSSuffix: "api.aws",
|
||||||
|
},
|
||||||
|
defaultKey{
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "{service}-fips.{region}.{dnsSuffix}",
|
||||||
|
DNSSuffix: "api.aws",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-east-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.us-gov-east-1.api.aws",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-west-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "internetmonitor.us-gov-west-1.api.aws",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
"iot": service{
|
"iot": service{
|
||||||
Defaults: endpointDefaults{
|
Defaults: endpointDefaults{
|
||||||
defaultKey{}: endpoint{
|
defaultKey{}: endpoint{
|
||||||
|
|
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
|
@ -5,4 +5,4 @@ package aws
|
||||||
const SDKName = "aws-sdk-go"
|
const SDKName = "aws-sdk-go"
|
||||||
|
|
||||||
// SDKVersion is the version of this SDK
|
// SDKVersion is the version of this SDK
|
||||||
const SDKVersion = "1.44.209"
|
const SDKVersion = "1.44.210"
|
||||||
|
|
78
vendor/github.com/stretchr/testify/assert/assertions.go
generated
vendored
78
vendor/github.com/stretchr/testify/assert/assertions.go
generated
vendored
|
@ -8,7 +8,6 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"regexp"
|
"regexp"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
@ -141,12 +140,11 @@ func CallerInfo() []string {
|
||||||
}
|
}
|
||||||
|
|
||||||
parts := strings.Split(file, "/")
|
parts := strings.Split(file, "/")
|
||||||
file = parts[len(parts)-1]
|
|
||||||
if len(parts) > 1 {
|
if len(parts) > 1 {
|
||||||
|
filename := parts[len(parts)-1]
|
||||||
dir := parts[len(parts)-2]
|
dir := parts[len(parts)-2]
|
||||||
if (dir != "assert" && dir != "mock" && dir != "require") || file == "mock_test.go" {
|
if (dir != "assert" && dir != "mock" && dir != "require") || filename == "mock_test.go" {
|
||||||
path, _ := filepath.Abs(file)
|
callers = append(callers, fmt.Sprintf("%s:%d", file, line))
|
||||||
callers = append(callers, fmt.Sprintf("%s:%d", path, line))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -530,7 +528,7 @@ func isNil(object interface{}) bool {
|
||||||
[]reflect.Kind{
|
[]reflect.Kind{
|
||||||
reflect.Chan, reflect.Func,
|
reflect.Chan, reflect.Func,
|
||||||
reflect.Interface, reflect.Map,
|
reflect.Interface, reflect.Map,
|
||||||
reflect.Ptr, reflect.Slice},
|
reflect.Ptr, reflect.Slice, reflect.UnsafePointer},
|
||||||
kind)
|
kind)
|
||||||
|
|
||||||
if isNilableKind && value.IsNil() {
|
if isNilableKind && value.IsNil() {
|
||||||
|
@ -818,49 +816,44 @@ func Subset(t TestingT, list, subset interface{}, msgAndArgs ...interface{}) (ok
|
||||||
return true // we consider nil to be equal to the nil set
|
return true // we consider nil to be equal to the nil set
|
||||||
}
|
}
|
||||||
|
|
||||||
defer func() {
|
|
||||||
if e := recover(); e != nil {
|
|
||||||
ok = false
|
|
||||||
}
|
|
||||||
}()
|
|
||||||
|
|
||||||
listKind := reflect.TypeOf(list).Kind()
|
listKind := reflect.TypeOf(list).Kind()
|
||||||
subsetKind := reflect.TypeOf(subset).Kind()
|
|
||||||
|
|
||||||
if listKind != reflect.Array && listKind != reflect.Slice && listKind != reflect.Map {
|
if listKind != reflect.Array && listKind != reflect.Slice && listKind != reflect.Map {
|
||||||
return Fail(t, fmt.Sprintf("%q has an unsupported type %s", list, listKind), msgAndArgs...)
|
return Fail(t, fmt.Sprintf("%q has an unsupported type %s", list, listKind), msgAndArgs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
subsetKind := reflect.TypeOf(subset).Kind()
|
||||||
if subsetKind != reflect.Array && subsetKind != reflect.Slice && listKind != reflect.Map {
|
if subsetKind != reflect.Array && subsetKind != reflect.Slice && listKind != reflect.Map {
|
||||||
return Fail(t, fmt.Sprintf("%q has an unsupported type %s", subset, subsetKind), msgAndArgs...)
|
return Fail(t, fmt.Sprintf("%q has an unsupported type %s", subset, subsetKind), msgAndArgs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
subsetValue := reflect.ValueOf(subset)
|
|
||||||
if subsetKind == reflect.Map && listKind == reflect.Map {
|
if subsetKind == reflect.Map && listKind == reflect.Map {
|
||||||
listValue := reflect.ValueOf(list)
|
subsetMap := reflect.ValueOf(subset)
|
||||||
subsetKeys := subsetValue.MapKeys()
|
actualMap := reflect.ValueOf(list)
|
||||||
|
|
||||||
for i := 0; i < len(subsetKeys); i++ {
|
for _, k := range subsetMap.MapKeys() {
|
||||||
subsetKey := subsetKeys[i]
|
ev := subsetMap.MapIndex(k)
|
||||||
subsetElement := subsetValue.MapIndex(subsetKey).Interface()
|
av := actualMap.MapIndex(k)
|
||||||
listElement := listValue.MapIndex(subsetKey).Interface()
|
|
||||||
|
|
||||||
if !ObjectsAreEqual(subsetElement, listElement) {
|
if !av.IsValid() {
|
||||||
return Fail(t, fmt.Sprintf("\"%s\" does not contain \"%s\"", list, subsetElement), msgAndArgs...)
|
return Fail(t, fmt.Sprintf("%#v does not contain %#v", list, subset), msgAndArgs...)
|
||||||
|
}
|
||||||
|
if !ObjectsAreEqual(ev.Interface(), av.Interface()) {
|
||||||
|
return Fail(t, fmt.Sprintf("%#v does not contain %#v", list, subset), msgAndArgs...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
for i := 0; i < subsetValue.Len(); i++ {
|
subsetList := reflect.ValueOf(subset)
|
||||||
element := subsetValue.Index(i).Interface()
|
for i := 0; i < subsetList.Len(); i++ {
|
||||||
|
element := subsetList.Index(i).Interface()
|
||||||
ok, found := containsElement(list, element)
|
ok, found := containsElement(list, element)
|
||||||
if !ok {
|
if !ok {
|
||||||
return Fail(t, fmt.Sprintf("\"%s\" could not be applied builtin len()", list), msgAndArgs...)
|
return Fail(t, fmt.Sprintf("%#v could not be applied builtin len()", list), msgAndArgs...)
|
||||||
}
|
}
|
||||||
if !found {
|
if !found {
|
||||||
return Fail(t, fmt.Sprintf("\"%s\" does not contain \"%s\"", list, element), msgAndArgs...)
|
return Fail(t, fmt.Sprintf("%#v does not contain %#v", list, element), msgAndArgs...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -879,34 +872,28 @@ func NotSubset(t TestingT, list, subset interface{}, msgAndArgs ...interface{})
|
||||||
return Fail(t, "nil is the empty set which is a subset of every set", msgAndArgs...)
|
return Fail(t, "nil is the empty set which is a subset of every set", msgAndArgs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
defer func() {
|
|
||||||
if e := recover(); e != nil {
|
|
||||||
ok = false
|
|
||||||
}
|
|
||||||
}()
|
|
||||||
|
|
||||||
listKind := reflect.TypeOf(list).Kind()
|
listKind := reflect.TypeOf(list).Kind()
|
||||||
subsetKind := reflect.TypeOf(subset).Kind()
|
|
||||||
|
|
||||||
if listKind != reflect.Array && listKind != reflect.Slice && listKind != reflect.Map {
|
if listKind != reflect.Array && listKind != reflect.Slice && listKind != reflect.Map {
|
||||||
return Fail(t, fmt.Sprintf("%q has an unsupported type %s", list, listKind), msgAndArgs...)
|
return Fail(t, fmt.Sprintf("%q has an unsupported type %s", list, listKind), msgAndArgs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
subsetKind := reflect.TypeOf(subset).Kind()
|
||||||
if subsetKind != reflect.Array && subsetKind != reflect.Slice && listKind != reflect.Map {
|
if subsetKind != reflect.Array && subsetKind != reflect.Slice && listKind != reflect.Map {
|
||||||
return Fail(t, fmt.Sprintf("%q has an unsupported type %s", subset, subsetKind), msgAndArgs...)
|
return Fail(t, fmt.Sprintf("%q has an unsupported type %s", subset, subsetKind), msgAndArgs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
subsetValue := reflect.ValueOf(subset)
|
|
||||||
if subsetKind == reflect.Map && listKind == reflect.Map {
|
if subsetKind == reflect.Map && listKind == reflect.Map {
|
||||||
listValue := reflect.ValueOf(list)
|
subsetMap := reflect.ValueOf(subset)
|
||||||
subsetKeys := subsetValue.MapKeys()
|
actualMap := reflect.ValueOf(list)
|
||||||
|
|
||||||
for i := 0; i < len(subsetKeys); i++ {
|
for _, k := range subsetMap.MapKeys() {
|
||||||
subsetKey := subsetKeys[i]
|
ev := subsetMap.MapIndex(k)
|
||||||
subsetElement := subsetValue.MapIndex(subsetKey).Interface()
|
av := actualMap.MapIndex(k)
|
||||||
listElement := listValue.MapIndex(subsetKey).Interface()
|
|
||||||
|
|
||||||
if !ObjectsAreEqual(subsetElement, listElement) {
|
if !av.IsValid() {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if !ObjectsAreEqual(ev.Interface(), av.Interface()) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -914,8 +901,9 @@ func NotSubset(t TestingT, list, subset interface{}, msgAndArgs ...interface{})
|
||||||
return Fail(t, fmt.Sprintf("%q is a subset of %q", subset, list), msgAndArgs...)
|
return Fail(t, fmt.Sprintf("%q is a subset of %q", subset, list), msgAndArgs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
for i := 0; i < subsetValue.Len(); i++ {
|
subsetList := reflect.ValueOf(subset)
|
||||||
element := subsetValue.Index(i).Interface()
|
for i := 0; i < subsetList.Len(); i++ {
|
||||||
|
element := subsetList.Index(i).Interface()
|
||||||
ok, found := containsElement(list, element)
|
ok, found := containsElement(list, element)
|
||||||
if !ok {
|
if !ok {
|
||||||
return Fail(t, fmt.Sprintf("\"%s\" could not be applied builtin len()", list), msgAndArgs...)
|
return Fail(t, fmt.Sprintf("\"%s\" could not be applied builtin len()", list), msgAndArgs...)
|
||||||
|
|
2
vendor/go.opentelemetry.io/otel/.lycheeignore
generated
vendored
2
vendor/go.opentelemetry.io/otel/.lycheeignore
generated
vendored
|
@ -2,3 +2,5 @@ http://localhost
|
||||||
http://jaeger-collector
|
http://jaeger-collector
|
||||||
https://github.com/open-telemetry/opentelemetry-go/milestone/
|
https://github.com/open-telemetry/opentelemetry-go/milestone/
|
||||||
https://github.com/open-telemetry/opentelemetry-go/projects
|
https://github.com/open-telemetry/opentelemetry-go/projects
|
||||||
|
file:///home/runner/work/opentelemetry-go/opentelemetry-go/libraries
|
||||||
|
file:///home/runner/work/opentelemetry-go/opentelemetry-go/manual
|
||||||
|
|
66
vendor/go.opentelemetry.io/otel/CHANGELOG.md
generated
vendored
66
vendor/go.opentelemetry.io/otel/CHANGELOG.md
generated
vendored
|
@ -8,6 +8,65 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.14.0/0.37.0/0.0.4] 2023-02-27
|
||||||
|
|
||||||
|
This release is the last to support [Go 1.18].
|
||||||
|
The next release will require at least [Go 1.19].
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- The `event` type semantic conventions are added to `go.opentelemetry.io/otel/semconv/v1.17.0`. (#3697)
|
||||||
|
- Support [Go 1.20]. (#3693)
|
||||||
|
- The `go.opentelemetry.io/otel/semconv/v1.18.0` package.
|
||||||
|
The package contains semantic conventions from the `v1.18.0` version of the OpenTelemetry specification. (#3719)
|
||||||
|
- The following `const` renames from `go.opentelemetry.io/otel/semconv/v1.17.0` are included:
|
||||||
|
- `OtelScopeNameKey` -> `OTelScopeNameKey`
|
||||||
|
- `OtelScopeVersionKey` -> `OTelScopeVersionKey`
|
||||||
|
- `OtelLibraryNameKey` -> `OTelLibraryNameKey`
|
||||||
|
- `OtelLibraryVersionKey` -> `OTelLibraryVersionKey`
|
||||||
|
- `OtelStatusCodeKey` -> `OTelStatusCodeKey`
|
||||||
|
- `OtelStatusDescriptionKey` -> `OTelStatusDescriptionKey`
|
||||||
|
- `OtelStatusCodeOk` -> `OTelStatusCodeOk`
|
||||||
|
- `OtelStatusCodeError` -> `OTelStatusCodeError`
|
||||||
|
- The following `func` renames from `go.opentelemetry.io/otel/semconv/v1.17.0` are included:
|
||||||
|
- `OtelScopeName` -> `OTelScopeName`
|
||||||
|
- `OtelScopeVersion` -> `OTelScopeVersion`
|
||||||
|
- `OtelLibraryName` -> `OTelLibraryName`
|
||||||
|
- `OtelLibraryVersion` -> `OTelLibraryVersion`
|
||||||
|
- `OtelStatusDescription` -> `OTelStatusDescription`
|
||||||
|
- A `IsSampled` method is added to the `SpanContext` implementation in `go.opentelemetry.io/otel/bridge/opentracing` to expose the span sampled state.
|
||||||
|
See the [README](./bridge/opentracing/README.md) for more information. (#3570)
|
||||||
|
- The `WithInstrumentationAttributes` option to `go.opentelemetry.io/otel/metric`. (#3738)
|
||||||
|
- The `WithInstrumentationAttributes` option to `go.opentelemetry.io/otel/trace`. (#3739)
|
||||||
|
- The following environment variables are supported by the periodic `Reader` in `go.opentelemetry.io/otel/sdk/metric`. (#3763)
|
||||||
|
- `OTEL_METRIC_EXPORT_INTERVAL` sets the time between collections and exports.
|
||||||
|
- `OTEL_METRIC_EXPORT_TIMEOUT` sets the timeout an export is attempted.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Fall-back to `TextMapCarrier` when it's not `HttpHeader`s in `go.opentelemetry.io/otel/bridge/opentracing`. (#3679)
|
||||||
|
- The `Collect` method of the `"go.opentelemetry.io/otel/sdk/metric".Reader` interface is updated to accept the `metricdata.ResourceMetrics` value the collection will be made into.
|
||||||
|
This change is made to enable memory reuse by SDK users. (#3732)
|
||||||
|
- The `WithUnit` option in `go.opentelemetry.io/otel/sdk/metric/instrument` is updated to accept a `string` for the unit value. (#3776)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Ensure `go.opentelemetry.io/otel` does not use generics. (#3723, #3725)
|
||||||
|
- Multi-reader `MeterProvider`s now export metrics for all readers, instead of just the first reader. (#3720, #3724)
|
||||||
|
- Remove use of deprecated `"math/rand".Seed` in `go.opentelemetry.io/otel/example/prometheus`. (#3733)
|
||||||
|
- Do not silently drop unknown schema data with `Parse` in `go.opentelemetry.io/otel/schema/v1.1`. (#3743)
|
||||||
|
- Data race issue in OTLP exporter retry mechanism. (#3755, #3756)
|
||||||
|
- Wrapping empty errors when exporting in `go.opentelemetry.io/otel/sdk/metric`. (#3698, #3772)
|
||||||
|
- Incorrect "all" and "resource" definition for schema files in `go.opentelemetry.io/otel/schema/v1.1`. (#3777)
|
||||||
|
|
||||||
|
### Deprecated
|
||||||
|
|
||||||
|
- The `go.opentelemetry.io/otel/metric/unit` package is deprecated.
|
||||||
|
Use the equivalent unit string instead. (#3776)
|
||||||
|
- Use `"1"` instead of `unit.Dimensionless`
|
||||||
|
- Use `"By"` instead of `unit.Bytes`
|
||||||
|
- Use `"ms"` instead of `unit.Milliseconds`
|
||||||
|
|
||||||
## [1.13.0/0.36.0] 2023-02-07
|
## [1.13.0/0.36.0] 2023-02-07
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -2243,7 +2302,8 @@ It contains api and sdk for trace and meter.
|
||||||
- CircleCI build CI manifest files.
|
- CircleCI build CI manifest files.
|
||||||
- CODEOWNERS file to track owners of this project.
|
- CODEOWNERS file to track owners of this project.
|
||||||
|
|
||||||
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.13.0...HEAD
|
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.14.0...HEAD
|
||||||
|
[1.14.0/0.37.0/0.0.4]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.14.0
|
||||||
[1.13.0/0.36.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.13.0
|
[1.13.0/0.36.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.13.0
|
||||||
[1.12.0/0.35.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.12.0
|
[1.12.0/0.35.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.12.0
|
||||||
[1.11.2/0.34.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.11.2
|
[1.11.2/0.34.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.11.2
|
||||||
|
@ -2303,3 +2363,7 @@ It contains api and sdk for trace and meter.
|
||||||
[0.1.2]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.1.2
|
[0.1.2]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.1.2
|
||||||
[0.1.1]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.1.1
|
[0.1.1]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.1.1
|
||||||
[0.1.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.1.0
|
[0.1.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.1.0
|
||||||
|
|
||||||
|
[Go 1.20]: https://go.dev/doc/go1.20
|
||||||
|
[Go 1.19]: https://go.dev/doc/go1.19
|
||||||
|
[Go 1.18]: https://go.dev/doc/go1.18
|
||||||
|
|
2
vendor/go.opentelemetry.io/otel/CONTRIBUTING.md
generated
vendored
2
vendor/go.opentelemetry.io/otel/CONTRIBUTING.md
generated
vendored
|
@ -508,7 +508,7 @@ Approvers:
|
||||||
- [David Ashpole](https://github.com/dashpole), Google
|
- [David Ashpole](https://github.com/dashpole), Google
|
||||||
- [Robert Pająk](https://github.com/pellared), Splunk
|
- [Robert Pająk](https://github.com/pellared), Splunk
|
||||||
- [Chester Cheung](https://github.com/hanyuancheung), Tencent
|
- [Chester Cheung](https://github.com/hanyuancheung), Tencent
|
||||||
- [Damien Mathieu](https://github.com/dmathieu), Auth0/Okta
|
- [Damien Mathieu](https://github.com/dmathieu), Elastic
|
||||||
|
|
||||||
Maintainers:
|
Maintainers:
|
||||||
|
|
||||||
|
|
5
vendor/go.opentelemetry.io/otel/Makefile
generated
vendored
5
vendor/go.opentelemetry.io/otel/Makefile
generated
vendored
|
@ -210,8 +210,9 @@ SEMCONVPKG ?= "semconv/"
|
||||||
semconv-generate: | $(SEMCONVGEN) $(SEMCONVKIT)
|
semconv-generate: | $(SEMCONVGEN) $(SEMCONVKIT)
|
||||||
[ "$(TAG)" ] || ( echo "TAG unset: missing opentelemetry specification tag"; exit 1 )
|
[ "$(TAG)" ] || ( echo "TAG unset: missing opentelemetry specification tag"; exit 1 )
|
||||||
[ "$(OTEL_SPEC_REPO)" ] || ( echo "OTEL_SPEC_REPO unset: missing path to opentelemetry specification repo"; exit 1 )
|
[ "$(OTEL_SPEC_REPO)" ] || ( echo "OTEL_SPEC_REPO unset: missing path to opentelemetry specification repo"; exit 1 )
|
||||||
$(SEMCONVGEN) -i "$(OTEL_SPEC_REPO)/semantic_conventions/." --only=span -p conventionType=trace -p conventionType=trace -f trace.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
|
$(SEMCONVGEN) -i "$(OTEL_SPEC_REPO)/semantic_conventions/." --only=span -p conventionType=trace -f trace.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
|
||||||
$(SEMCONVGEN) -i "$(OTEL_SPEC_REPO)/semantic_conventions/." --only=resource -p conventionType=resource -p conventionType=resource -f resource.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
|
$(SEMCONVGEN) -i "$(OTEL_SPEC_REPO)/semantic_conventions/." --only=event -p conventionType=event -f event.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
|
||||||
|
$(SEMCONVGEN) -i "$(OTEL_SPEC_REPO)/semantic_conventions/." --only=resource -p conventionType=resource -f resource.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
|
||||||
$(SEMCONVKIT) -output "$(SEMCONVPKG)/$(TAG)" -tag "$(TAG)"
|
$(SEMCONVKIT) -output "$(SEMCONVPKG)/$(TAG)" -tag "$(TAG)"
|
||||||
|
|
||||||
.PHONY: prerelease
|
.PHONY: prerelease
|
||||||
|
|
5
vendor/go.opentelemetry.io/otel/README.md
generated
vendored
5
vendor/go.opentelemetry.io/otel/README.md
generated
vendored
|
@ -50,14 +50,19 @@ Currently, this project supports the following environments.
|
||||||
|
|
||||||
| OS | Go Version | Architecture |
|
| OS | Go Version | Architecture |
|
||||||
| ------- | ---------- | ------------ |
|
| ------- | ---------- | ------------ |
|
||||||
|
| Ubuntu | 1.20 | amd64 |
|
||||||
| Ubuntu | 1.19 | amd64 |
|
| Ubuntu | 1.19 | amd64 |
|
||||||
| Ubuntu | 1.18 | amd64 |
|
| Ubuntu | 1.18 | amd64 |
|
||||||
|
| Ubuntu | 1.20 | 386 |
|
||||||
| Ubuntu | 1.19 | 386 |
|
| Ubuntu | 1.19 | 386 |
|
||||||
| Ubuntu | 1.18 | 386 |
|
| Ubuntu | 1.18 | 386 |
|
||||||
|
| MacOS | 1.20 | amd64 |
|
||||||
| MacOS | 1.19 | amd64 |
|
| MacOS | 1.19 | amd64 |
|
||||||
| MacOS | 1.18 | amd64 |
|
| MacOS | 1.18 | amd64 |
|
||||||
|
| Windows | 1.20 | amd64 |
|
||||||
| Windows | 1.19 | amd64 |
|
| Windows | 1.19 | amd64 |
|
||||||
| Windows | 1.18 | amd64 |
|
| Windows | 1.18 | amd64 |
|
||||||
|
| Windows | 1.20 | 386 |
|
||||||
| Windows | 1.19 | 386 |
|
| Windows | 1.19 | 386 |
|
||||||
| Windows | 1.18 | 386 |
|
| Windows | 1.18 | 386 |
|
||||||
|
|
||||||
|
|
16
vendor/go.opentelemetry.io/otel/attribute/value.go
generated
vendored
16
vendor/go.opentelemetry.io/otel/attribute/value.go
generated
vendored
|
@ -68,7 +68,7 @@ func BoolValue(v bool) Value {
|
||||||
|
|
||||||
// BoolSliceValue creates a BOOLSLICE Value.
|
// BoolSliceValue creates a BOOLSLICE Value.
|
||||||
func BoolSliceValue(v []bool) Value {
|
func BoolSliceValue(v []bool) Value {
|
||||||
return Value{vtype: BOOLSLICE, slice: attribute.SliceValue(v)}
|
return Value{vtype: BOOLSLICE, slice: attribute.BoolSliceValue(v)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// IntValue creates an INT64 Value.
|
// IntValue creates an INT64 Value.
|
||||||
|
@ -99,7 +99,7 @@ func Int64Value(v int64) Value {
|
||||||
|
|
||||||
// Int64SliceValue creates an INT64SLICE Value.
|
// Int64SliceValue creates an INT64SLICE Value.
|
||||||
func Int64SliceValue(v []int64) Value {
|
func Int64SliceValue(v []int64) Value {
|
||||||
return Value{vtype: INT64SLICE, slice: attribute.SliceValue(v)}
|
return Value{vtype: INT64SLICE, slice: attribute.Int64SliceValue(v)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Float64Value creates a FLOAT64 Value.
|
// Float64Value creates a FLOAT64 Value.
|
||||||
|
@ -112,7 +112,7 @@ func Float64Value(v float64) Value {
|
||||||
|
|
||||||
// Float64SliceValue creates a FLOAT64SLICE Value.
|
// Float64SliceValue creates a FLOAT64SLICE Value.
|
||||||
func Float64SliceValue(v []float64) Value {
|
func Float64SliceValue(v []float64) Value {
|
||||||
return Value{vtype: FLOAT64SLICE, slice: attribute.SliceValue(v)}
|
return Value{vtype: FLOAT64SLICE, slice: attribute.Float64SliceValue(v)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// StringValue creates a STRING Value.
|
// StringValue creates a STRING Value.
|
||||||
|
@ -125,7 +125,7 @@ func StringValue(v string) Value {
|
||||||
|
|
||||||
// StringSliceValue creates a STRINGSLICE Value.
|
// StringSliceValue creates a STRINGSLICE Value.
|
||||||
func StringSliceValue(v []string) Value {
|
func StringSliceValue(v []string) Value {
|
||||||
return Value{vtype: STRINGSLICE, slice: attribute.SliceValue(v)}
|
return Value{vtype: STRINGSLICE, slice: attribute.StringSliceValue(v)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Type returns a type of the Value.
|
// Type returns a type of the Value.
|
||||||
|
@ -149,7 +149,7 @@ func (v Value) AsBoolSlice() []bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v Value) asBoolSlice() []bool {
|
func (v Value) asBoolSlice() []bool {
|
||||||
return attribute.AsSlice[bool](v.slice)
|
return attribute.AsBoolSlice(v.slice)
|
||||||
}
|
}
|
||||||
|
|
||||||
// AsInt64 returns the int64 value. Make sure that the Value's type is
|
// AsInt64 returns the int64 value. Make sure that the Value's type is
|
||||||
|
@ -168,7 +168,7 @@ func (v Value) AsInt64Slice() []int64 {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v Value) asInt64Slice() []int64 {
|
func (v Value) asInt64Slice() []int64 {
|
||||||
return attribute.AsSlice[int64](v.slice)
|
return attribute.AsInt64Slice(v.slice)
|
||||||
}
|
}
|
||||||
|
|
||||||
// AsFloat64 returns the float64 value. Make sure that the Value's
|
// AsFloat64 returns the float64 value. Make sure that the Value's
|
||||||
|
@ -187,7 +187,7 @@ func (v Value) AsFloat64Slice() []float64 {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v Value) asFloat64Slice() []float64 {
|
func (v Value) asFloat64Slice() []float64 {
|
||||||
return attribute.AsSlice[float64](v.slice)
|
return attribute.AsFloat64Slice(v.slice)
|
||||||
}
|
}
|
||||||
|
|
||||||
// AsString returns the string value. Make sure that the Value's type
|
// AsString returns the string value. Make sure that the Value's type
|
||||||
|
@ -206,7 +206,7 @@ func (v Value) AsStringSlice() []string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v Value) asStringSlice() []string {
|
func (v Value) asStringSlice() []string {
|
||||||
return attribute.AsSlice[string](v.slice)
|
return attribute.AsStringSlice(v.slice)
|
||||||
}
|
}
|
||||||
|
|
||||||
type unknownValueType struct{}
|
type unknownValueType struct{}
|
||||||
|
|
82
vendor/go.opentelemetry.io/otel/internal/attribute/attribute.go
generated
vendored
82
vendor/go.opentelemetry.io/otel/internal/attribute/attribute.go
generated
vendored
|
@ -22,24 +22,90 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SliceValue convert a slice into an array with same elements as slice.
|
// BoolSliceValue converts a bool slice into an array with same elements as slice.
|
||||||
func SliceValue[T bool | int64 | float64 | string](v []T) any {
|
func BoolSliceValue(v []bool) interface{} {
|
||||||
var zero T
|
var zero bool
|
||||||
cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero)))
|
cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero)))
|
||||||
copy(cp.Elem().Slice(0, len(v)).Interface().([]T), v)
|
copy(cp.Elem().Slice(0, len(v)).Interface().([]bool), v)
|
||||||
return cp.Elem().Interface()
|
return cp.Elem().Interface()
|
||||||
}
|
}
|
||||||
|
|
||||||
// AsSlice convert an array into a slice into with same elements as array.
|
// Int64SliceValue converts an int64 slice into an array with same elements as slice.
|
||||||
func AsSlice[T bool | int64 | float64 | string](v any) []T {
|
func Int64SliceValue(v []int64) interface{} {
|
||||||
|
var zero int64
|
||||||
|
cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero)))
|
||||||
|
copy(cp.Elem().Slice(0, len(v)).Interface().([]int64), v)
|
||||||
|
return cp.Elem().Interface()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Float64SliceValue converts a float64 slice into an array with same elements as slice.
|
||||||
|
func Float64SliceValue(v []float64) interface{} {
|
||||||
|
var zero float64
|
||||||
|
cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero)))
|
||||||
|
copy(cp.Elem().Slice(0, len(v)).Interface().([]float64), v)
|
||||||
|
return cp.Elem().Interface()
|
||||||
|
}
|
||||||
|
|
||||||
|
// StringSliceValue converts a string slice into an array with same elements as slice.
|
||||||
|
func StringSliceValue(v []string) interface{} {
|
||||||
|
var zero string
|
||||||
|
cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero)))
|
||||||
|
copy(cp.Elem().Slice(0, len(v)).Interface().([]string), v)
|
||||||
|
return cp.Elem().Interface()
|
||||||
|
}
|
||||||
|
|
||||||
|
// AsBoolSlice converts a bool array into a slice into with same elements as array.
|
||||||
|
func AsBoolSlice(v interface{}) []bool {
|
||||||
rv := reflect.ValueOf(v)
|
rv := reflect.ValueOf(v)
|
||||||
if rv.Type().Kind() != reflect.Array {
|
if rv.Type().Kind() != reflect.Array {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
var zero T
|
var zero bool
|
||||||
correctLen := rv.Len()
|
correctLen := rv.Len()
|
||||||
correctType := reflect.ArrayOf(correctLen, reflect.TypeOf(zero))
|
correctType := reflect.ArrayOf(correctLen, reflect.TypeOf(zero))
|
||||||
cpy := reflect.New(correctType)
|
cpy := reflect.New(correctType)
|
||||||
_ = reflect.Copy(cpy.Elem(), rv)
|
_ = reflect.Copy(cpy.Elem(), rv)
|
||||||
return cpy.Elem().Slice(0, correctLen).Interface().([]T)
|
return cpy.Elem().Slice(0, correctLen).Interface().([]bool)
|
||||||
|
}
|
||||||
|
|
||||||
|
// AsInt64Slice converts an int64 array into a slice into with same elements as array.
|
||||||
|
func AsInt64Slice(v interface{}) []int64 {
|
||||||
|
rv := reflect.ValueOf(v)
|
||||||
|
if rv.Type().Kind() != reflect.Array {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
var zero int64
|
||||||
|
correctLen := rv.Len()
|
||||||
|
correctType := reflect.ArrayOf(correctLen, reflect.TypeOf(zero))
|
||||||
|
cpy := reflect.New(correctType)
|
||||||
|
_ = reflect.Copy(cpy.Elem(), rv)
|
||||||
|
return cpy.Elem().Slice(0, correctLen).Interface().([]int64)
|
||||||
|
}
|
||||||
|
|
||||||
|
// AsFloat64Slice converts a float64 array into a slice into with same elements as array.
|
||||||
|
func AsFloat64Slice(v interface{}) []float64 {
|
||||||
|
rv := reflect.ValueOf(v)
|
||||||
|
if rv.Type().Kind() != reflect.Array {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
var zero float64
|
||||||
|
correctLen := rv.Len()
|
||||||
|
correctType := reflect.ArrayOf(correctLen, reflect.TypeOf(zero))
|
||||||
|
cpy := reflect.New(correctType)
|
||||||
|
_ = reflect.Copy(cpy.Elem(), rv)
|
||||||
|
return cpy.Elem().Slice(0, correctLen).Interface().([]float64)
|
||||||
|
}
|
||||||
|
|
||||||
|
// AsStringSlice converts a string array into a slice into with same elements as array.
|
||||||
|
func AsStringSlice(v interface{}) []string {
|
||||||
|
rv := reflect.ValueOf(v)
|
||||||
|
if rv.Type().Kind() != reflect.Array {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
var zero string
|
||||||
|
correctLen := rv.Len()
|
||||||
|
correctType := reflect.ArrayOf(correctLen, reflect.TypeOf(zero))
|
||||||
|
cpy := reflect.New(correctType)
|
||||||
|
_ = reflect.Copy(cpy.Elem(), rv)
|
||||||
|
return cpy.Elem().Slice(0, correctLen).Interface().([]string)
|
||||||
}
|
}
|
||||||
|
|
25
vendor/go.opentelemetry.io/otel/metric/config.go
generated
vendored
25
vendor/go.opentelemetry.io/otel/metric/config.go
generated
vendored
|
@ -14,17 +14,30 @@
|
||||||
|
|
||||||
package metric // import "go.opentelemetry.io/otel/metric"
|
package metric // import "go.opentelemetry.io/otel/metric"
|
||||||
|
|
||||||
|
import "go.opentelemetry.io/otel/attribute"
|
||||||
|
|
||||||
// MeterConfig contains options for Meters.
|
// MeterConfig contains options for Meters.
|
||||||
type MeterConfig struct {
|
type MeterConfig struct {
|
||||||
instrumentationVersion string
|
instrumentationVersion string
|
||||||
schemaURL string
|
schemaURL string
|
||||||
|
attrs attribute.Set
|
||||||
|
|
||||||
|
// Ensure forward compatibility by explicitly making this not comparable.
|
||||||
|
noCmp [0]func() //nolint: unused // This is indeed used.
|
||||||
}
|
}
|
||||||
|
|
||||||
// InstrumentationVersion is the version of the library providing instrumentation.
|
// InstrumentationVersion returns the version of the library providing
|
||||||
|
// instrumentation.
|
||||||
func (cfg MeterConfig) InstrumentationVersion() string {
|
func (cfg MeterConfig) InstrumentationVersion() string {
|
||||||
return cfg.instrumentationVersion
|
return cfg.instrumentationVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// InstrumentationAttributes returns the attributes associated with the library
|
||||||
|
// providing instrumentation.
|
||||||
|
func (cfg MeterConfig) InstrumentationAttributes() attribute.Set {
|
||||||
|
return cfg.attrs
|
||||||
|
}
|
||||||
|
|
||||||
// SchemaURL is the schema_url of the library providing instrumentation.
|
// SchemaURL is the schema_url of the library providing instrumentation.
|
||||||
func (cfg MeterConfig) SchemaURL() string {
|
func (cfg MeterConfig) SchemaURL() string {
|
||||||
return cfg.schemaURL
|
return cfg.schemaURL
|
||||||
|
@ -60,6 +73,16 @@ func WithInstrumentationVersion(version string) MeterOption {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithInstrumentationAttributes sets the instrumentation attributes.
|
||||||
|
//
|
||||||
|
// The passed attributes will be de-duplicated.
|
||||||
|
func WithInstrumentationAttributes(attr ...attribute.KeyValue) MeterOption {
|
||||||
|
return meterOptionFunc(func(config MeterConfig) MeterConfig {
|
||||||
|
config.attrs = attribute.NewSet(attr...)
|
||||||
|
return config
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// WithSchemaURL sets the schema URL.
|
// WithSchemaURL sets the schema URL.
|
||||||
func WithSchemaURL(schemaURL string) MeterOption {
|
func WithSchemaURL(schemaURL string) MeterOption {
|
||||||
return meterOptionFunc(func(config MeterConfig) MeterConfig {
|
return meterOptionFunc(func(config MeterConfig) MeterConfig {
|
||||||
|
|
2
vendor/go.opentelemetry.io/otel/metric/global/global.go
generated
vendored
2
vendor/go.opentelemetry.io/otel/metric/global/global.go
generated
vendored
|
@ -30,7 +30,7 @@ func Meter(instrumentationName string, opts ...metric.MeterOption) metric.Meter
|
||||||
return MeterProvider().Meter(instrumentationName, opts...)
|
return MeterProvider().Meter(instrumentationName, opts...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// MeterProvider returns the registered global trace provider.
|
// MeterProvider returns the registered global meter provider.
|
||||||
// If none is registered then a No-op MeterProvider is returned.
|
// If none is registered then a No-op MeterProvider is returned.
|
||||||
func MeterProvider() metric.MeterProvider {
|
func MeterProvider() metric.MeterProvider {
|
||||||
return global.MeterProvider()
|
return global.MeterProvider()
|
||||||
|
|
5
vendor/go.opentelemetry.io/otel/metric/instrument/asyncfloat64.go
generated
vendored
5
vendor/go.opentelemetry.io/otel/metric/instrument/asyncfloat64.go
generated
vendored
|
@ -18,7 +18,6 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.opentelemetry.io/otel/attribute"
|
"go.opentelemetry.io/otel/attribute"
|
||||||
"go.opentelemetry.io/otel/metric/unit"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Float64Observable describes a set of instruments used asynchronously to
|
// Float64Observable describes a set of instruments used asynchronously to
|
||||||
|
@ -82,7 +81,7 @@ type Float64Callback func(context.Context, Float64Observer) error
|
||||||
// observe float64 values.
|
// observe float64 values.
|
||||||
type Float64ObserverConfig struct {
|
type Float64ObserverConfig struct {
|
||||||
description string
|
description string
|
||||||
unit unit.Unit
|
unit string
|
||||||
callbacks []Float64Callback
|
callbacks []Float64Callback
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,7 +101,7 @@ func (c Float64ObserverConfig) Description() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unit returns the Config unit.
|
// Unit returns the Config unit.
|
||||||
func (c Float64ObserverConfig) Unit() unit.Unit {
|
func (c Float64ObserverConfig) Unit() string {
|
||||||
return c.unit
|
return c.unit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
5
vendor/go.opentelemetry.io/otel/metric/instrument/asyncint64.go
generated
vendored
5
vendor/go.opentelemetry.io/otel/metric/instrument/asyncint64.go
generated
vendored
|
@ -18,7 +18,6 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.opentelemetry.io/otel/attribute"
|
"go.opentelemetry.io/otel/attribute"
|
||||||
"go.opentelemetry.io/otel/metric/unit"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Int64Observable describes a set of instruments used asynchronously to record
|
// Int64Observable describes a set of instruments used asynchronously to record
|
||||||
|
@ -82,7 +81,7 @@ type Int64Callback func(context.Context, Int64Observer) error
|
||||||
// observe int64 values.
|
// observe int64 values.
|
||||||
type Int64ObserverConfig struct {
|
type Int64ObserverConfig struct {
|
||||||
description string
|
description string
|
||||||
unit unit.Unit
|
unit string
|
||||||
callbacks []Int64Callback
|
callbacks []Int64Callback
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,7 +101,7 @@ func (c Int64ObserverConfig) Description() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unit returns the Config unit.
|
// Unit returns the Config unit.
|
||||||
func (c Int64ObserverConfig) Unit() unit.Unit {
|
func (c Int64ObserverConfig) Unit() string {
|
||||||
return c.unit
|
return c.unit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
14
vendor/go.opentelemetry.io/otel/metric/instrument/instrument.go
generated
vendored
14
vendor/go.opentelemetry.io/otel/metric/instrument/instrument.go
generated
vendored
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
package instrument // import "go.opentelemetry.io/otel/metric/instrument"
|
package instrument // import "go.opentelemetry.io/otel/metric/instrument"
|
||||||
|
|
||||||
import "go.opentelemetry.io/otel/metric/unit"
|
|
||||||
|
|
||||||
// Asynchronous instruments are instruments that are updated within a Callback.
|
// Asynchronous instruments are instruments that are updated within a Callback.
|
||||||
// If an instrument is observed outside of it's callback it should be an error.
|
// If an instrument is observed outside of it's callback it should be an error.
|
||||||
//
|
//
|
||||||
|
@ -64,27 +62,27 @@ func (o descOpt) applyInt64Observer(c Int64ObserverConfig) Int64ObserverConfig {
|
||||||
// WithDescription sets the instrument description.
|
// WithDescription sets the instrument description.
|
||||||
func WithDescription(desc string) Option { return descOpt(desc) }
|
func WithDescription(desc string) Option { return descOpt(desc) }
|
||||||
|
|
||||||
type unitOpt unit.Unit
|
type unitOpt string
|
||||||
|
|
||||||
func (o unitOpt) applyFloat64(c Float64Config) Float64Config {
|
func (o unitOpt) applyFloat64(c Float64Config) Float64Config {
|
||||||
c.unit = unit.Unit(o)
|
c.unit = string(o)
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
||||||
func (o unitOpt) applyInt64(c Int64Config) Int64Config {
|
func (o unitOpt) applyInt64(c Int64Config) Int64Config {
|
||||||
c.unit = unit.Unit(o)
|
c.unit = string(o)
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
||||||
func (o unitOpt) applyFloat64Observer(c Float64ObserverConfig) Float64ObserverConfig {
|
func (o unitOpt) applyFloat64Observer(c Float64ObserverConfig) Float64ObserverConfig {
|
||||||
c.unit = unit.Unit(o)
|
c.unit = string(o)
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
||||||
func (o unitOpt) applyInt64Observer(c Int64ObserverConfig) Int64ObserverConfig {
|
func (o unitOpt) applyInt64Observer(c Int64ObserverConfig) Int64ObserverConfig {
|
||||||
c.unit = unit.Unit(o)
|
c.unit = string(o)
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithUnit sets the instrument unit.
|
// WithUnit sets the instrument unit.
|
||||||
func WithUnit(u unit.Unit) Option { return unitOpt(u) }
|
func WithUnit(u string) Option { return unitOpt(u) }
|
||||||
|
|
5
vendor/go.opentelemetry.io/otel/metric/instrument/syncfloat64.go
generated
vendored
5
vendor/go.opentelemetry.io/otel/metric/instrument/syncfloat64.go
generated
vendored
|
@ -18,7 +18,6 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.opentelemetry.io/otel/attribute"
|
"go.opentelemetry.io/otel/attribute"
|
||||||
"go.opentelemetry.io/otel/metric/unit"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Float64Counter is an instrument that records increasing float64 values.
|
// Float64Counter is an instrument that records increasing float64 values.
|
||||||
|
@ -57,7 +56,7 @@ type Float64Histogram interface {
|
||||||
// observe float64 values.
|
// observe float64 values.
|
||||||
type Float64Config struct {
|
type Float64Config struct {
|
||||||
description string
|
description string
|
||||||
unit unit.Unit
|
unit string
|
||||||
}
|
}
|
||||||
|
|
||||||
// Float64Config contains options for Synchronous instruments that record
|
// Float64Config contains options for Synchronous instruments that record
|
||||||
|
@ -76,7 +75,7 @@ func (c Float64Config) Description() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unit returns the Config unit.
|
// Unit returns the Config unit.
|
||||||
func (c Float64Config) Unit() unit.Unit {
|
func (c Float64Config) Unit() string {
|
||||||
return c.unit
|
return c.unit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
5
vendor/go.opentelemetry.io/otel/metric/instrument/syncint64.go
generated
vendored
5
vendor/go.opentelemetry.io/otel/metric/instrument/syncint64.go
generated
vendored
|
@ -18,7 +18,6 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.opentelemetry.io/otel/attribute"
|
"go.opentelemetry.io/otel/attribute"
|
||||||
"go.opentelemetry.io/otel/metric/unit"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Int64Counter is an instrument that records increasing int64 values.
|
// Int64Counter is an instrument that records increasing int64 values.
|
||||||
|
@ -57,7 +56,7 @@ type Int64Histogram interface {
|
||||||
// values.
|
// values.
|
||||||
type Int64Config struct {
|
type Int64Config struct {
|
||||||
description string
|
description string
|
||||||
unit unit.Unit
|
unit string
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewInt64Config returns a new Int64Config with all opts
|
// NewInt64Config returns a new Int64Config with all opts
|
||||||
|
@ -76,7 +75,7 @@ func (c Int64Config) Description() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unit returns the Config unit.
|
// Unit returns the Config unit.
|
||||||
func (c Int64Config) Unit() unit.Unit {
|
func (c Int64Config) Unit() string {
|
||||||
return c.unit
|
return c.unit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
12
vendor/go.opentelemetry.io/otel/metric/meter.go
generated
vendored
12
vendor/go.opentelemetry.io/otel/metric/meter.go
generated
vendored
|
@ -26,12 +26,12 @@ import (
|
||||||
//
|
//
|
||||||
// Warning: methods may be added to this interface in minor releases.
|
// Warning: methods may be added to this interface in minor releases.
|
||||||
type MeterProvider interface {
|
type MeterProvider interface {
|
||||||
// Meter creates an instance of a `Meter` interface. The instrumentationName
|
// Meter creates an instance of a `Meter` interface. The name must be the
|
||||||
// must be the name of the library providing instrumentation. This name may
|
// name of the library providing instrumentation. This name may be the same
|
||||||
// be the same as the instrumented code only if that code provides built-in
|
// as the instrumented code only if that code provides built-in
|
||||||
// instrumentation. If the instrumentationName is empty, then a
|
// instrumentation. If the name is empty, then a implementation defined
|
||||||
// implementation defined default name will be used instead.
|
// default name will be used instead.
|
||||||
Meter(instrumentationName string, opts ...MeterOption) Meter
|
Meter(name string, opts ...MeterOption) Meter
|
||||||
}
|
}
|
||||||
|
|
||||||
// Meter provides access to instrument instances for recording metrics.
|
// Meter provides access to instrument instances for recording metrics.
|
||||||
|
|
63
vendor/go.opentelemetry.io/otel/metric/noop.go
generated
vendored
63
vendor/go.opentelemetry.io/otel/metric/noop.go
generated
vendored
|
@ -106,18 +106,6 @@ var (
|
||||||
_ instrument.Float64ObservableGauge = nonrecordingAsyncFloat64Instrument{}
|
_ instrument.Float64ObservableGauge = nonrecordingAsyncFloat64Instrument{}
|
||||||
)
|
)
|
||||||
|
|
||||||
func (n nonrecordingAsyncFloat64Instrument) Counter(string, ...instrument.Float64ObserverOption) (instrument.Float64ObservableCounter, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n nonrecordingAsyncFloat64Instrument) UpDownCounter(string, ...instrument.Float64ObserverOption) (instrument.Float64ObservableUpDownCounter, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n nonrecordingAsyncFloat64Instrument) Gauge(string, ...instrument.Float64ObserverOption) (instrument.Float64ObservableGauge, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type nonrecordingAsyncInt64Instrument struct {
|
type nonrecordingAsyncInt64Instrument struct {
|
||||||
instrument.Int64Observable
|
instrument.Int64Observable
|
||||||
}
|
}
|
||||||
|
@ -128,18 +116,6 @@ var (
|
||||||
_ instrument.Int64ObservableGauge = nonrecordingAsyncInt64Instrument{}
|
_ instrument.Int64ObservableGauge = nonrecordingAsyncInt64Instrument{}
|
||||||
)
|
)
|
||||||
|
|
||||||
func (n nonrecordingAsyncInt64Instrument) Counter(string, ...instrument.Int64ObserverOption) (instrument.Int64ObservableCounter, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n nonrecordingAsyncInt64Instrument) UpDownCounter(string, ...instrument.Int64ObserverOption) (instrument.Int64ObservableUpDownCounter, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n nonrecordingAsyncInt64Instrument) Gauge(string, ...instrument.Int64ObserverOption) (instrument.Int64ObservableGauge, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type nonrecordingSyncFloat64Instrument struct {
|
type nonrecordingSyncFloat64Instrument struct {
|
||||||
instrument.Synchronous
|
instrument.Synchronous
|
||||||
}
|
}
|
||||||
|
@ -150,25 +126,8 @@ var (
|
||||||
_ instrument.Float64Histogram = nonrecordingSyncFloat64Instrument{}
|
_ instrument.Float64Histogram = nonrecordingSyncFloat64Instrument{}
|
||||||
)
|
)
|
||||||
|
|
||||||
func (n nonrecordingSyncFloat64Instrument) Counter(string, ...instrument.Float64Option) (instrument.Float64Counter, error) {
|
func (nonrecordingSyncFloat64Instrument) Add(context.Context, float64, ...attribute.KeyValue) {}
|
||||||
return n, nil
|
func (nonrecordingSyncFloat64Instrument) Record(context.Context, float64, ...attribute.KeyValue) {}
|
||||||
}
|
|
||||||
|
|
||||||
func (n nonrecordingSyncFloat64Instrument) UpDownCounter(string, ...instrument.Float64Option) (instrument.Float64UpDownCounter, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n nonrecordingSyncFloat64Instrument) Histogram(string, ...instrument.Float64Option) (instrument.Float64Histogram, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (nonrecordingSyncFloat64Instrument) Add(context.Context, float64, ...attribute.KeyValue) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
func (nonrecordingSyncFloat64Instrument) Record(context.Context, float64, ...attribute.KeyValue) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
type nonrecordingSyncInt64Instrument struct {
|
type nonrecordingSyncInt64Instrument struct {
|
||||||
instrument.Synchronous
|
instrument.Synchronous
|
||||||
|
@ -180,19 +139,5 @@ var (
|
||||||
_ instrument.Int64Histogram = nonrecordingSyncInt64Instrument{}
|
_ instrument.Int64Histogram = nonrecordingSyncInt64Instrument{}
|
||||||
)
|
)
|
||||||
|
|
||||||
func (n nonrecordingSyncInt64Instrument) Counter(string, ...instrument.Int64Option) (instrument.Int64Counter, error) {
|
func (nonrecordingSyncInt64Instrument) Add(context.Context, int64, ...attribute.KeyValue) {}
|
||||||
return n, nil
|
func (nonrecordingSyncInt64Instrument) Record(context.Context, int64, ...attribute.KeyValue) {}
|
||||||
}
|
|
||||||
|
|
||||||
func (n nonrecordingSyncInt64Instrument) UpDownCounter(string, ...instrument.Int64Option) (instrument.Int64UpDownCounter, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n nonrecordingSyncInt64Instrument) Histogram(string, ...instrument.Int64Option) (instrument.Int64Histogram, error) {
|
|
||||||
return n, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (nonrecordingSyncInt64Instrument) Add(context.Context, int64, ...attribute.KeyValue) {
|
|
||||||
}
|
|
||||||
func (nonrecordingSyncInt64Instrument) Record(context.Context, int64, ...attribute.KeyValue) {
|
|
||||||
}
|
|
||||||
|
|
20
vendor/go.opentelemetry.io/otel/metric/unit/doc.go
generated
vendored
20
vendor/go.opentelemetry.io/otel/metric/unit/doc.go
generated
vendored
|
@ -1,20 +0,0 @@
|
||||||
// Copyright The OpenTelemetry Authors
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
// you may not use this file except in compliance with the License.
|
|
||||||
// You may obtain a copy of the License at
|
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
// Package unit provides units.
|
|
||||||
//
|
|
||||||
// This package is currently in a pre-GA phase. Backwards incompatible changes
|
|
||||||
// may be introduced in subsequent minor version releases as we work to track
|
|
||||||
// the evolving OpenTelemetry specification and user feedback.
|
|
||||||
package unit // import "go.opentelemetry.io/otel/metric/unit"
|
|
25
vendor/go.opentelemetry.io/otel/metric/unit/unit.go
generated
vendored
25
vendor/go.opentelemetry.io/otel/metric/unit/unit.go
generated
vendored
|
@ -1,25 +0,0 @@
|
||||||
// Copyright The OpenTelemetry Authors
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
// you may not use this file except in compliance with the License.
|
|
||||||
// You may obtain a copy of the License at
|
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
package unit // import "go.opentelemetry.io/otel/metric/unit"
|
|
||||||
|
|
||||||
// Unit is a determinate standard quantity of measurement.
|
|
||||||
type Unit string
|
|
||||||
|
|
||||||
// Units defined by OpenTelemetry.
|
|
||||||
const (
|
|
||||||
Dimensionless Unit = "1"
|
|
||||||
Bytes Unit = "By"
|
|
||||||
Milliseconds Unit = "ms"
|
|
||||||
)
|
|
199
vendor/go.opentelemetry.io/otel/semconv/v1.17.0/event.go
generated
vendored
Normal file
199
vendor/go.opentelemetry.io/otel/semconv/v1.17.0/event.go
generated
vendored
Normal file
|
@ -0,0 +1,199 @@
|
||||||
|
// Copyright The OpenTelemetry Authors
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
// Code generated from semantic convention specification. DO NOT EDIT.
|
||||||
|
|
||||||
|
package semconv // import "go.opentelemetry.io/otel/semconv/v1.17.0"
|
||||||
|
|
||||||
|
import "go.opentelemetry.io/otel/attribute"
|
||||||
|
|
||||||
|
// This semantic convention defines the attributes used to represent a feature
|
||||||
|
// flag evaluation as an event.
|
||||||
|
const (
|
||||||
|
// FeatureFlagKeyKey is the attribute Key conforming to the
|
||||||
|
// "feature_flag.key" semantic conventions. It represents the unique
|
||||||
|
// identifier of the feature flag.
|
||||||
|
//
|
||||||
|
// Type: string
|
||||||
|
// RequirementLevel: Required
|
||||||
|
// Stability: stable
|
||||||
|
// Examples: 'logo-color'
|
||||||
|
FeatureFlagKeyKey = attribute.Key("feature_flag.key")
|
||||||
|
|
||||||
|
// FeatureFlagProviderNameKey is the attribute Key conforming to the
|
||||||
|
// "feature_flag.provider_name" semantic conventions. It represents the
|
||||||
|
// name of the service provider that performs the flag evaluation.
|
||||||
|
//
|
||||||
|
// Type: string
|
||||||
|
// RequirementLevel: Recommended
|
||||||
|
// Stability: stable
|
||||||
|
// Examples: 'Flag Manager'
|
||||||
|
FeatureFlagProviderNameKey = attribute.Key("feature_flag.provider_name")
|
||||||
|
|
||||||
|
// FeatureFlagVariantKey is the attribute Key conforming to the
|
||||||
|
// "feature_flag.variant" semantic conventions. It represents the sHOULD be
|
||||||
|
// a semantic identifier for a value. If one is unavailable, a stringified
|
||||||
|
// version of the value can be used.
|
||||||
|
//
|
||||||
|
// Type: string
|
||||||
|
// RequirementLevel: Recommended
|
||||||
|
// Stability: stable
|
||||||
|
// Examples: 'red', 'true', 'on'
|
||||||
|
// Note: A semantic identifier, commonly referred to as a variant, provides
|
||||||
|
// a means
|
||||||
|
// for referring to a value without including the value itself. This can
|
||||||
|
// provide additional context for understanding the meaning behind a value.
|
||||||
|
// For example, the variant `red` maybe be used for the value `#c05543`.
|
||||||
|
//
|
||||||
|
// A stringified version of the value can be used in situations where a
|
||||||
|
// semantic identifier is unavailable. String representation of the value
|
||||||
|
// should be determined by the implementer.
|
||||||
|
FeatureFlagVariantKey = attribute.Key("feature_flag.variant")
|
||||||
|
)
|
||||||
|
|
||||||
|
// FeatureFlagKey returns an attribute KeyValue conforming to the
|
||||||
|
// "feature_flag.key" semantic conventions. It represents the unique identifier
|
||||||
|
// of the feature flag.
|
||||||
|
func FeatureFlagKey(val string) attribute.KeyValue {
|
||||||
|
return FeatureFlagKeyKey.String(val)
|
||||||
|
}
|
||||||
|
|
||||||
|
// FeatureFlagProviderName returns an attribute KeyValue conforming to the
|
||||||
|
// "feature_flag.provider_name" semantic conventions. It represents the name of
|
||||||
|
// the service provider that performs the flag evaluation.
|
||||||
|
func FeatureFlagProviderName(val string) attribute.KeyValue {
|
||||||
|
return FeatureFlagProviderNameKey.String(val)
|
||||||
|
}
|
||||||
|
|
||||||
|
// FeatureFlagVariant returns an attribute KeyValue conforming to the
|
||||||
|
// "feature_flag.variant" semantic conventions. It represents the sHOULD be a
|
||||||
|
// semantic identifier for a value. If one is unavailable, a stringified
|
||||||
|
// version of the value can be used.
|
||||||
|
func FeatureFlagVariant(val string) attribute.KeyValue {
|
||||||
|
return FeatureFlagVariantKey.String(val)
|
||||||
|
}
|
||||||
|
|
||||||
|
// RPC received/sent message.
|
||||||
|
const (
|
||||||
|
// MessageTypeKey is the attribute Key conforming to the "message.type"
|
||||||
|
// semantic conventions. It represents the whether this is a received or
|
||||||
|
// sent message.
|
||||||
|
//
|
||||||
|
// Type: Enum
|
||||||
|
// RequirementLevel: Optional
|
||||||
|
// Stability: stable
|
||||||
|
MessageTypeKey = attribute.Key("message.type")
|
||||||
|
|
||||||
|
// MessageIDKey is the attribute Key conforming to the "message.id"
|
||||||
|
// semantic conventions. It represents the mUST be calculated as two
|
||||||
|
// different counters starting from `1` one for sent messages and one for
|
||||||
|
// received message.
|
||||||
|
//
|
||||||
|
// Type: int
|
||||||
|
// RequirementLevel: Optional
|
||||||
|
// Stability: stable
|
||||||
|
// Note: This way we guarantee that the values will be consistent between
|
||||||
|
// different implementations.
|
||||||
|
MessageIDKey = attribute.Key("message.id")
|
||||||
|
|
||||||
|
// MessageCompressedSizeKey is the attribute Key conforming to the
|
||||||
|
// "message.compressed_size" semantic conventions. It represents the
|
||||||
|
// compressed size of the message in bytes.
|
||||||
|
//
|
||||||
|
// Type: int
|
||||||
|
// RequirementLevel: Optional
|
||||||
|
// Stability: stable
|
||||||
|
MessageCompressedSizeKey = attribute.Key("message.compressed_size")
|
||||||
|
|
||||||
|
// MessageUncompressedSizeKey is the attribute Key conforming to the
|
||||||
|
// "message.uncompressed_size" semantic conventions. It represents the
|
||||||
|
// uncompressed size of the message in bytes.
|
||||||
|
//
|
||||||
|
// Type: int
|
||||||
|
// RequirementLevel: Optional
|
||||||
|
// Stability: stable
|
||||||
|
MessageUncompressedSizeKey = attribute.Key("message.uncompressed_size")
|
||||||
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
// sent
|
||||||
|
MessageTypeSent = MessageTypeKey.String("SENT")
|
||||||
|
// received
|
||||||
|
MessageTypeReceived = MessageTypeKey.String("RECEIVED")
|
||||||
|
)
|
||||||
|
|
||||||
|
// MessageID returns an attribute KeyValue conforming to the "message.id"
|
||||||
|
// semantic conventions. It represents the mUST be calculated as two different
|
||||||
|
// counters starting from `1` one for sent messages and one for received
|
||||||
|
// message.
|
||||||
|
func MessageID(val int) attribute.KeyValue {
|
||||||
|
return MessageIDKey.Int(val)
|
||||||
|
}
|
||||||
|
|
||||||
|
// MessageCompressedSize returns an attribute KeyValue conforming to the
|
||||||
|
// "message.compressed_size" semantic conventions. It represents the compressed
|
||||||
|
// size of the message in bytes.
|
||||||
|
func MessageCompressedSize(val int) attribute.KeyValue {
|
||||||
|
return MessageCompressedSizeKey.Int(val)
|
||||||
|
}
|
||||||
|
|
||||||
|
// MessageUncompressedSize returns an attribute KeyValue conforming to the
|
||||||
|
// "message.uncompressed_size" semantic conventions. It represents the
|
||||||
|
// uncompressed size of the message in bytes.
|
||||||
|
func MessageUncompressedSize(val int) attribute.KeyValue {
|
||||||
|
return MessageUncompressedSizeKey.Int(val)
|
||||||
|
}
|
||||||
|
|
||||||
|
// The attributes used to report a single exception associated with a span.
|
||||||
|
const (
|
||||||
|
// ExceptionEscapedKey is the attribute Key conforming to the
|
||||||
|
// "exception.escaped" semantic conventions. It represents the sHOULD be
|
||||||
|
// set to true if the exception event is recorded at a point where it is
|
||||||
|
// known that the exception is escaping the scope of the span.
|
||||||
|
//
|
||||||
|
// Type: boolean
|
||||||
|
// RequirementLevel: Optional
|
||||||
|
// Stability: stable
|
||||||
|
// Note: An exception is considered to have escaped (or left) the scope of
|
||||||
|
// a span,
|
||||||
|
// if that span is ended while the exception is still logically "in
|
||||||
|
// flight".
|
||||||
|
// This may be actually "in flight" in some languages (e.g. if the
|
||||||
|
// exception
|
||||||
|
// is passed to a Context manager's `__exit__` method in Python) but will
|
||||||
|
// usually be caught at the point of recording the exception in most
|
||||||
|
// languages.
|
||||||
|
//
|
||||||
|
// It is usually not possible to determine at the point where an exception
|
||||||
|
// is thrown
|
||||||
|
// whether it will escape the scope of a span.
|
||||||
|
// However, it is trivial to know that an exception
|
||||||
|
// will escape, if one checks for an active exception just before ending
|
||||||
|
// the span,
|
||||||
|
// as done in the [example above](#recording-an-exception).
|
||||||
|
//
|
||||||
|
// It follows that an exception may still escape the scope of the span
|
||||||
|
// even if the `exception.escaped` attribute was not set or set to false,
|
||||||
|
// since the event might have been recorded at a time where it was not
|
||||||
|
// clear whether the exception will escape.
|
||||||
|
ExceptionEscapedKey = attribute.Key("exception.escaped")
|
||||||
|
)
|
||||||
|
|
||||||
|
// ExceptionEscaped returns an attribute KeyValue conforming to the
|
||||||
|
// "exception.escaped" semantic conventions. It represents the sHOULD be set to
|
||||||
|
// true if the exception event is recorded at a point where it is known that
|
||||||
|
// the exception is escaping the scope of the span.
|
||||||
|
func ExceptionEscaped(val bool) attribute.KeyValue {
|
||||||
|
return ExceptionEscapedKey.Bool(val)
|
||||||
|
}
|
17
vendor/go.opentelemetry.io/otel/trace/config.go
generated
vendored
17
vendor/go.opentelemetry.io/otel/trace/config.go
generated
vendored
|
@ -25,6 +25,7 @@ type TracerConfig struct {
|
||||||
instrumentationVersion string
|
instrumentationVersion string
|
||||||
// Schema URL of the telemetry emitted by the Tracer.
|
// Schema URL of the telemetry emitted by the Tracer.
|
||||||
schemaURL string
|
schemaURL string
|
||||||
|
attrs attribute.Set
|
||||||
}
|
}
|
||||||
|
|
||||||
// InstrumentationVersion returns the version of the library providing instrumentation.
|
// InstrumentationVersion returns the version of the library providing instrumentation.
|
||||||
|
@ -32,6 +33,12 @@ func (t *TracerConfig) InstrumentationVersion() string {
|
||||||
return t.instrumentationVersion
|
return t.instrumentationVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// InstrumentationAttributes returns the attributes associated with the library
|
||||||
|
// providing instrumentation.
|
||||||
|
func (t *TracerConfig) InstrumentationAttributes() attribute.Set {
|
||||||
|
return t.attrs
|
||||||
|
}
|
||||||
|
|
||||||
// SchemaURL returns the Schema URL of the telemetry emitted by the Tracer.
|
// SchemaURL returns the Schema URL of the telemetry emitted by the Tracer.
|
||||||
func (t *TracerConfig) SchemaURL() string {
|
func (t *TracerConfig) SchemaURL() string {
|
||||||
return t.schemaURL
|
return t.schemaURL
|
||||||
|
@ -307,6 +314,16 @@ func WithInstrumentationVersion(version string) TracerOption {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithInstrumentationAttributes sets the instrumentation attributes.
|
||||||
|
//
|
||||||
|
// The passed attributes will be de-duplicated.
|
||||||
|
func WithInstrumentationAttributes(attr ...attribute.KeyValue) TracerOption {
|
||||||
|
return tracerOptionFunc(func(config TracerConfig) TracerConfig {
|
||||||
|
config.attrs = attribute.NewSet(attr...)
|
||||||
|
return config
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// WithSchemaURL sets the schema URL for the Tracer.
|
// WithSchemaURL sets the schema URL for the Tracer.
|
||||||
func WithSchemaURL(schemaURL string) TracerOption {
|
func WithSchemaURL(schemaURL string) TracerOption {
|
||||||
return tracerOptionFunc(func(cfg TracerConfig) TracerConfig {
|
return tracerOptionFunc(func(cfg TracerConfig) TracerConfig {
|
||||||
|
|
2
vendor/go.opentelemetry.io/otel/version.go
generated
vendored
2
vendor/go.opentelemetry.io/otel/version.go
generated
vendored
|
@ -16,5 +16,5 @@ package otel // import "go.opentelemetry.io/otel"
|
||||||
|
|
||||||
// Version is the current release version of OpenTelemetry in use.
|
// Version is the current release version of OpenTelemetry in use.
|
||||||
func Version() string {
|
func Version() string {
|
||||||
return "1.13.0"
|
return "1.14.0"
|
||||||
}
|
}
|
||||||
|
|
7
vendor/go.opentelemetry.io/otel/versions.yaml
generated
vendored
7
vendor/go.opentelemetry.io/otel/versions.yaml
generated
vendored
|
@ -14,10 +14,11 @@
|
||||||
|
|
||||||
module-sets:
|
module-sets:
|
||||||
stable-v1:
|
stable-v1:
|
||||||
version: v1.13.0
|
version: v1.14.0
|
||||||
modules:
|
modules:
|
||||||
- go.opentelemetry.io/otel
|
- go.opentelemetry.io/otel
|
||||||
- go.opentelemetry.io/otel/bridge/opentracing
|
- go.opentelemetry.io/otel/bridge/opentracing
|
||||||
|
- go.opentelemetry.io/otel/bridge/opentracing/test
|
||||||
- go.opentelemetry.io/otel/example/fib
|
- go.opentelemetry.io/otel/example/fib
|
||||||
- go.opentelemetry.io/otel/example/jaeger
|
- go.opentelemetry.io/otel/example/jaeger
|
||||||
- go.opentelemetry.io/otel/example/namedtracer
|
- go.opentelemetry.io/otel/example/namedtracer
|
||||||
|
@ -34,7 +35,7 @@ module-sets:
|
||||||
- go.opentelemetry.io/otel/trace
|
- go.opentelemetry.io/otel/trace
|
||||||
- go.opentelemetry.io/otel/sdk
|
- go.opentelemetry.io/otel/sdk
|
||||||
experimental-metrics:
|
experimental-metrics:
|
||||||
version: v0.36.0
|
version: v0.37.0
|
||||||
modules:
|
modules:
|
||||||
- go.opentelemetry.io/otel/example/opencensus
|
- go.opentelemetry.io/otel/example/opencensus
|
||||||
- go.opentelemetry.io/otel/example/prometheus
|
- go.opentelemetry.io/otel/example/prometheus
|
||||||
|
@ -49,7 +50,7 @@ module-sets:
|
||||||
- go.opentelemetry.io/otel/bridge/opencensus/test
|
- go.opentelemetry.io/otel/bridge/opencensus/test
|
||||||
- go.opentelemetry.io/otel/example/view
|
- go.opentelemetry.io/otel/example/view
|
||||||
experimental-schema:
|
experimental-schema:
|
||||||
version: v0.0.3
|
version: v0.0.4
|
||||||
modules:
|
modules:
|
||||||
- go.opentelemetry.io/otel/schema
|
- go.opentelemetry.io/otel/schema
|
||||||
excluded-modules:
|
excluded-modules:
|
||||||
|
|
17
vendor/modules.txt
vendored
17
vendor/modules.txt
vendored
|
@ -81,7 +81,7 @@ github.com/VividCortex/ewma
|
||||||
# github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137
|
# github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137
|
||||||
## explicit; go 1.15
|
## explicit; go 1.15
|
||||||
github.com/alecthomas/units
|
github.com/alecthomas/units
|
||||||
# github.com/aws/aws-sdk-go v1.44.209
|
# github.com/aws/aws-sdk-go v1.44.210
|
||||||
## explicit; go 1.11
|
## explicit; go 1.11
|
||||||
github.com/aws/aws-sdk-go/aws
|
github.com/aws/aws-sdk-go/aws
|
||||||
github.com/aws/aws-sdk-go/aws/awserr
|
github.com/aws/aws-sdk-go/aws/awserr
|
||||||
|
@ -246,8 +246,8 @@ github.com/beorn7/perks/quantile
|
||||||
# github.com/cespare/xxhash/v2 v2.2.0
|
# github.com/cespare/xxhash/v2 v2.2.0
|
||||||
## explicit; go 1.11
|
## explicit; go 1.11
|
||||||
github.com/cespare/xxhash/v2
|
github.com/cespare/xxhash/v2
|
||||||
# github.com/cheggaaa/pb/v3 v3.1.0
|
# github.com/cheggaaa/pb/v3 v3.1.2
|
||||||
## explicit; go 1.12
|
## explicit; go 1.17
|
||||||
github.com/cheggaaa/pb/v3
|
github.com/cheggaaa/pb/v3
|
||||||
github.com/cheggaaa/pb/v3/termutil
|
github.com/cheggaaa/pb/v3/termutil
|
||||||
# github.com/cpuguy83/go-md2man/v2 v2.0.2
|
# github.com/cpuguy83/go-md2man/v2 v2.0.2
|
||||||
|
@ -450,7 +450,7 @@ github.com/rivo/uniseg
|
||||||
# github.com/russross/blackfriday/v2 v2.1.0
|
# github.com/russross/blackfriday/v2 v2.1.0
|
||||||
## explicit
|
## explicit
|
||||||
github.com/russross/blackfriday/v2
|
github.com/russross/blackfriday/v2
|
||||||
# github.com/stretchr/testify v1.8.1
|
# github.com/stretchr/testify v1.8.2
|
||||||
## explicit; go 1.13
|
## explicit; go 1.13
|
||||||
github.com/stretchr/testify/assert
|
github.com/stretchr/testify/assert
|
||||||
github.com/stretchr/testify/require
|
github.com/stretchr/testify/require
|
||||||
|
@ -504,7 +504,7 @@ go.opencensus.io/trace/tracestate
|
||||||
# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.39.0
|
# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.39.0
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
|
||||||
# go.opentelemetry.io/otel v1.13.0
|
# go.opentelemetry.io/otel v1.14.0
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
go.opentelemetry.io/otel
|
go.opentelemetry.io/otel
|
||||||
go.opentelemetry.io/otel/attribute
|
go.opentelemetry.io/otel/attribute
|
||||||
|
@ -518,14 +518,13 @@ go.opentelemetry.io/otel/propagation
|
||||||
go.opentelemetry.io/otel/semconv/internal/v2
|
go.opentelemetry.io/otel/semconv/internal/v2
|
||||||
go.opentelemetry.io/otel/semconv/v1.17.0
|
go.opentelemetry.io/otel/semconv/v1.17.0
|
||||||
go.opentelemetry.io/otel/semconv/v1.17.0/httpconv
|
go.opentelemetry.io/otel/semconv/v1.17.0/httpconv
|
||||||
# go.opentelemetry.io/otel/metric v0.36.0
|
# go.opentelemetry.io/otel/metric v0.37.0
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
go.opentelemetry.io/otel/metric
|
go.opentelemetry.io/otel/metric
|
||||||
go.opentelemetry.io/otel/metric/global
|
go.opentelemetry.io/otel/metric/global
|
||||||
go.opentelemetry.io/otel/metric/instrument
|
go.opentelemetry.io/otel/metric/instrument
|
||||||
go.opentelemetry.io/otel/metric/internal/global
|
go.opentelemetry.io/otel/metric/internal/global
|
||||||
go.opentelemetry.io/otel/metric/unit
|
# go.opentelemetry.io/otel/trace v1.14.0
|
||||||
# go.opentelemetry.io/otel/trace v1.13.0
|
|
||||||
## explicit; go 1.18
|
## explicit; go 1.18
|
||||||
go.opentelemetry.io/otel/trace
|
go.opentelemetry.io/otel/trace
|
||||||
# go.uber.org/atomic v1.10.0
|
# go.uber.org/atomic v1.10.0
|
||||||
|
@ -614,7 +613,7 @@ google.golang.org/appengine/internal/socket
|
||||||
google.golang.org/appengine/internal/urlfetch
|
google.golang.org/appengine/internal/urlfetch
|
||||||
google.golang.org/appengine/socket
|
google.golang.org/appengine/socket
|
||||||
google.golang.org/appengine/urlfetch
|
google.golang.org/appengine/urlfetch
|
||||||
# google.golang.org/genproto v0.0.0-20230223222841-637eb2293923
|
# google.golang.org/genproto v0.0.0-20230227214838-9b19f0bdc514
|
||||||
## explicit; go 1.19
|
## explicit; go 1.19
|
||||||
google.golang.org/genproto/googleapis/api
|
google.golang.org/genproto/googleapis/api
|
||||||
google.golang.org/genproto/googleapis/api/annotations
|
google.golang.org/genproto/googleapis/api/annotations
|
||||||
|
|
Loading…
Reference in a new issue