GoogleCloudPlatform / k8s-stackdriver
File Change Frequency

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

Overview
File Change Frequency Overall
  • There are 67 files with 7,598 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 2 files changed 51-100 times (589 lines of code)
    • 10 files changed 21-50 times (2,335 lines of code)
    • 27 files changed 6-20 times (3,065 lines of code)
    • 28 files changed 1-5 times (1,609 lines of code)
0% | 7% | 30% | 40% | 21%
Legend:
101+
51-100
21-50
6-20
1-5

explore: grouped by folders | grouped by update frequency | data
Contributors Count Frequency Overall
  • There are 67 files with 7,598 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 14 files changed by 11-25 contributors (3,101 lines of code)
    • 18 files changed by 6-10 contributors (2,378 lines of code)
    • 22 files changed by 2-5 contributors (1,500 lines of code)
    • 13 files changed by 1 contributor (619 lines of code)
0% | 40% | 31% | 19% | 8%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
go, yaml, txt, md, sh, mod, gitignore, py, json
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
go0% | 9% | 23% | 47% | 19%
yaml0% | 0% | 73% | 7% | 19%
py0% | 0% | 0% | 0% | 100%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
custom-metrics-stackdriver-adapter0% | 9% | 50% | 26% | 12%
prometheus-to-sd0% | 15% | 33% | 42% | 9%
event-exporter0% | 0% | 9% | 44% | 46%
kubelet-to-gcm0% | 0% | 0% | 74% | 25%
hack0% | 0% | 0% | 0% | 100%
fluentd-gcp-scaler0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
main.go
in prometheus-to-sd
262 6 2017-07-11 2025-03-14 58 23 pszczesniak@google.com yinghongfang@google.com
provider.go
in custom-metrics-stackdriver-adapter/pkg/adapter/provider
327 13 2017-07-26 2025-04-15 51 16 kawych@google.com yinghongfang@google.com
translator.go
in prometheus-to-sd/translator
476 26 2017-07-11 2024-07-20 47 15 pszczesniak@google.com yinghongfang@google.com
adapter_new_resource_model.yaml
in custom-metrics-stackdriver-adapter/deploy/staging
194 - 2018-03-13 2025-01-10 41 16 kawych@google.com yinghongfang@google.com
adapter_old_resource_model.yaml
in custom-metrics-stackdriver-adapter/deploy/staging
176 - 2018-03-13 2025-01-10 36 14 kawych@google.com yinghongfang@google.com
adapter.yaml
in custom-metrics-stackdriver-adapter/deploy/production
176 - 2018-03-13 2025-01-10 35 12 kawych@google.com yinghongfang@google.com
adapter_new_resource_model.yaml
in custom-metrics-stackdriver-adapter/deploy/production
194 - 2018-04-04 2025-01-10 35 16 kawych@google.com yinghongfang@google.com
adapter.go
in custom-metrics-stackdriver-adapter
207 6 2017-07-26 2025-04-15 31 11 kawych@google.com yinghongfang@google.com
sink.go
in event-exporter/sinks/stackdriver
108 10 2017-07-11 2025-04-01 27 13 vmik@google.com leonzz@mikreal.com
gce_config.go
in prometheus-to-sd/config
98 1 2018-03-28 2023-11-09 22 11 loburm@google.com darekyung@google.com
query_builder.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
585 50 2020-08-24 2023-11-09 22 8 holubowicz@google.com darekyung@google.com
adapter-beta.yaml
in custom-metrics-stackdriver-adapter
121 - 2017-09-20 2024-05-08 21 11 kawych@google.com yinghongfang@google.com
prometheus.go
in prometheus-to-sd/translator
101 5 2018-03-15 2024-07-22 20 8 deejay1@srem.org yinghongfang@google.com
source_config.go
in prometheus-to-sd/config
150 6 2017-07-12 2023-11-09 20 11 loburm@google.com darekyung@google.com
translate.go
in kubelet-to-gcm/monitor/kubelet
533 18 2017-12-08 2025-04-29 20 11 loburm@google.com leonzz@google.com
dynamic_source.go
in prometheus-to-sd/config
113 6 2018-08-01 2023-11-09 16 9 marek.siarkowicz@protonmail... darekyung@google.com
metric_descriptor_cache.go
in prometheus-to-sd/translator
141 14 2017-07-12 2024-07-20 16 7 loburm@google.com yinghongfang@google.com
response_translator.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
214 11 2020-08-24 2023-11-09 15 9 holubowicz@google.com darekyung@google.com
common_config.go
in prometheus-to-sd/config
75 4 2018-07-26 2023-11-09 14 9 szetty@google.com darekyung@google.com
stackdriver.go
in prometheus-to-sd/translator
111 4 2017-07-11 2024-07-20 14 7 pszczesniak@google.com yinghongfang@google.com
log_entry_factory.go
in event-exporter/sinks/stackdriver
86 6 2018-04-09 2025-04-01 13 9 czawadka@google.com leonzz@mikreal.com
sink_factory.go
in event-exporter/sinks/stackdriver
79 4 2017-08-14 2025-05-01 12 11 vmik@google.com 68074864+zkdlin211@users.no...
sink_config.go
in event-exporter/sinks/stackdriver
40 1 2017-08-14 2025-05-01 11 10 vmik@google.com 68074864+zkdlin211@users.no...
gce_config.go
in custom-metrics-stackdriver-adapter/pkg/config
44 1 2017-07-26 2023-11-09 11 4 kawych@google.com darekyung@google.com
poll.go
in kubelet-to-gcm/monitor
65 2 2018-08-29 2023-11-09 11 5 danielmk@google.com darekyung@google.com
daemon.go
in kubelet-to-gcm/monitor/main
101 2 2018-08-29 2023-11-09 11 5 danielmk@google.com darekyung@google.com
client.go
in custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider
117 10 2020-08-24 2023-11-09 11 8 holubowicz@google.com darekyung@google.com
filter_builder.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator/utils
156 10 2022-10-11 2023-11-09 11 4 hongliangzhu@google.com darekyung@google.com
provider.go
in custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider
179 7 2020-08-12 2024-04-29 10 7 holubowicz@google.com yinghongfang@google.com
translator_test_utils.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
57 6 2020-08-25 2025-04-15 9 7 holubowicz@google.com yinghongfang@google.com
monitored_resource_factory_config.go
in event-exporter/sinks/stackdriver
47 2 2018-04-09 2023-11-09 8 6 czawadka@google.com darekyung@google.com
writer.go
in event-exporter/sinks/stackdriver
50 2 2018-10-18 2023-11-09 8 5 belliott@google.com darekyung@google.com
main.go
in event-exporter
76 3 2018-10-18 2025-04-02 8 9 belliott@google.com leonzz@google.com
monitored_resource_factory.go
in event-exporter/sinks/stackdriver
92 6 2018-04-09 2023-11-09 8 8 czawadka@google.com darekyung@google.com
initialize.go
in kubelet-to-gcm/monitor/config
164 10 2018-03-28 2023-11-09 8 6 loburm@google.com darekyung@google.com
event-exporter.yaml
in event-exporter/example
39 - 2017-07-10 2023-11-09 7 5 vmik@google.com darekyung@google.com
prometheus-to-sd-kube-state-metrics.yaml
in prometheus-to-sd/kubernetes
45 - 2017-08-04 2023-11-09 7 5 loburm@google.com darekyung@google.com
source.go
in kubelet-to-gcm/monitor/kubelet
72 5 2020-01-31 2023-11-09 7 4 jsroka@google.com darekyung@google.com
response_translator_core.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
118 7 2020-09-21 2023-11-09 7 7 holubowicz@google.com darekyung@google.com
errors.go
in custom-metrics-stackdriver-adapter/pkg/adapter/provider
15 1 2019-06-25 2023-11-09 5 5 pkepka@google.com darekyung@google.com
client.go
in kubelet-to-gcm/monitor/kubelet
62 3 2020-06-22 2023-11-09 5 8 kawych@google.com darekyung@google.com
metrics.go
in kubelet-to-gcm/monitor
63 6 2018-12-04 2023-11-09 5 2 loburm@google.com darekyung@google.com
interface.go
in event-exporter/sinks
14 - 2020-06-22 2025-04-01 4 5 kawych@google.com leonzz@mikreal.com
types.go
in custom-metrics-stackdriver-adapter/localvendor/k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
127 - 2020-08-12 2023-11-09 4 4 holubowicz@google.com darekyung@google.com
boilerplate.py
in hack/boilerplate
137 7 2017-07-14 2017-08-28 4 2 kawych@google.com kawych@google.com
errors.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
39 7 2020-08-25 2023-11-09 3 3 holubowicz@google.com darekyung@google.com
metrics.go
in prometheus-to-sd/translator
49 1 2018-03-16 2023-11-09 3 3 deejay1@srem.org darekyung@google.com
flags.go
in prometheus-to-sd/flags
57 5 2017-12-01 2023-11-09 3 3 loburm@google.com darekyung@google.com
metrics.go
in event-exporter/sinks/stackdriver
65 2 2022-03-04 2023-11-09 3 3 sophieliu@google.com darekyung@google.com
event_exporter.go
in event-exporter
29 3 2023-11-09 2025-04-01 2 2 darekyung@google.com leonzz@mikreal.com
Files With Most Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
main.go
in prometheus-to-sd
262 6 2017-07-11 2025-03-14 58 23 pszczesniak@google.com yinghongfang@google.com
provider.go
in custom-metrics-stackdriver-adapter/pkg/adapter/provider
327 13 2017-07-26 2025-04-15 51 16 kawych@google.com yinghongfang@google.com
adapter_new_resource_model.yaml
in custom-metrics-stackdriver-adapter/deploy/staging
194 - 2018-03-13 2025-01-10 41 16 kawych@google.com yinghongfang@google.com
adapter_new_resource_model.yaml
in custom-metrics-stackdriver-adapter/deploy/production
194 - 2018-04-04 2025-01-10 35 16 kawych@google.com yinghongfang@google.com
translator.go
in prometheus-to-sd/translator
476 26 2017-07-11 2024-07-20 47 15 pszczesniak@google.com yinghongfang@google.com
adapter_old_resource_model.yaml
in custom-metrics-stackdriver-adapter/deploy/staging
176 - 2018-03-13 2025-01-10 36 14 kawych@google.com yinghongfang@google.com
sink.go
in event-exporter/sinks/stackdriver
108 10 2017-07-11 2025-04-01 27 13 vmik@google.com leonzz@mikreal.com
adapter.yaml
in custom-metrics-stackdriver-adapter/deploy/production
176 - 2018-03-13 2025-01-10 35 12 kawych@google.com yinghongfang@google.com
adapter.go
in custom-metrics-stackdriver-adapter
207 6 2017-07-26 2025-04-15 31 11 kawych@google.com yinghongfang@google.com
gce_config.go
in prometheus-to-sd/config
98 1 2018-03-28 2023-11-09 22 11 loburm@google.com darekyung@google.com
adapter-beta.yaml
in custom-metrics-stackdriver-adapter
121 - 2017-09-20 2024-05-08 21 11 kawych@google.com yinghongfang@google.com
source_config.go
in prometheus-to-sd/config
150 6 2017-07-12 2023-11-09 20 11 loburm@google.com darekyung@google.com
translate.go
in kubelet-to-gcm/monitor/kubelet
533 18 2017-12-08 2025-04-29 20 11 loburm@google.com leonzz@google.com
sink_factory.go
in event-exporter/sinks/stackdriver
79 4 2017-08-14 2025-05-01 12 11 vmik@google.com 68074864+zkdlin211@users.no...
sink_config.go
in event-exporter/sinks/stackdriver
40 1 2017-08-14 2025-05-01 11 10 vmik@google.com 68074864+zkdlin211@users.no...
dynamic_source.go
in prometheus-to-sd/config
113 6 2018-08-01 2023-11-09 16 9 marek.siarkowicz@protonmail... darekyung@google.com
response_translator.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
214 11 2020-08-24 2023-11-09 15 9 holubowicz@google.com darekyung@google.com
common_config.go
in prometheus-to-sd/config
75 4 2018-07-26 2023-11-09 14 9 szetty@google.com darekyung@google.com
log_entry_factory.go
in event-exporter/sinks/stackdriver
86 6 2018-04-09 2025-04-01 13 9 czawadka@google.com leonzz@mikreal.com
main.go
in event-exporter
76 3 2018-10-18 2025-04-02 8 9 belliott@google.com leonzz@google.com
query_builder.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
585 50 2020-08-24 2023-11-09 22 8 holubowicz@google.com darekyung@google.com
prometheus.go
in prometheus-to-sd/translator
101 5 2018-03-15 2024-07-22 20 8 deejay1@srem.org yinghongfang@google.com
client.go
in custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider
117 10 2020-08-24 2023-11-09 11 8 holubowicz@google.com darekyung@google.com
monitored_resource_factory.go
in event-exporter/sinks/stackdriver
92 6 2018-04-09 2023-11-09 8 8 czawadka@google.com darekyung@google.com
client.go
in kubelet-to-gcm/monitor/kubelet
62 3 2020-06-22 2023-11-09 5 8 kawych@google.com darekyung@google.com
metric_descriptor_cache.go
in prometheus-to-sd/translator
141 14 2017-07-12 2024-07-20 16 7 loburm@google.com yinghongfang@google.com
stackdriver.go
in prometheus-to-sd/translator
111 4 2017-07-11 2024-07-20 14 7 pszczesniak@google.com yinghongfang@google.com
provider.go
in custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider
179 7 2020-08-12 2024-04-29 10 7 holubowicz@google.com yinghongfang@google.com
translator_test_utils.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
57 6 2020-08-25 2025-04-15 9 7 holubowicz@google.com yinghongfang@google.com
response_translator_core.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
118 7 2020-09-21 2023-11-09 7 7 holubowicz@google.com darekyung@google.com
initialize.go
in kubelet-to-gcm/monitor/config
164 10 2018-03-28 2023-11-09 8 6 loburm@google.com darekyung@google.com
monitored_resource_factory_config.go
in event-exporter/sinks/stackdriver
47 2 2018-04-09 2023-11-09 8 6 czawadka@google.com darekyung@google.com
daemon.go
in kubelet-to-gcm/monitor/main
101 2 2018-08-29 2023-11-09 11 5 danielmk@google.com darekyung@google.com
poll.go
in kubelet-to-gcm/monitor
65 2 2018-08-29 2023-11-09 11 5 danielmk@google.com darekyung@google.com
writer.go
in event-exporter/sinks/stackdriver
50 2 2018-10-18 2023-11-09 8 5 belliott@google.com darekyung@google.com
prometheus-to-sd-kube-state-metrics.yaml
in prometheus-to-sd/kubernetes
45 - 2017-08-04 2023-11-09 7 5 loburm@google.com darekyung@google.com
event-exporter.yaml
in event-exporter/example
39 - 2017-07-10 2023-11-09 7 5 vmik@google.com darekyung@google.com
errors.go
in custom-metrics-stackdriver-adapter/pkg/adapter/provider
15 1 2019-06-25 2023-11-09 5 5 pkepka@google.com darekyung@google.com
interface.go
in event-exporter/sinks
14 - 2020-06-22 2025-04-01 4 5 kawych@google.com leonzz@mikreal.com
gce_config.go
in custom-metrics-stackdriver-adapter/pkg/config
44 1 2017-07-26 2023-11-09 11 4 kawych@google.com darekyung@google.com
filter_builder.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator/utils
156 10 2022-10-11 2023-11-09 11 4 hongliangzhu@google.com darekyung@google.com
source.go
in kubelet-to-gcm/monitor/kubelet
72 5 2020-01-31 2023-11-09 7 4 jsroka@google.com darekyung@google.com
types.go
in custom-metrics-stackdriver-adapter/localvendor/k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
127 - 2020-08-12 2023-11-09 4 4 holubowicz@google.com darekyung@google.com
metrics.go
in prometheus-to-sd/translator
49 1 2018-03-16 2023-11-09 3 3 deejay1@srem.org darekyung@google.com
flags.go
in prometheus-to-sd/flags
57 5 2017-12-01 2023-11-09 3 3 loburm@google.com darekyung@google.com
metrics.go
in event-exporter/sinks/stackdriver
65 2 2022-03-04 2023-11-09 3 3 sophieliu@google.com darekyung@google.com
errors.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
39 7 2020-08-25 2023-11-09 3 3 holubowicz@google.com darekyung@google.com
metrics.go
in kubelet-to-gcm/monitor
63 6 2018-12-04 2023-11-09 5 2 loburm@google.com darekyung@google.com
boilerplate.py
in hack/boilerplate
137 7 2017-07-14 2017-08-28 4 2 kawych@google.com kawych@google.com
gce_token_source.go
in prometheus-to-sd/config
61 3 2020-01-03 2023-11-09 2 2 pkepka@google.com darekyung@google.com
Files With Least Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
183 8
cache_collector.go
in event-exporter/kubernetes/podlabels
135 3 2025-04-01 2025-04-01 1 1 leonzz@mikreal.com leonzz@mikreal.com
client.go
in kubelet-to-gcm/monitor/controller
87 5 2023-11-09 2023-11-09 1 1 darekyung@google.com darekyung@google.com
translator.go
in kubelet-to-gcm/monitor/controller
64 3 2023-11-09 2023-11-09 1 1 darekyung@google.com darekyung@google.com
metrics.go
in event-exporter/kubernetes/podlabels
64 11 2025-04-01 2025-04-01 1 1 leonzz@mikreal.com leonzz@mikreal.com
handler.go
in event-exporter/kubernetes/watchers/events
54 5 2025-04-01 2025-04-01 1 1 leonzz@mikreal.com leonzz@mikreal.com
storage.go
in event-exporter/kubernetes/watchers
48 4 2025-04-01 2025-04-01 1 1 leonzz@mikreal.com leonzz@mikreal.com
watcher.go
in event-exporter/kubernetes/watchers/events
48 1 2025-04-01 2025-04-01 1 1 leonzz@mikreal.com leonzz@mikreal.com
source.go
in kubelet-to-gcm/monitor/controller
41 4 2023-11-09 2023-11-09 1 1 darekyung@google.com darekyung@google.com
watcher.go
in event-exporter/kubernetes/watchers
33 2 2025-04-01 2025-04-01 1 1 leonzz@mikreal.com leonzz@mikreal.com
label_utils.go
in event-exporter/kubernetes/podlabels
19 1 2025-04-01 2025-04-01 1 1 leonzz@mikreal.com leonzz@mikreal.com
stop_helpers.go
in event-exporter/utils
18 1 2023-11-09 2023-11-09 1 1 darekyung@google.com darekyung@google.com
convert.go
in kubelet-to-gcm/monitor
7 2 2023-11-09 2023-11-09 1 1 darekyung@google.com darekyung@google.com
doc.go
in kubelet-to-gcm/monitor
1 - 2023-11-09 2023-11-09 1 1 darekyung@google.com darekyung@google.com
adapter_new_resource_model_external_cache.yaml
in custom-metrics-stackdriver-adapter/deploy/staging
195 - 2025-04-17 2025-04-17 1 2 yinghongfang@google.com rwainman@google.com
boilerplate.py
in hack/boilerplate
137 7 2017-07-14 2017-08-28 4 2 kawych@google.com kawych@google.com
metrics.go
in kubelet-to-gcm/monitor
63 6 2018-12-04 2023-11-09 5 2 loburm@google.com darekyung@google.com
gce_token_source.go
in prometheus-to-sd/config
61 3 2020-01-03 2023-11-09 2 2 pkepka@google.com darekyung@google.com
cache.go
in custom-metrics-stackdriver-adapter/pkg/adapter/provider
43 3 2025-03-07 2025-04-15 2 2 richabanker@google.com yinghongfang@google.com
example-deployment.yaml
in fluentd-gcp-scaler
34 - 2018-02-09 2023-11-09 2 2 danielmk@google.com darekyung@google.com
event_exporter.go
in event-exporter
29 3 2023-11-09 2025-04-01 2 2 darekyung@google.com leonzz@mikreal.com
metrics.go
in event-exporter/sinks/stackdriver
65 2 2022-03-04 2023-11-09 3 3 sophieliu@google.com darekyung@google.com
flags.go
in prometheus-to-sd/flags
57 5 2017-12-01 2023-11-09 3 3 loburm@google.com darekyung@google.com
metrics.go
in prometheus-to-sd/translator
49 1 2018-03-16 2023-11-09 3 3 deejay1@srem.org darekyung@google.com
errors.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
39 7 2020-08-25 2023-11-09 3 3 holubowicz@google.com darekyung@google.com
filter_builder.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator/utils
156 10 2022-10-11 2023-11-09 11 4 hongliangzhu@google.com darekyung@google.com
types.go
in custom-metrics-stackdriver-adapter/localvendor/k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
127 - 2020-08-12 2023-11-09 4 4 holubowicz@google.com darekyung@google.com
source.go
in kubelet-to-gcm/monitor/kubelet
72 5 2020-01-31 2023-11-09 7 4 jsroka@google.com darekyung@google.com
gce_config.go
in custom-metrics-stackdriver-adapter/pkg/config
44 1 2017-07-26 2023-11-09 11 4 kawych@google.com darekyung@google.com
daemon.go
in kubelet-to-gcm/monitor/main
101 2 2018-08-29 2023-11-09 11 5 danielmk@google.com darekyung@google.com
poll.go
in kubelet-to-gcm/monitor
65 2 2018-08-29 2023-11-09 11 5 danielmk@google.com darekyung@google.com
writer.go
in event-exporter/sinks/stackdriver
50 2 2018-10-18 2023-11-09 8 5 belliott@google.com darekyung@google.com
prometheus-to-sd-kube-state-metrics.yaml
in prometheus-to-sd/kubernetes
45 - 2017-08-04 2023-11-09 7 5 loburm@google.com darekyung@google.com
event-exporter.yaml
in event-exporter/example
39 - 2017-07-10 2023-11-09 7 5 vmik@google.com darekyung@google.com
errors.go
in custom-metrics-stackdriver-adapter/pkg/adapter/provider
15 1 2019-06-25 2023-11-09 5 5 pkepka@google.com darekyung@google.com
interface.go
in event-exporter/sinks
14 - 2020-06-22 2025-04-01 4 5 kawych@google.com leonzz@mikreal.com
initialize.go
in kubelet-to-gcm/monitor/config
164 10 2018-03-28 2023-11-09 8 6 loburm@google.com darekyung@google.com
monitored_resource_factory_config.go
in event-exporter/sinks/stackdriver
47 2 2018-04-09 2023-11-09 8 6 czawadka@google.com darekyung@google.com
provider.go
in custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider
179 7 2020-08-12 2024-04-29 10 7 holubowicz@google.com yinghongfang@google.com
metric_descriptor_cache.go
in prometheus-to-sd/translator
141 14 2017-07-12 2024-07-20 16 7 loburm@google.com yinghongfang@google.com
response_translator_core.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
118 7 2020-09-21 2023-11-09 7 7 holubowicz@google.com darekyung@google.com
stackdriver.go
in prometheus-to-sd/translator
111 4 2017-07-11 2024-07-20 14 7 pszczesniak@google.com yinghongfang@google.com
translator_test_utils.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
57 6 2020-08-25 2025-04-15 9 7 holubowicz@google.com yinghongfang@google.com
query_builder.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
585 50 2020-08-24 2023-11-09 22 8 holubowicz@google.com darekyung@google.com
client.go
in custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider
117 10 2020-08-24 2023-11-09 11 8 holubowicz@google.com darekyung@google.com
prometheus.go
in prometheus-to-sd/translator
101 5 2018-03-15 2024-07-22 20 8 deejay1@srem.org yinghongfang@google.com
monitored_resource_factory.go
in event-exporter/sinks/stackdriver
92 6 2018-04-09 2023-11-09 8 8 czawadka@google.com darekyung@google.com
client.go
in kubelet-to-gcm/monitor/kubelet
62 3 2020-06-22 2023-11-09 5 8 kawych@google.com darekyung@google.com
response_translator.go
in custom-metrics-stackdriver-adapter/pkg/adapter/translator
214 11 2020-08-24 2023-11-09 15 9 holubowicz@google.com darekyung@google.com
dynamic_source.go
in prometheus-to-sd/config
113 6 2018-08-01 2023-11-09 16 9 marek.siarkowicz@protonmail... darekyung@google.com
Correlations

