Commit 452ca91
committed
feat(exporters): replace opencensus with opentelemetry
* feat(exporters): replace opencensus with opentelemetry
* fix(stackdriver_exporter): use metrics util constants
* chore: use global meter and init
* feat(exporters): add resource info, use global meter
* chore: update deps
* fix: use a gauge directly, narrow scope info
* cleanup: deps
* fix: try initOnce pattern for global problem metrics
* fix(problemmetrics): init is being called too late
* fix(gauge): remove _ratio suffix
* fix: clean up after rebase
* fix: cleanup after rebase
* fix: cleanup after rebase
* fix: cleanup after rebase
* fix: remove nodename
* fix(test): remove instance id check
* fix(test): add attr values
* fix(test): unexported resources
* fix(test): initialize global problem metrics manager
* fix(lint): make the linter happy1 parent 49ee7e7 commit 452ca91
5,235 files changed
Lines changed: 921 additions & 1630303 deletions
File tree
- cmd/nodeproblemdetector
- pkg
- exporters
- prometheusexporter
- stackdriver
- problemmetrics
- systemlogmonitor
- util
- metrics
- otel
- test
- vendor
- cloud.google.com/go
- auth
- credentials
- internal
- externalaccountuser
- externalaccount
- gdch
- impersonate
- stsexchange
- grpctransport
- httptransport
- internal
- compute
- credsfile
- jwt
- retry
- transport
- cert
- headers
- trustboundary
- oauth2adapt
- compute/metadata
- monitoring
- apiv3/v2
- monitoringpb
- internal
- trace
- apiv2
- tracepb
- internal
- contrib.go.opencensus.io/exporter
- prometheus
- stackdriver
- monitoredresource
- aws
- gcp
- github.com
- acobaugh/osrelease
- avast/retry-go/v4
- aws/aws-sdk-go
- aws
- awserr
- awsutil
- client
- metadata
- corehandlers
- credentials
- ec2rolecreds
- endpointcreds
- processcreds
- ssocreds
- stscreds
- csm
- defaults
- ec2metadata
- endpoints
- request
- session
- signer/v4
- internal
- context
- ini
- sdkio
- sdkmath
- sdkrand
- sdkuri
- strings
- sync/singleflight
- private/protocol
- jsonrpc
- json/jsonutil
- query
- queryutil
- restjson
- rest
- xml/xmlutil
- service
- sso
- ssoiface
- sts
- stsiface
- beorn7/perks
- quantile
- census-instrumentation/opencensus-proto
- gen-go
- agent/common/v1
- metrics/v1
- resource/v1
- cespare/xxhash/v2
- coreos/go-systemd/v22
- internal/dlopen
- sdjournal
- davecgh/go-spew
- spew
- ebitengine/purego
- internal
- cgo
- fakecgo
- strings
- emicklei/go-restful/v3
- log
- euank/go-kmsg-parser
- kmsgparser
- felixge/httpsnoop
- fxamacker/cbor/v2
- go-kit/log
- level
- go-logfmt/logfmt
- go-logr
- logr
- funcr
- stdr
- go-ole/go-ole
- oleutil
- go-openapi
- jsonpointer
- jsonreference
- internal
- swag
- golang
- groupcache
- lru
- protobuf
- ptypes
- any
- timestamp
- wrappers
- googleapis
- enterprise-certificate-proxy
- client
- util
- gax-go/v2
- apierror
- internal/proto
- callctx
- internallog
- grpclog
- internal
- internal
- iterator
- google
- gnostic-models
- compiler
- extensions
- jsonschema
- openapiv2
- openapiv3
- s2a-go
- fallback
- internal
- authinfo
- handshaker
- service
- proto
- common_go_proto
- s2a_context_go_proto
- s2a_go_proto
- v2
- common_go_proto
- s2a_context_go_proto
- s2a_go_proto
- record
- internal
- aeadcrypter
- halfconn
- tokenmanager
- v2
- certverifier
- remotesigner
- tlsconfigstore
- retry
- stream
- uuid
- hpcloud/tail
- ratelimiter
- util
- watch
- winfile
- jmespath/go-jmespath
- josharian/intern
- json-iterator/go
- lufia/plan9stats
- mailru/easyjson
- buffer
- jlexer
- jwriter
- modern-go
- concurrent
- reflect2
- munnerz/goautoneg
- pmezard/go-difflib
- difflib
- power-devops/perfstat
- prometheus
- client_golang
- internal/github.com/golang/gddo
- httputil
- header
- prometheus
- internal
- promhttp
- internal
- client_model
- go
- common
- expfmt
- model
- procfs
- internal
- fs
- util
- prometheus
- model/value
- statsd_exporter
- pkg
- level
- mapper
- fsm
- shirou/gopsutil/v4
- common
- cpu
- disk
- host
- internal/common
- load
- mem
- net
- process
- spf13/pflag
- stretchr/testify
- assert
- yaml
- require
- tklauser
- go-sysconf
- numcpus
- x448/float16
- yusufpapurcu/wmi
- go.opencensus.io
- internal
- tagencoding
- metric
- metricdata
- metricexport
- metricproducer
- plugin/ochttp
- propagation/b3
- resource
- resourcekeys
- stats
- internal
- view
- tag
- trace
- internal
- propagation
- tracestate
- go.opentelemetry.io
- auto/sdk
- internal/telemetry
- contrib/instrumentation
- google.golang.org/grpc/otelgrpc
- internal
- net/http/otelhttp
- internal
- request
- semconvutil
- semconv
- otel
- attribute
- internal
- baggage
- codes
- internal
- baggage
- global
- metric
- embedded
- noop
- propagation
- semconv
- v1.20.0
- v1.26.0
- v1.30.0
- v1.37.0
- trace
- embedded
- internal/telemetry
- noop
- go.yaml.in/yaml
- v2
- v3
- golang.org/x
- crypto
- chacha20poly1305
- chacha20
- cryptobyte
- asn1
- hkdf
- internal
- alias
- poly1305
- net
- http2
- hpack
- http/httpguts
- idna
- internal
- httpcommon
- timeseries
- trace
- oauth2
- authhandler
- google
- externalaccount
- internal
- externalaccountauthorizeduser
- impersonate
- stsexchange
- internal
- jws
- jwt
- sync
- semaphore
- sys
- cpu
- plan9
- unix
- windows
- registry
- svc
- debug
- eventlog
- term
- text
- secure/bidirule
- transform
- unicode
- bidi
- norm
- time
- rate
- google.golang.org
- api
- googleapi
- transport
- internal
- cert
- credentialstype
- impersonate
- third_party/uritemplates
- iterator
- option
- internaloption
- support/bundler
- transport
- grpc
- http
- genproto
- googleapis
- api
- annotations
- distribution
- label
- metric
- monitoredres
- devtools/cloudtrace/v2
- monitoring/v3
- rpc
- code
- errdetails
- status
- type
- calendarperiod
- timeofday
- grpc
- attributes
- backoff
- balancer
- base
- endpointsharding
- grpclb
- grpc_lb_v1
- state
- pickfirst
- internal
- roundrobin
- binarylog/grpc_binarylog_v1
- channelz
- codes
- connectivity
- credentials
- alts
- internal
- authinfo
- conn
- handshaker
- service
- proto/grpc_gcp
- google
- insecure
- oauth
- encoding
- internal
- proto
- experimental/stats
- grpclog
- internal
- internal
- backoff
- balancerload
- balancer/gracefulswitch
- binarylog
- buffer
- channelz
- credentials
- envconfig
- googlecloud
- grpclog
- grpcsync
- grpcutil
- idle
- metadata
- pretty
- proxyattributes
- resolver
- delegatingresolver
- dns
- internal
- passthrough
- unix
- serviceconfig
- stats
- status
- syscall
- transport
- networktype
- xds
- clients
- keepalive
- mem
- metadata
- peer
- resolver
- dns
- manual
- serviceconfig
- stats
- status
- tap
- protobuf
- encoding
- protodelim
- protojson
- prototext
- protowire
- internal
- descfmt
- descopts
- detrand
- editiondefaults
- encoding
- defval
- json
- messageset
- tag
- text
- errors
- filedesc
- filetype
- flags
- genid
- impl
- order
- pragma
- protolazy
- set
- strs
- version
- protoadapt
- proto
- reflect
- protoreflect
- protoregistry
- runtime
- protoiface
- protoimpl
- types
- descriptorpb
- known
- anypb
- durationpb
- emptypb
- fieldmaskpb
- structpb
- timestamppb
- wrapperspb
- gopkg.in
- evanphx/json-patch.v4
- fsnotify.v1
- inf.v0
- tomb.v1
- yaml.v2
- yaml.v3
- k8s.io/api
- admissionregistration
- v1alpha1
- v1beta1
- v1
- apidiscovery
- v2beta1
- v2
- apiserverinternal/v1alpha1
- apps
- v1beta1
- v1beta2
- v1
- authentication
- v1alpha1
- v1beta1
- v1
- authorization
- v1beta1
- v1
- autoscaling
- v1
- v2
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 48 | + | |
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
| |||
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
62 | | - | |
63 | 58 | | |
64 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | | - | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
35 | | - | |
| 37 | + | |
36 | 38 | | |
37 | | - | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
54 | | - | |
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
58 | 54 | | |
59 | 55 | | |
60 | | - | |
61 | 56 | | |
62 | 57 | | |
63 | 58 | | |
| |||
67 | 62 | | |
68 | 63 | | |
69 | 64 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 65 | + | |
73 | 66 | | |
74 | 67 | | |
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 71 | + | |
| 72 | + | |
83 | 73 | | |
84 | 74 | | |
85 | 75 | | |
| |||
89 | 79 | | |
90 | 80 | | |
91 | 81 | | |
92 | | - | |
| 82 | + | |
| 83 | + | |
93 | 84 | | |
94 | 85 | | |
95 | 86 | | |
| |||
98 | 89 | | |
99 | 90 | | |
100 | 91 | | |
101 | | - | |
102 | 92 | | |
103 | 93 | | |
104 | 94 | | |
| |||
0 commit comments