File Size vs. Number of Changes: 67 points

event-exporter/sinks/stackdriver/sink_config.go x: 40 lines of code y: 11 # changes event-exporter/sinks/stackdriver/sink_factory.go x: 79 lines of code y: 12 # changes kubelet-to-gcm/monitor/kubelet/translate.go x: 533 lines of code y: 20 # changes custom-metrics-stackdriver-adapter/deploy/staging/adapter_new_resource_model_external_cache.yaml x: 195 lines of code y: 1 # changes custom-metrics-stackdriver-adapter/adapter.go x: 207 lines of code y: 31 # changes custom-metrics-stackdriver-adapter/pkg/adapter/provider/cache.go x: 43 lines of code y: 2 # changes custom-metrics-stackdriver-adapter/pkg/adapter/provider/provider.go x: 327 lines of code y: 51 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/translator_test_utils.go x: 57 lines of code y: 9 # changes event-exporter/main.go x: 76 lines of code y: 8 # changes event-exporter/event_exporter.go x: 29 lines of code y: 2 # changes event-exporter/kubernetes/podlabels/cache_collector.go x: 135 lines of code y: 1 # changes event-exporter/kubernetes/podlabels/label_utils.go x: 19 lines of code y: 1 # changes event-exporter/kubernetes/podlabels/metrics.go x: 64 lines of code y: 1 # changes event-exporter/kubernetes/watchers/events/handler.go x: 54 lines of code y: 1 # changes event-exporter/kubernetes/watchers/events/watcher.go x: 48 lines of code y: 1 # changes event-exporter/kubernetes/watchers/watcher.go x: 33 lines of code y: 1 # changes event-exporter/sinks/interface.go x: 14 lines of code y: 4 # changes event-exporter/sinks/stackdriver/log_entry_factory.go x: 86 lines of code y: 13 # changes event-exporter/sinks/stackdriver/sink.go x: 108 lines of code y: 27 # changes prometheus-to-sd/main.go x: 262 lines of code y: 58 # changes custom-metrics-stackdriver-adapter/deploy/production/adapter.yaml x: 176 lines of code y: 35 # changes custom-metrics-stackdriver-adapter/deploy/production/adapter_new_resource_model.yaml x: 194 lines of code y: 35 # changes custom-metrics-stackdriver-adapter/deploy/staging/adapter_new_resource_model.yaml x: 194 lines of code y: 41 # changes custom-metrics-stackdriver-adapter/deploy/staging/adapter_old_resource_model.yaml x: 176 lines of code y: 36 # changes prometheus-to-sd/translator/prometheus.go x: 101 lines of code y: 20 # changes prometheus-to-sd/translator/metric_descriptor_cache.go x: 141 lines of code y: 16 # changes prometheus-to-sd/translator/stackdriver.go x: 111 lines of code y: 14 # changes prometheus-to-sd/translator/translator.go x: 476 lines of code y: 47 # changes custom-metrics-stackdriver-adapter/adapter-beta.yaml x: 121 lines of code y: 21 # changes custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider/provider.go x: 179 lines of code y: 10 # changes custom-metrics-stackdriver-adapter/localvendor/k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1/types.go x: 127 lines of code y: 4 # changes custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider/client.go x: 117 lines of code y: 11 # changes custom-metrics-stackdriver-adapter/pkg/adapter/provider/errors.go x: 15 lines of code y: 5 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/errors.go x: 39 lines of code y: 3 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/query_builder.go x: 585 lines of code y: 22 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/response_translator.go x: 214 lines of code y: 15 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/response_translator_core.go x: 118 lines of code y: 7 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/utils/filter_builder.go x: 156 lines of code y: 11 # changes custom-metrics-stackdriver-adapter/pkg/config/gce_config.go x: 44 lines of code y: 11 # changes event-exporter/example/event-exporter.yaml x: 39 lines of code y: 7 # changes event-exporter/sinks/stackdriver/metrics.go x: 65 lines of code y: 3 # changes event-exporter/sinks/stackdriver/monitored_resource_factory.go x: 92 lines of code y: 8 # changes event-exporter/sinks/stackdriver/monitored_resource_factory_config.go x: 47 lines of code y: 8 # changes event-exporter/sinks/stackdriver/writer.go x: 50 lines of code y: 8 # changes fluentd-gcp-scaler/example-deployment.yaml x: 34 lines of code y: 2 # changes kubelet-to-gcm/monitor/config/initialize.go x: 164 lines of code y: 8 # changes kubelet-to-gcm/monitor/controller/client.go x: 87 lines of code y: 1 # changes kubelet-to-gcm/monitor/controller/source.go x: 41 lines of code y: 1 # changes kubelet-to-gcm/monitor/convert.go x: 7 lines of code y: 1 # changes kubelet-to-gcm/monitor/doc.go x: 1 lines of code y: 1 # changes kubelet-to-gcm/monitor/kubelet/client.go x: 62 lines of code y: 5 # changes kubelet-to-gcm/monitor/kubelet/source.go x: 72 lines of code y: 7 # changes kubelet-to-gcm/monitor/main/daemon.go x: 101 lines of code y: 11 # changes kubelet-to-gcm/monitor/metrics.go x: 63 lines of code y: 5 # changes kubelet-to-gcm/monitor/poll.go x: 65 lines of code y: 11 # changes prometheus-to-sd/config/common_config.go x: 75 lines of code y: 14 # changes prometheus-to-sd/config/dynamic_source.go x: 113 lines of code y: 16 # changes prometheus-to-sd/config/gce_config.go x: 98 lines of code y: 22 # changes prometheus-to-sd/config/gce_token_source.go x: 61 lines of code y: 2 # changes prometheus-to-sd/config/source_config.go x: 150 lines of code y: 20 # changes prometheus-to-sd/flags/flags.go x: 57 lines of code y: 3 # changes prometheus-to-sd/kubernetes/prometheus-to-sd-kube-state-metrics.yaml x: 45 lines of code y: 7 # changes prometheus-to-sd/translator/metrics.go x: 49 lines of code y: 3 # changes hack/boilerplate/boilerplate.py x: 137 lines of code y: 4 # changes
58.0
# changes
  min: 1.0
  average: 11.94
  25th percentile: 2.0
  median: 8.0
  75th percentile: 16.0
  max: 58.0
0 585.0
lines of code
min: 1.0 | average: 113.4 | 25th percentile: 47.0 | median: 76.0 | 75th percentile: 141.0 | max: 585.0

Number of Contributors vs. Number of Changes: 67 points

event-exporter/sinks/stackdriver/sink_config.go x: 10 # contributors y: 11 # changes event-exporter/sinks/stackdriver/sink_factory.go x: 11 # contributors y: 12 # changes kubelet-to-gcm/monitor/kubelet/translate.go x: 11 # contributors y: 20 # changes custom-metrics-stackdriver-adapter/deploy/staging/adapter_new_resource_model_external_cache.yaml x: 2 # contributors y: 1 # changes custom-metrics-stackdriver-adapter/adapter.go x: 11 # contributors y: 31 # changes custom-metrics-stackdriver-adapter/pkg/adapter/provider/cache.go x: 2 # contributors y: 2 # changes custom-metrics-stackdriver-adapter/pkg/adapter/provider/provider.go x: 16 # contributors y: 51 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/translator_test_utils.go x: 7 # contributors y: 9 # changes event-exporter/main.go x: 9 # contributors y: 8 # changes event-exporter/kubernetes/podlabels/cache_collector.go x: 1 # contributors y: 1 # changes event-exporter/sinks/interface.go x: 5 # contributors y: 4 # changes event-exporter/sinks/stackdriver/log_entry_factory.go x: 9 # contributors y: 13 # changes event-exporter/sinks/stackdriver/sink.go x: 13 # contributors y: 27 # changes prometheus-to-sd/main.go x: 23 # contributors y: 58 # changes custom-metrics-stackdriver-adapter/deploy/production/adapter.yaml x: 12 # contributors y: 35 # changes custom-metrics-stackdriver-adapter/deploy/production/adapter_new_resource_model.yaml x: 16 # contributors y: 35 # changes custom-metrics-stackdriver-adapter/deploy/staging/adapter_new_resource_model.yaml x: 16 # contributors y: 41 # changes custom-metrics-stackdriver-adapter/deploy/staging/adapter_old_resource_model.yaml x: 14 # contributors y: 36 # changes prometheus-to-sd/translator/prometheus.go x: 8 # contributors y: 20 # changes prometheus-to-sd/translator/metric_descriptor_cache.go x: 7 # contributors y: 16 # changes prometheus-to-sd/translator/stackdriver.go x: 7 # contributors y: 14 # changes prometheus-to-sd/translator/translator.go x: 15 # contributors y: 47 # changes custom-metrics-stackdriver-adapter/adapter-beta.yaml x: 11 # contributors y: 21 # changes custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider/provider.go x: 7 # contributors y: 10 # changes custom-metrics-stackdriver-adapter/localvendor/k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1/types.go x: 4 # contributors y: 4 # changes custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider/client.go x: 8 # contributors y: 11 # changes custom-metrics-stackdriver-adapter/pkg/adapter/provider/errors.go x: 5 # contributors y: 5 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/errors.go x: 3 # contributors y: 3 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/query_builder.go x: 8 # contributors y: 22 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/response_translator.go x: 9 # contributors y: 15 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/response_translator_core.go x: 7 # contributors y: 7 # changes custom-metrics-stackdriver-adapter/pkg/adapter/translator/utils/filter_builder.go x: 4 # contributors y: 11 # changes event-exporter/example/event-exporter.yaml x: 5 # contributors y: 7 # changes event-exporter/sinks/stackdriver/monitored_resource_factory.go x: 8 # contributors y: 8 # changes event-exporter/sinks/stackdriver/monitored_resource_factory_config.go x: 6 # contributors y: 8 # changes event-exporter/sinks/stackdriver/writer.go x: 5 # contributors y: 8 # changes kubelet-to-gcm/monitor/kubelet/client.go x: 8 # contributors y: 5 # changes kubelet-to-gcm/monitor/kubelet/source.go x: 4 # contributors y: 7 # changes kubelet-to-gcm/monitor/main/daemon.go x: 5 # contributors y: 11 # changes kubelet-to-gcm/monitor/metrics.go x: 2 # contributors y: 5 # changes prometheus-to-sd/config/common_config.go x: 9 # contributors y: 14 # changes prometheus-to-sd/config/dynamic_source.go x: 9 # contributors y: 16 # changes prometheus-to-sd/config/gce_config.go x: 11 # contributors y: 22 # changes hack/boilerplate/boilerplate.py x: 2 # contributors y: 4 # changes
58.0
# changes
  min: 1.0
  average: 11.94
  25th percentile: 2.0
  median: 8.0
  75th percentile: 16.0
  max: 58.0
0 23.0
# contributors
min: 1.0 | average: 6.31 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 9.0 | max: 23.0

Number of Contributors vs. File Size: 67 points

event-exporter/sinks/stackdriver/sink_config.go x: 10 # contributors y: 40 lines of code event-exporter/sinks/stackdriver/sink_factory.go x: 11 # contributors y: 79 lines of code kubelet-to-gcm/monitor/kubelet/translate.go x: 11 # contributors y: 533 lines of code custom-metrics-stackdriver-adapter/deploy/staging/adapter_new_resource_model_external_cache.yaml x: 2 # contributors y: 195 lines of code custom-metrics-stackdriver-adapter/adapter.go x: 11 # contributors y: 207 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/provider/cache.go x: 2 # contributors y: 43 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/provider/provider.go x: 16 # contributors y: 327 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/translator/translator_test_utils.go x: 7 # contributors y: 57 lines of code event-exporter/main.go x: 9 # contributors y: 76 lines of code event-exporter/event_exporter.go x: 2 # contributors y: 29 lines of code event-exporter/kubernetes/podlabels/cache_collector.go x: 1 # contributors y: 135 lines of code event-exporter/kubernetes/podlabels/label_utils.go x: 1 # contributors y: 19 lines of code event-exporter/kubernetes/podlabels/metrics.go x: 1 # contributors y: 64 lines of code event-exporter/kubernetes/watchers/events/handler.go x: 1 # contributors y: 54 lines of code event-exporter/kubernetes/watchers/events/watcher.go x: 1 # contributors y: 48 lines of code event-exporter/kubernetes/watchers/watcher.go x: 1 # contributors y: 33 lines of code event-exporter/sinks/interface.go x: 5 # contributors y: 14 lines of code event-exporter/sinks/stackdriver/log_entry_factory.go x: 9 # contributors y: 86 lines of code event-exporter/sinks/stackdriver/sink.go x: 13 # contributors y: 108 lines of code prometheus-to-sd/main.go x: 23 # contributors y: 262 lines of code custom-metrics-stackdriver-adapter/deploy/production/adapter.yaml x: 12 # contributors y: 176 lines of code custom-metrics-stackdriver-adapter/deploy/production/adapter_new_resource_model.yaml x: 16 # contributors y: 194 lines of code custom-metrics-stackdriver-adapter/deploy/staging/adapter_old_resource_model.yaml x: 14 # contributors y: 176 lines of code prometheus-to-sd/translator/prometheus.go x: 8 # contributors y: 101 lines of code prometheus-to-sd/translator/metric_descriptor_cache.go x: 7 # contributors y: 141 lines of code prometheus-to-sd/translator/stackdriver.go x: 7 # contributors y: 111 lines of code prometheus-to-sd/translator/translator.go x: 15 # contributors y: 476 lines of code custom-metrics-stackdriver-adapter/adapter-beta.yaml x: 11 # contributors y: 121 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider/provider.go x: 7 # contributors y: 179 lines of code custom-metrics-stackdriver-adapter/localvendor/k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1/types.go x: 4 # contributors y: 127 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/coreprovider/client.go x: 8 # contributors y: 117 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/translator/errors.go x: 3 # contributors y: 39 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/translator/query_builder.go x: 8 # contributors y: 585 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/translator/response_translator.go x: 9 # contributors y: 214 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/translator/response_translator_core.go x: 7 # contributors y: 118 lines of code custom-metrics-stackdriver-adapter/pkg/adapter/translator/utils/filter_builder.go x: 4 # contributors y: 156 lines of code custom-metrics-stackdriver-adapter/pkg/config/gce_config.go x: 4 # contributors y: 44 lines of code event-exporter/example/event-exporter.yaml x: 5 # contributors y: 39 lines of code event-exporter/sinks/stackdriver/metrics.go x: 3 # contributors y: 65 lines of code event-exporter/sinks/stackdriver/monitored_resource_factory.go x: 8 # contributors y: 92 lines of code event-exporter/sinks/stackdriver/monitored_resource_factory_config.go x: 6 # contributors y: 47 lines of code event-exporter/sinks/stackdriver/writer.go x: 5 # contributors y: 50 lines of code event-exporter/utils/stop_helpers.go x: 1 # contributors y: 18 lines of code fluentd-gcp-scaler/example-deployment.yaml x: 2 # contributors y: 34 lines of code kubelet-to-gcm/monitor/config/initialize.go x: 6 # contributors y: 164 lines of code kubelet-to-gcm/monitor/controller/client.go x: 1 # contributors y: 87 lines of code kubelet-to-gcm/monitor/controller/source.go x: 1 # contributors y: 41 lines of code kubelet-to-gcm/monitor/convert.go x: 1 # contributors y: 7 lines of code kubelet-to-gcm/monitor/doc.go x: 1 # contributors y: 1 lines of code kubelet-to-gcm/monitor/kubelet/client.go x: 8 # contributors y: 62 lines of code kubelet-to-gcm/monitor/kubelet/source.go x: 4 # contributors y: 72 lines of code kubelet-to-gcm/monitor/main/daemon.go x: 5 # contributors y: 101 lines of code kubelet-to-gcm/monitor/metrics.go x: 2 # contributors y: 63 lines of code kubelet-to-gcm/monitor/poll.go x: 5 # contributors y: 65 lines of code prometheus-to-sd/config/dynamic_source.go x: 9 # contributors y: 113 lines of code prometheus-to-sd/config/gce_config.go x: 11 # contributors y: 98 lines of code prometheus-to-sd/config/gce_token_source.go x: 2 # contributors y: 61 lines of code prometheus-to-sd/config/source_config.go x: 11 # contributors y: 150 lines of code prometheus-to-sd/flags/flags.go x: 3 # contributors y: 57 lines of code prometheus-to-sd/kubernetes/prometheus-to-sd-kube-state-metrics.yaml x: 5 # contributors y: 45 lines of code prometheus-to-sd/translator/metrics.go x: 3 # contributors y: 49 lines of code hack/boilerplate/boilerplate.py x: 2 # contributors y: 137 lines of code
585.0
lines of code
  min: 1.0
  average: 113.4
  25th percentile: 47.0
  median: 76.0
  75th percentile: 141.0
  max: 585.0
0 23.0
# contributors
min: 1.0 | average: 6.31 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 9.0 | max: 23.0