id: 1 unit: func main() file: main.go start line: 110 end line: 359 size: 224 LOC McCabe index: 22 number of parameters: 0 id: 2 unit: func main() file: cmd/amazon-cloudwatch-agent-target-allocator/main.go start line: 38 end line: 240 size: 191 LOC McCabe index: 25 number of parameters: 0 id: 3 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 78 end line: 237 size: 160 LOC McCabe index: 39 number of parameters: 1 id: 4 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 76 end line: 224 size: 149 LOC McCabe index: 37 number of parameters: 1 id: 5 unit: func() file: pkg/instrumentation/sdk.go start line: 43 end line: 202 size: 129 LOC McCabe index: 23 number of parameters: 1 id: 6 unit: func() file: apis/v1alpha1/collector_webhook.go start line: 146 end line: 299 size: 121 LOC McCabe index: 60 number of parameters: 1 id: 7 unit: func() file: apis/v1alpha1/instrumentation_webhook.go start line: 84 end line: 206 size: 121 LOC McCabe index: 28 number of parameters: 1 id: 8 unit: func() file: pkg/instrumentation/podmutator.go start line: 207 end line: 362 size: 120 LOC McCabe index: 35 number of parameters: 1 id: 9 unit: func() file: pkg/instrumentation/sdk.go start line: 245 end line: 368 size: 108 LOC McCabe index: 24 number of parameters: 1 id: 10 unit: func injectApacheHttpdagent() file: pkg/instrumentation/apachehttpd.go start line: 51 end line: 179 size: 99 LOC McCabe index: 8 number of parameters: 6 id: 11 unit: func MutateFuncFor() file: internal/manifests/mutate.go start line: 50 end line: 164 size: 91 LOC McCabe index: 21 number of parameters: 2 id: 12 unit: func getDefaultInstrumentation() file: pkg/instrumentation/defaultinstrumentation.go start line: 53 end line: 139 size: 80 LOC McCabe index: 9 number of parameters: 3 id: 13 unit: func HorizontalPodAutoscaler() file: internal/manifests/collector/horizontalpodautoscaler.go start line: 18 end line: 109 size: 80 LOC McCabe index: 10 number of parameters: 1 id: 14 unit: func Container() file: internal/manifests/collector/container.go start line: 25 end line: 127 size: 76 LOC McCabe index: 14 number of parameters: 4 id: 15 unit: func injectDotNetSDK() file: pkg/instrumentation/dotnet.go start line: 57 end line: 150 size: 75 LOC McCabe index: 11 number of parameters: 4 id: 16 unit: func injectPythonSDK() file: pkg/instrumentation/python.go start line: 27 end line: 117 size: 74 LOC McCabe index: 11 number of parameters: 3 id: 17 unit: func getEnabledComponents() file: internal/manifests/collector/adapters/config_validate.go start line: 10 end line: 99 size: 74 LOC McCabe index: 22 number of parameters: 2 id: 18 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 951 end line: 1018 size: 68 LOC McCabe index: 18 number of parameters: 1 id: 19 unit: func ConfigMaps() file: internal/manifests/collector/configmap.go start line: 19 end line: 97 size: 66 LOC McCabe index: 10 number of parameters: 1 id: 20 unit: func Routes() file: internal/manifests/collector/route.go start line: 18 end line: 89 size: 64 LOC McCabe index: 11 number of parameters: 1 id: 21 unit: func() file: pkg/instrumentation/podmutator.go start line: 91 end line: 163 size: 62 LOC McCabe index: 17 number of parameters: 1 id: 22 unit: func GetPromConfig() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 66 end line: 139 size: 61 LOC McCabe index: 17 number of parameters: 1 id: 23 unit: func getApacheOtelConfig() file: pkg/instrumentation/apachehttpd.go start line: 193 end line: 265 size: 59 LOC McCabe index: 10 number of parameters: 5 id: 24 unit: func() file: apis/v1alpha1/collector_webhook.go start line: 72 end line: 144 size: 58 LOC McCabe index: 23 number of parameters: 1 id: 25 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 521 end line: 578 size: 58 LOC McCabe index: 16 number of parameters: 1 id: 26 unit: func() file: controllers/amazoncloudwatchagent_controller.go start line: 46 end line: 118 size: 58 LOC McCabe index: 13 number of parameters: 1 id: 27 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go start line: 210 end line: 273 size: 58 LOC McCabe index: 8 number of parameters: 1 id: 28 unit: func Volumes() file: internal/manifests/collector/volume.go start line: 16 end line: 78 size: 57 LOC McCabe index: 6 number of parameters: 2 id: 29 unit: func injectGoSDK() file: pkg/instrumentation/golang.go start line: 23 end line: 90 size: 56 LOC McCabe index: 9 number of parameters: 2 id: 30 unit: func UpdateCollectorStatus() file: internal/status/collector/collector.go start line: 22 end line: 88 size: 56 LOC McCabe index: 11 number of parameters: 3 id: 31 unit: func ConfigMap() file: internal/manifests/targetallocator/configmap.go start line: 26 end line: 92 size: 55 LOC McCabe index: 11 number of parameters: 1 id: 32 unit: func() file: internal/manifests/collector/parser/receiver/receiver_jaeger.go start line: 51 end line: 118 size: 54 LOC McCabe index: 6 number of parameters: 1 id: 33 unit: func Build() file: internal/manifests/collector/collector.go start line: 19 end line: 73 size: 54 LOC McCabe index: 15 number of parameters: 1 id: 34 unit: func Container() file: internal/manifests/targetallocator/container.go start line: 19 end line: 78 size: 54 LOC McCabe index: 7 number of parameters: 3 id: 35 unit: func Container() file: internal/manifests/dcgmexporter/container.go start line: 23 end line: 86 size: 53 LOC McCabe index: 8 number of parameters: 3 id: 36 unit: func getContainerPorts() file: internal/manifests/collector/ports.go start line: 67 end line: 124 size: 53 LOC McCabe index: 11 number of parameters: 4 id: 37 unit: func() file: apis/v1alpha1/instrumentation_webhook.go start line: 208 end line: 264 size: 52 LOC McCabe index: 18 number of parameters: 1 id: 38 unit: func() file: internal/manifests/collector/parser/receiver/receiver_otlp.go start line: 55 end line: 116 size: 52 LOC McCabe index: 7 number of parameters: 1 id: 39 unit: func() file: pkg/instrumentation/upgrade/upgrade.go start line: 80 end line: 130 size: 51 LOC McCabe index: 18 number of parameters: 1 id: 40 unit: func ReplaceConfig() file: internal/manifests/collector/config_replace.go start line: 36 end line: 93 size: 51 LOC McCabe index: 11 number of parameters: 1 id: 41 unit: func injectJavaagent() file: pkg/instrumentation/javaagent.go start line: 26 end line: 85 size: 50 LOC McCabe index: 7 number of parameters: 3 id: 42 unit: func() file: pkg/instrumentation/sdk.go start line: 458 end line: 512 size: 50 LOC McCabe index: 15 number of parameters: 1 id: 43 unit: func AddHTTPSDConfigToPromConfig() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 145 end line: 204 size: 49 LOC McCabe index: 12 number of parameters: 2 id: 44 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 271 end line: 318 size: 48 LOC McCabe index: 12 number of parameters: 1 id: 45 unit: func reconcileDesiredObjectUIDs() file: controllers/common.go start line: 60 end line: 113 size: 48 LOC McCabe index: 10 number of parameters: 6 id: 46 unit: func LoadFromCLI() file: cmd/amazon-cloudwatch-agent-target-allocator/config/config.go start line: 94 end line: 150 size: 48 LOC McCabe index: 11 number of parameters: 2 id: 47 unit: func Container() file: internal/manifests/neuronmonitor/container.go start line: 21 end line: 73 size: 47 LOC McCabe index: 7 number of parameters: 3 id: 48 unit: func getResourceAttributesEnv() file: pkg/sidecar/attributes.go start line: 29 end line: 83 size: 46 LOC McCabe index: 3 number of parameters: 2 id: 49 unit: func injectNodeJSSDK() file: pkg/instrumentation/nodejs.go start line: 20 end line: 74 size: 46 LOC McCabe index: 7 number of parameters: 3 id: 50 unit: func ReplacePrometheusConfig() file: internal/manifests/collector/config_replace.go start line: 111 end line: 167 size: 45 LOC McCabe index: 12 number of parameters: 1 id: 51 unit: func ConfigToComponentPorts() file: internal/manifests/collector/adapters/config_to_ports.go start line: 78 end line: 144 size: 45 LOC McCabe index: 10 number of parameters: 3 id: 52 unit: func Deployment() file: internal/manifests/targetallocator/deployment.go start line: 18 end line: 64 size: 45 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: func PodMonitor() file: internal/manifests/collector/podmonitor.go start line: 19 end line: 65 size: 44 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: func StatefulSet() file: internal/manifests/collector/statefulset.go start line: 17 end line: 61 size: 43 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: func getReceiverServicePort() file: internal/manifests/collector/ports.go start line: 171 end line: 213 size: 43 LOC McCabe index: 11 number of parameters: 5 id: 56 unit: func ConfigToContainerProbe() file: internal/manifests/collector/adapters/config_to_probe.go start line: 40 end line: 88 size: 43 LOC McCabe index: 13 number of parameters: 1 id: 57 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 166 end line: 221 size: 42 LOC McCabe index: 12 number of parameters: 1 id: 58 unit: func Deployment() file: internal/manifests/collector/deployment.go start line: 17 end line: 59 size: 41 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: func ServiceMonitor() file: internal/manifests/collector/servicemonitor.go start line: 19 end line: 61 size: 41 LOC McCabe index: 3 number of parameters: 1 id: 60 unit: func NewPrometheusCRWatcher() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go start line: 34 end line: 84 size: 41 LOC McCabe index: 5 number of parameters: 2 id: 61 unit: func getJavaEnvs() file: pkg/instrumentation/defaultinstrumentation.go start line: 141 end line: 181 size: 39 LOC McCabe index: 5 number of parameters: 4 id: 62 unit: func DaemonSet() file: internal/manifests/collector/daemonset.go start line: 17 end line: 56 size: 39 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: func Service() file: internal/manifests/dcgmexporter/service.go start line: 18 end line: 58 size: 38 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: func getLogsReceiversServicePorts() file: internal/manifests/collector/ports.go start line: 215 end line: 260 size: 38 LOC McCabe index: 9 number of parameters: 3 id: 65 unit: func Ingress() file: internal/manifests/collector/ingress.go start line: 19 end line: 61 size: 38 LOC McCabe index: 6 number of parameters: 1 id: 66 unit: func Service() file: internal/manifests/neuronmonitor/service.go start line: 18 end line: 58 size: 38 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: func getNginxOtelConfig() file: pkg/instrumentation/nginx.go start line: 269 end line: 312 size: 36 LOC McCabe index: 7 number of parameters: 5 id: 68 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go start line: 126 end line: 171 size: 36 LOC McCabe index: 7 number of parameters: 1 id: 69 unit: func checkAutoscalerSpec() file: apis/v1alpha1/collector_webhook.go start line: 301 end line: 340 size: 35 LOC McCabe index: 20 number of parameters: 1 id: 70 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 400 end line: 434 size: 35 LOC McCabe index: 8 number of parameters: 1 id: 71 unit: func() file: pkg/instrumentation/sdk.go start line: 419 end line: 456 size: 34 LOC McCabe index: 9 number of parameters: 1 id: 72 unit: func Labels() file: internal/manifests/manifestutils/labels.go start line: 24 end line: 62 size: 34 LOC McCabe index: 11 number of parameters: 5 id: 73 unit: func Volumes() file: internal/manifests/targetallocator/volume.go start line: 15 end line: 49 size: 34 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1171 end line: 1203 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 75 unit: func DaemonSet() file: internal/manifests/dcgmexporter/daemonset.go start line: 17 end line: 50 size: 33 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: func createSubdomainIngressRules() file: internal/manifests/collector/ingress.go start line: 91 end line: 125 size: 33 LOC McCabe index: 4 number of parameters: 3 id: 77 unit: func DaemonSet() file: internal/manifests/neuronmonitor/daemonset.go start line: 17 end line: 50 size: 33 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: func RemoveRegexFromRelabelAction() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 147 end line: 184 size: 33 LOC McCabe index: 12 number of parameters: 1 id: 79 unit: func New() file: internal/config/main.go start line: 43 end line: 76 size: 32 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go start line: 279 end line: 316 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 81 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go start line: 322 end line: 359 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 82 unit: func() file: pkg/instrumentation/podmutator.go start line: 364 end line: 400 size: 31 LOC McCabe index: 8 number of parameters: 1 id: 83 unit: func() file: controllers/dcgmexporter_controller.go start line: 73 end line: 111 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 84 unit: func() file: controllers/neuronmonitor_controller.go start line: 73 end line: 110 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 85 unit: func ConfigToMetricsPort() file: internal/manifests/collector/adapters/config_to_ports.go start line: 32 end line: 65 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 86 unit: func() file: internal/webhook/podmutation/webhookhandler.go start line: 59 end line: 96 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 87 unit: func MonitoringService() file: internal/manifests/collector/service.go start line: 48 end line: 79 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 88 unit: func validateJaegerRemoteSamplerArgument() file: apis/v1alpha1/instrumentation_webhook.go start line: 275 end line: 304 size: 28 LOC McCabe index: 10 number of parameters: 1 id: 89 unit: func() file: pkg/sidecar/podmutator.go start line: 45 end line: 90 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 90 unit: func() file: pkg/instrumentation/podmutator.go start line: 59 end line: 88 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 91 unit: func singlePortFromConfigEndpoint() file: internal/manifests/collector/parser/receiver/receiver.go start line: 64 end line: 101 size: 28 LOC McCabe index: 7 number of parameters: 3 id: 92 unit: func runWatch() file: cmd/amazon-cloudwatch-agent-target-allocator/collector/collector.go start line: 99 end line: 128 size: 28 LOC McCabe index: 9 number of parameters: 5 id: 93 unit: func isAutoInstrumentationInjected() file: pkg/instrumentation/helper.go start line: 32 end line: 65 size: 27 LOC McCabe index: 8 number of parameters: 1 id: 94 unit: func Truncate() file: internal/naming/triming.go start line: 24 end line: 56 size: 27 LOC McCabe index: 7 number of parameters: 3 id: 95 unit: func Service() file: internal/manifests/collector/service.go start line: 81 end line: 113 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 96 unit: func createPathIngressRules() file: internal/manifests/collector/ingress.go start line: 63 end line: 89 size: 27 LOC McCabe index: 2 number of parameters: 3 id: 97 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go start line: 175 end line: 203 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 98 unit: func() file: pkg/instrumentation/podmutator.go start line: 166 end line: 191 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 99 unit: func() file: pkg/instrumentation/auto/callback.go start line: 69 end line: 94 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 100 unit: func() file: pkg/instrumentation/auto/annotation.go start line: 84 end line: 109 size: 26 LOC McCabe index: 10 number of parameters: 1 id: 101 unit: func() file: pkg/instrumentation/auto/annotation.go start line: 166 end line: 191 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 102 unit: func() file: pkg/instrumentation/upgrade/upgrade.go start line: 49 end line: 78 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 103 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 423 end line: 447 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 104 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 777 end line: 801 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 105 unit: func getPythonEnvs() file: pkg/instrumentation/defaultinstrumentation.go start line: 183 end line: 207 size: 25 LOC McCabe index: 3 number of parameters: 4 id: 106 unit: func getDotNetEnvs() file: pkg/instrumentation/defaultinstrumentation.go start line: 209 end line: 233 size: 25 LOC McCabe index: 3 number of parameters: 4 id: 107 unit: func getLivenessProbe() file: internal/manifests/collector/container.go start line: 172 end line: 196 size: 25 LOC McCabe index: 8 number of parameters: 2 id: 108 unit: func PodDisruptionBudget() file: internal/manifests/collector/poddisruptionbudget.go start line: 15 end line: 43 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 109 unit: func Service() file: internal/manifests/targetallocator/service.go start line: 17 end line: 43 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 110 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/config/config.go start line: 219 end line: 247 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 111 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 186 end line: 213 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 112 unit: func chooseServiceName() file: pkg/instrumentation/sdk.go start line: 370 end line: 393 size: 24 LOC McCabe index: 8 number of parameters: 3 id: 113 unit: func() file: controllers/amazoncloudwatchagent_controller.go start line: 156 end line: 190 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 114 unit: func() file: internal/webhook/workloadmutation/webhookhandler.go start line: 44 end line: 70 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 115 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 258 end line: 280 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 116 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 503 end line: 525 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 117 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 365 end line: 387 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 118 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 683 end line: 705 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 119 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1052 end line: 1074 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 120 unit: func() file: pkg/sidecar/podmutator.go start line: 117 end line: 142 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 121 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/prehook/relabel.go start line: 39 end line: 67 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 122 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/collector/collector.go start line: 55 end line: 79 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 123 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 331 end line: 352 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 124 unit: func findDuplicatedContainers() file: pkg/instrumentation/helper.go start line: 68 end line: 99 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 125 unit: func Load() file: cmd/amazon-cloudwatch-agent-target-allocator/config/config.go start line: 181 end line: 208 size: 22 LOC McCabe index: 5 number of parameters: 0 id: 126 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/file.go start line: 51 end line: 74 size: 22 LOC McCabe index: 8 number of parameters: 1 id: 127 unit: func() file: pkg/sidecar/podmutator.go start line: 92 end line: 115 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 128 unit: func Build() file: internal/manifests/targetallocator/targetallocator.go start line: 13 end line: 33 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 129 unit: func AddTAConfigToPromConfig() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 209 end line: 237 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 130 unit: func Maps[T Hasher]() file: cmd/amazon-cloudwatch-agent-target-allocator/diff/diff.go start line: 32 end line: 52 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 131 unit: func add() file: pkg/sidecar/pod.go start line: 25 end line: 48 size: 20 LOC McCabe index: 4 number of parameters: 5 id: 132 unit: func() file: pkg/instrumentation/podmutator.go start line: 402 end line: 423 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 133 unit: func NewAnnotationMutators() file: pkg/instrumentation/auto/annotation.go start line: 127 end line: 146 size: 20 LOC McCabe index: 1 number of parameters: 5 id: 134 unit: func hasVolumeClaimsTemplatesChanged() file: internal/manifests/mutate.go start line: 332 end line: 355 size: 20 LOC McCabe index: 8 number of parameters: 2 id: 135 unit: func newConsistentHashingAllocator() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 51 end line: 71 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 136 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 278 end line: 301 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 137 unit: func() file: pkg/instrumentation/auto/callback.go start line: 128 end line: 154 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 138 unit: func pruneStaleObjects() file: controllers/common.go start line: 143 end line: 163 size: 19 LOC McCabe index: 4 number of parameters: 5 id: 139 unit: func HandleReconcileStatus() file: internal/status/dcgmexporter/handle.go start line: 26 end line: 44 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 140 unit: func HandleReconcileStatus() file: internal/status/collector/handle.go start line: 28 end line: 46 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 141 unit: func HandleReconcileStatus() file: internal/status/neuronmonitor/handle.go start line: 26 end line: 44 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 142 unit: func Build() file: internal/manifests/dcgmexporter/dcgmexporter.go start line: 17 end line: 35 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 143 unit: func ConfigMap() file: internal/manifests/dcgmexporter/configmap.go start line: 21 end line: 40 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 144 unit: func getTracesReceiversServicePorts() file: internal/manifests/collector/ports.go start line: 262 end line: 287 size: 19 LOC McCabe index: 6 number of parameters: 3 id: 145 unit: func mutateStatefulSet() file: internal/manifests/mutate.go start line: 291 end line: 312 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 146 unit: func Build() file: internal/manifests/neuronmonitor/neuronmonitor.go start line: 17 end line: 35 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 147 unit: func getScrapeConfigsFromPromConfig() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 41 end line: 63 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 148 unit: func() file: internal/version/main.go start line: 66 end line: 84 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: func reconcileDesiredObjectsWPrune() file: controllers/common.go start line: 115 end line: 135 size: 18 LOC McCabe index: 4 number of parameters: 8 id: 150 unit: func filterPort() file: internal/manifests/collector/service.go start line: 127 end line: 151 size: 18 LOC McCabe index: 4 number of parameters: 4 id: 151 unit: func getMetricsReceiversServicePorts() file: internal/manifests/collector/ports.go start line: 145 end line: 169 size: 18 LOC McCabe index: 7 number of parameters: 3 id: 152 unit: func Get() file: internal/version/main.go start line: 47 end line: 64 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 153 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 115 end line: 138 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 154 unit: func annotationValue() file: pkg/sidecar/annotation.go start line: 18 end line: 47 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 155 unit: func annotationValue() file: pkg/instrumentation/annotation.go start line: 37 end line: 66 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 156 unit: func enabledAcceleratedComputeByAgentConfig() file: controllers/common.go start line: 165 end line: 184 size: 17 LOC McCabe index: 7 number of parameters: 3 id: 157 unit: func Volumes() file: internal/manifests/dcgmexporter/volume.go start line: 13 end line: 31 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 158 unit: func HeadlessService() file: internal/manifests/collector/service.go start line: 26 end line: 46 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 159 unit: func() file: internal/manifests/collector/parser/receiver/receiver_generic.go start line: 43 end line: 61 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 160 unit: func Volumes() file: internal/manifests/neuronmonitor/volume.go start line: 13 end line: 31 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 161 unit: func ValidatePromConfig() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 240 end line: 262 size: 17 LOC McCabe index: 6 number of parameters: 3 id: 162 unit: func ServiceAccount() file: internal/manifests/targetallocator/serviceaccount.go start line: 28 end line: 45 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 163 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 246 end line: 262 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 164 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 293 end line: 308 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 165 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 336 end line: 351 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 166 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 475 end line: 490 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 167 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 538 end line: 553 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 168 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 566 end line: 581 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 169 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 612 end line: 627 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 170 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 655 end line: 670 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 171 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 829 end line: 844 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 172 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1087 end line: 1102 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 173 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1239 end line: 1254 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 174 unit: func InjectAnnotationKey() file: pkg/instrumentation/annotationtype.go start line: 30 end line: 45 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 175 unit: func getNodeJSEnvs() file: pkg/instrumentation/defaultinstrumentation.go start line: 235 end line: 250 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 176 unit: func waitForWebhookServerStart() file: main.go start line: 361 end line: 376 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 177 unit: func WithLabelFilters() file: internal/config/options.go start line: 135 end line: 158 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 178 unit: func mutateDeployment() file: internal/manifests/mutate.go start line: 272 end line: 289 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 179 unit: func ConfigMap() file: internal/manifests/neuronmonitor/configmap.go start line: 20 end line: 36 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: func Labels() file: internal/manifests/targetallocator/labels.go start line: 12 end line: 31 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 181 unit: func CreateDefaultConfig() file: cmd/amazon-cloudwatch-agent-target-allocator/config/config.go start line: 164 end line: 179 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 225 end line: 244 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 183 unit: func() file: pkg/instrumentation/annotationmutator.go start line: 80 end line: 94 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 184 unit: func resourceMapToStr() file: pkg/instrumentation/sdk.go start line: 514 end line: 530 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 185 unit: func BuildCollector() file: controllers/common.go start line: 45 end line: 59 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 186 unit: func DNSName() file: internal/naming/dns.go start line: 22 end line: 38 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 187 unit: func() file: internal/webhook/namespacemutation/webhookhandler.go start line: 33 end line: 47 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 188 unit: func getVolumeMounts() file: internal/manifests/collector/container.go start line: 129 end line: 143 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 189 unit: func getPrometheusVolumeMounts() file: internal/manifests/collector/container.go start line: 145 end line: 159 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 190 unit: func portFromEndpoint() file: internal/manifests/collector/parser/receiver/receiver.go start line: 112 end line: 131 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 191 unit: func portFromEndpoint() file: internal/manifests/collector/ports.go start line: 301 end line: 320 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 192 unit: func() file: internal/manifests/collector/adapters/config_from.go start line: 131 end line: 145 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 193 unit: func() file: internal/manifests/collector/adapters/config_from.go start line: 147 end line: 161 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 194 unit: func extractPortFromExtensionConfig() file: internal/manifests/collector/adapters/config_to_probe.go start line: 129 end line: 143 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 195 unit: func ServiceAccount() file: internal/manifests/collector/serviceaccount.go start line: 26 end line: 41 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 196 unit: func getFlagSet() file: cmd/amazon-cloudwatch-agent-target-allocator/config/flags.go start line: 33 end line: 47 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/collector/collector.go start line: 81 end line: 97 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 198 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 143 end line: 161 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 199 unit: func WithTLSConfig() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 71 end line: 86 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 200 unit: func NewServer() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 102 end line: 120 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 201 unit: func getInstrumentationConfigForResource() file: pkg/instrumentation/defaultinstrumentation.go start line: 37 end line: 51 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 202 unit: func setRestartAnnotation() file: pkg/instrumentation/auto/restart.go start line: 35 end line: 48 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 203 unit: func() file: pkg/instrumentation/auto/callback.go start line: 96 end line: 109 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 204 unit: func() file: pkg/instrumentation/auto/callback.go start line: 112 end line: 125 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 205 unit: func() file: pkg/instrumentation/auto/config.go start line: 17 end line: 30 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 206 unit: func() file: pkg/instrumentation/auto/annotation.go start line: 69 end line: 82 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 207 unit: func BuildDcgmExporter() file: controllers/dcgmexporter_controller.go start line: 114 end line: 127 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 208 unit: func BuildNeuronMonitor() file: controllers/neuronmonitor_controller.go start line: 113 end line: 126 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 209 unit: func servicePortsFromCfg() file: internal/manifests/collector/ingress.go start line: 127 end line: 147 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 210 unit: func MakeNNewTargets() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/allocatortest.go start line: 22 end line: 35 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 211 unit: func getInformers() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go start line: 108 end line: 123 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 212 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1146 end line: 1158 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 213 unit: func remove() file: pkg/sidecar/pod.go start line: 51 end line: 64 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 214 unit: func setDotNetEnvVar() file: pkg/instrumentation/dotnet.go start line: 155 end line: 167 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 215 unit: func() file: pkg/instrumentation/annotationmutator.go start line: 41 end line: 53 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 216 unit: func validateContainerEnv() file: pkg/instrumentation/sdk.go start line: 551 end line: 563 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 217 unit: func Annotations() file: internal/manifests/collector/annotations.go start line: 14 end line: 33 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 218 unit: func PodAnnotations() file: internal/manifests/collector/annotations.go start line: 36 end line: 56 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 219 unit: func NewJaegerReceiverParser() file: internal/manifests/collector/parser/receiver/receiver_jaeger.go start line: 35 end line: 48 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 220 unit: func NewOTLPReceiverParser() file: internal/manifests/collector/parser/receiver/receiver_otlp.go start line: 39 end line: 52 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 221 unit: func Annotations() file: internal/manifests/targetallocator/annotations.go start line: 18 end line: 33 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 222 unit: func ValidateTargetAllocatorConfig() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 268 end line: 284 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 223 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 97 end line: 110 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 224 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 231 end line: 245 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 225 unit: func NewFileWatcher() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/file.go start line: 26 end line: 39 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 226 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 44 end line: 55 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 227 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 391 end line: 402 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 228 unit: func SetupCollectorWebhook() file: apis/v1alpha1/collector_webhook.go start line: 342 end line: 353 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 229 unit: func SetupInstrumentationWebhook() file: apis/v1alpha1/instrumentation_webhook.go start line: 314 end line: 325 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 230 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 46 end line: 57 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 231 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 489 end line: 500 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 232 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 745 end line: 756 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 233 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 919 end line: 930 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 234 unit: func mapToValue() file: pkg/sidecar/attributes.go start line: 85 end line: 99 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 235 unit: func() file: pkg/sidecar/podmutator.go start line: 144 end line: 155 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 236 unit: func chainCallbacks() file: pkg/instrumentation/auto/callback.go start line: 24 end line: 35 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 237 unit: func tlsConfigSetting() file: main.go start line: 381 end line: 395 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 238 unit: func NewZipkinReceiverParser() file: internal/manifests/collector/parser/receiver/receiver_zipkin.go start line: 16 end line: 27 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 239 unit: func mutateDaemonset() file: internal/manifests/mutate.go start line: 256 end line: 270 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 240 unit: func hasImmutableFieldChange() file: internal/manifests/mutate.go start line: 314 end line: 327 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 241 unit: func MakeNNewTargetsWithEmptyCollectors() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/allocatortest.go start line: 49 end line: 60 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 242 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 88 end line: 100 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1216 end line: 1226 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 244 unit: func() file: pkg/sidecar/podmutator.go start line: 157 end line: 167 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 245 unit: func() file: pkg/sidecar/podmutator.go start line: 169 end line: 179 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 246 unit: func NewMutator() file: pkg/instrumentation/podmutator.go start line: 195 end line: 205 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 247 unit: func() file: pkg/instrumentation/auto/callback.go start line: 48 end line: 59 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 248 unit: func getResources() file: pkg/instrumentation/auto/annotation.go start line: 148 end line: 158 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 249 unit: func newMutatorBuilder() file: pkg/instrumentation/auto/annotation.go start line: 193 end line: 203 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 250 unit: func() file: controllers/amazoncloudwatchagent_controller.go start line: 193 end line: 204 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 251 unit: func setLangEnvVarsForResource() file: main.go start line: 86 end line: 96 size: 11 LOC McCabe index: 4 number of parameters: 3 id: 252 unit: func setLangEnvVars() file: main.go start line: 98 end line: 108 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 253 unit: func PortName() file: internal/naming/port.go start line: 24 end line: 38 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 254 unit: func Annotations() file: internal/manifests/dcgmexporter/annotations.go start line: 14 end line: 30 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 255 unit: func ServiceAccount() file: internal/manifests/dcgmexporter/serviceaccount.go start line: 26 end line: 37 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 256 unit: func containerPortsToServicePortList() file: internal/manifests/collector/service.go start line: 115 end line: 125 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 257 unit: func ReplaceOtelConfig() file: internal/manifests/collector/config_replace.go start line: 95 end line: 106 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 258 unit: func createProbeFromExtension() file: internal/manifests/collector/adapters/config_to_probe.go start line: 90 end line: 100 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 259 unit: func Annotations() file: internal/manifests/neuronmonitor/annotations.go start line: 14 end line: 30 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 260 unit: func ServiceAccount() file: internal/manifests/neuronmonitor/serviceaccount.go start line: 26 end line: 37 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 261 unit: func NewClient() file: cmd/amazon-cloudwatch-agent-target-allocator/collector/collector.go start line: 42 end line: 53 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 262 unit: func MakeNCollectors() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/allocatortest.go start line: 37 end line: 47 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 263 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 218 end line: 228 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 264 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 594 end line: 603 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 265 unit: func() file: apis/v1alpha1/prometheus_config.go start line: 19 end line: 28 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 266 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1267 end line: 1276 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 267 unit: func getApacheConfDir() file: pkg/instrumentation/apachehttpd.go start line: 267 end line: 276 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 268 unit: func prepareCommandFromTemplate() file: pkg/instrumentation/nginx.go start line: 332 end line: 343 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 269 unit: func getJmxTargetSystems() file: pkg/instrumentation/podmutator.go start line: 440 end line: 449 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 270 unit: func() file: pkg/instrumentation/annotationmutator.go start line: 20 end line: 29 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 271 unit: func() file: pkg/instrumentation/sdk.go start line: 227 end line: 236 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 272 unit: func() file: controllers/dcgmexporter_controller.go start line: 36 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: func NewDcgmExporterReconciler() file: controllers/dcgmexporter_controller.go start line: 48 end line: 57 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: func() file: controllers/dcgmexporter_controller.go start line: 130 end line: 140 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: func() file: controllers/amazoncloudwatchagent_controller.go start line: 119 end line: 128 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 276 unit: func NewReconciler() file: controllers/amazoncloudwatchagent_controller.go start line: 131 end line: 140 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 277 unit: func() file: controllers/neuronmonitor_controller.go start line: 36 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 278 unit: func NewNeuronMonitorReconciler() file: controllers/neuronmonitor_controller.go start line: 48 end line: 57 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: func() file: controllers/neuronmonitor_controller.go start line: 129 end line: 139 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 280 unit: func() file: internal/config/change_handler.go start line: 37 end line: 46 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 281 unit: func portMapToContainerPortList() file: internal/manifests/collector/container.go start line: 161 end line: 170 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 282 unit: func NewStatsdReceiverParser() file: internal/manifests/collector/parser/receiver/receiver_statsd.go start line: 16 end line: 25 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 283 unit: func NewAWSXrayReceiverParser() file: internal/manifests/collector/parser/receiver/receiver_aws-xray.go start line: 16 end line: 25 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 284 unit: func PortMapToServicePortList() file: internal/manifests/collector/ports.go start line: 56 end line: 65 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 285 unit: func getApplicationSignalsReceiversServicePorts() file: internal/manifests/collector/ports.go start line: 289 end line: 299 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 286 unit: func extractProbeConfigurationFromExtension() file: internal/manifests/collector/adapters/config_to_probe.go start line: 102 end line: 111 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 287 unit: func convertLabelToPromLabelSet() file: cmd/amazon-cloudwatch-agent-target-allocator/prehook/relabel.go start line: 28 end line: 37 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 288 unit: func unmarshal() file: cmd/amazon-cloudwatch-agent-target-allocator/config/config.go start line: 152 end line: 162 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 289 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 247 end line: 257 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 290 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 237 end line: 245 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 291 unit: func() file: apis/v1alpha1/prometheus_config.go start line: 78 end line: 86 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 292 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 250 end line: 258 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 293 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 591 end line: 599 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 294 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1031 end line: 1039 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 295 unit: func getContainerIndex() file: pkg/instrumentation/sdk.go start line: 214 end line: 225 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 296 unit: func NewWebhookHandler() file: internal/webhook/podmutation/webhookhandler.go start line: 49 end line: 57 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 297 unit: func extractPortNumbersAndNames() file: internal/manifests/collector/service.go start line: 153 end line: 163 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 298 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/prehook/relabel.go start line: 82 end line: 91 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 299 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 81 end line: 89 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 300 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 265 end line: 273 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 301 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 276 end line: 284 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 302 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/file.go start line: 41 end line: 49 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 303 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 26 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 304 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 58 end line: 65 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 305 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 227 end line: 234 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 306 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 248 end line: 255 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 307 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 283 end line: 290 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 308 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 311 end line: 318 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 309 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 326 end line: 333 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 310 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 354 end line: 361 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 311 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 373 end line: 380 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 312 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 405 end line: 412 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 313 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 450 end line: 457 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 314 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 465 end line: 472 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 315 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 493 end line: 500 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 316 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 528 end line: 535 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 317 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 556 end line: 563 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 318 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 584 end line: 591 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 319 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 606 end line: 613 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 320 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 621 end line: 628 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 321 unit: func() file: apis/v1alpha1/prometheus_config.go start line: 31 end line: 38 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 322 unit: func() file: apis/v1alpha1/prometheus_config.go start line: 44 end line: 51 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 323 unit: func() file: apis/v1alpha1/prometheus_config.go start line: 89 end line: 96 size: 8 LOC McCabe index: 6 number of parameters: 1 id: 324 unit: func() file: apis/v1alpha1/instrumentation_webhook.go start line: 266 end line: 273 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 325 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 28 end line: 35 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 326 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 60 end line: 67 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 327 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 240 end line: 247 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 328 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 261 end line: 268 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 329 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 321 end line: 328 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 330 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 355 end line: 362 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 331 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 390 end line: 397 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 332 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 437 end line: 444 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 333 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 452 end line: 459 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 334 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 471 end line: 478 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 335 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 503 end line: 510 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 336 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 581 end line: 588 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 337 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 602 end line: 609 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 338 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 630 end line: 637 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 339 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 645 end line: 652 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 340 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 673 end line: 680 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 341 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 708 end line: 715 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 342 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 727 end line: 734 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 343 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 759 end line: 766 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 344 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 804 end line: 811 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 345 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 819 end line: 826 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 346 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 847 end line: 854 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 347 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 857 end line: 864 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 348 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 867 end line: 874 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 349 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 882 end line: 889 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 350 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 901 end line: 908 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 351 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 933 end line: 940 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 352 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1021 end line: 1028 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 353 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1042 end line: 1049 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 354 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1077 end line: 1084 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 355 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1105 end line: 1112 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 356 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1121 end line: 1128 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 357 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1136 end line: 1143 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 358 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1161 end line: 1168 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 359 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1206 end line: 1213 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 360 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1229 end line: 1236 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 361 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1257 end line: 1264 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 362 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1279 end line: 1286 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 363 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1294 end line: 1301 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 364 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1309 end line: 1316 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 365 unit: func existsIn() file: pkg/sidecar/pod.go start line: 67 end line: 74 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 366 unit: func hasResourceAttributeEnvVar() file: pkg/sidecar/attributes.go start line: 102 end line: 109 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 367 unit: func findOwnerReferenceKind() file: pkg/sidecar/podmutator.go start line: 181 end line: 188 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 368 unit: func isApacheInitContainerMissing() file: pkg/instrumentation/apachehttpd.go start line: 182 end line: 189 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 369 unit: func isNginxInitContainerMissing() file: pkg/instrumentation/nginx.go start line: 258 end line: 265 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 370 unit: func getNginxConfDir() file: pkg/instrumentation/nginx.go start line: 314 end line: 321 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 371 unit: func getNginxConfFile() file: pkg/instrumentation/nginx.go start line: 323 end line: 330 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 372 unit: func GetAmazonCloudWatchAgentResource() file: pkg/instrumentation/podmutator.go start line: 425 end line: 434 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 373 unit: func() file: pkg/instrumentation/auto/annotation.go start line: 44 end line: 51 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 374 unit: func() file: pkg/instrumentation/auto/annotation.go start line: 54 end line: 61 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: func() file: pkg/instrumentation/auto/annotation.go start line: 111 end line: 118 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 376 unit: func() file: pkg/instrumentation/annotationmutator.go start line: 55 end line: 62 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 377 unit: func() file: pkg/instrumentation/sdk.go start line: 204 end line: 212 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 378 unit: func chooseServiceVersion() file: pkg/instrumentation/sdk.go start line: 396 end line: 404 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 379 unit: func createServiceInstanceId() file: pkg/instrumentation/sdk.go start line: 408 end line: 415 size: 8 LOC McCabe index: 4 number of parameters: 3 id: 380 unit: func getIndexOfEnv() file: pkg/instrumentation/sdk.go start line: 532 end line: 539 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 381 unit: func moveEnvToListEnd() file: pkg/instrumentation/sdk.go start line: 541 end line: 549 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 382 unit: func isInitContainerMissing() file: pkg/instrumentation/helper.go start line: 22 end line: 29 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 383 unit: func isNamespaceScoped() file: controllers/common.go start line: 35 end line: 42 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 384 unit: func NewGenericReceiverParser() file: internal/manifests/collector/parser/receiver/receiver_generic.go start line: 33 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 385 unit: func getAddressFromConfig() file: internal/manifests/collector/parser/receiver/receiver.go start line: 103 end line: 110 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 386 unit: func getServicePortsFromCWAgentConfig() file: internal/manifests/collector/ports.go start line: 126 end line: 135 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 387 unit: func isDuplicatePort() file: internal/manifests/collector/ports.go start line: 322 end line: 329 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 388 unit: func GetServicePortsFromCWAgentOtelConfig() file: internal/manifests/collector/adapters/config_to_ports.go start line: 67 end line: 75 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 389 unit: func extractPathFromExtensionConfig() file: internal/manifests/collector/adapters/config_to_probe.go start line: 120 end line: 127 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 390 unit: func SelectorLabels() file: internal/manifests/manifestutils/labels.go start line: 67 end line: 74 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 391 unit: func getConfigMapSHA() file: internal/manifests/targetallocator/annotations.go start line: 36 end line: 43 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 392 unit: func GetAllTargetsByJob() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 317 end line: 324 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 393 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 17 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 394 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 364 end line: 370 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 395 unit: func() file: apis/v1alpha1/collector_webhook.go start line: 40 end line: 46 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 396 unit: func() file: apis/v1alpha1/collector_webhook.go start line: 48 end line: 54 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 397 unit: func() file: apis/v1alpha1/collector_webhook.go start line: 56 end line: 62 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 398 unit: func() file: apis/v1alpha1/collector_webhook.go start line: 64 end line: 70 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 399 unit: func() file: apis/v1alpha1/instrumentation_webhook.go start line: 52 end line: 58 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 400 unit: func() file: apis/v1alpha1/instrumentation_webhook.go start line: 60 end line: 66 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 401 unit: func() file: apis/v1alpha1/instrumentation_webhook.go start line: 68 end line: 74 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 402 unit: func() file: apis/v1alpha1/instrumentation_webhook.go start line: 76 end line: 82 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 403 unit: func NewInstrumentationWebhook() file: apis/v1alpha1/instrumentation_webhook.go start line: 306 end line: 312 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 404 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 19 end line: 25 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 405 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 462 end line: 468 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 406 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 718 end line: 724 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 407 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 892 end line: 898 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 408 unit: func NewMutator() file: pkg/sidecar/podmutator.go start line: 37 end line: 43 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 409 unit: func NewTypeSet() file: pkg/instrumentation/annotationtype.go start line: 13 end line: 19 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 410 unit: func createPatch() file: pkg/instrumentation/auto/callback.go start line: 61 end line: 67 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 411 unit: func buildInjectAnnotations() file: pkg/instrumentation/auto/annotation.go start line: 223 end line: 229 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 412 unit: func stringFlagOrEnv() file: main.go start line: 78 end line: 84 size: 7 LOC McCabe index: 2 number of parameters: 5 id: 413 unit: func BuilderFor() file: internal/manifests/collector/parser/receiver/receiver.go start line: 25 end line: 32 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 414 unit: func getDNSPolicy() file: internal/manifests/collector/utils.go start line: 12 end line: 18 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 415 unit: func ConfigFromString() file: internal/manifests/collector/adapters/config_from.go start line: 22 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 416 unit: func ConfigFromJSONString() file: internal/manifests/collector/adapters/config_from.go start line: 31 end line: 38 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 417 unit: func ConfigStructFromJSONString() file: internal/manifests/collector/adapters/config_from.go start line: 122 end line: 129 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 418 unit: func isFilteredLabel() file: internal/manifests/manifestutils/labels.go start line: 15 end line: 21 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 419 unit: func SelectorLabelsForAllOperatorManaged() file: internal/manifests/manifestutils/labels.go start line: 76 end line: 82 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 420 unit: func mutateIngress() file: internal/manifests/mutate.go start line: 222 end line: 228 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 421 unit: func mutateService() file: internal/manifests/mutate.go start line: 248 end line: 254 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 422 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/prehook/relabel.go start line: 69 end line: 76 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 423 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/prehook/relabel.go start line: 93 end line: 99 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 424 unit: func New() file: cmd/amazon-cloudwatch-agent-target-allocator/prehook/prehook.go start line: 31 end line: 38 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 425 unit: func Register() file: cmd/amazon-cloudwatch-agent-target-allocator/prehook/prehook.go start line: 40 end line: 46 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 426 unit: func ValidateConfig() file: cmd/amazon-cloudwatch-agent-target-allocator/config/config.go start line: 211 end line: 217 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 427 unit: func Register() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go start line: 66 end line: 72 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 428 unit: func GetRegisteredAllocatorNames() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go start line: 74 end line: 80 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 429 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 259 end line: 265 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 430 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 308 end line: 314 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 431 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 36 end line: 41 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 432 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 68 end line: 73 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 433 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 383 end line: 388 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 434 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 415 end line: 420 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 435 unit: func() file: apis/v1alpha1/prometheus_config.go start line: 54 end line: 59 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 436 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 38 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 437 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 70 end line: 75 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 438 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 481 end line: 486 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 439 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 513 end line: 518 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 440 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 737 end line: 742 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 441 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 769 end line: 774 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 442 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 911 end line: 916 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 443 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 943 end line: 948 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 444 unit: func Flags() file: pkg/featuregate/featuregate.go start line: 94 end line: 99 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 445 unit: func buildAnnotations() file: pkg/instrumentation/auto/annotation.go start line: 215 end line: 220 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 446 unit: func isInstrWithContainers() file: pkg/instrumentation/helper.go start line: 102 end line: 108 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 447 unit: func isInstrWithoutContainers() file: pkg/instrumentation/helper.go start line: 111 end line: 117 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 448 unit: func volumeSize() file: pkg/instrumentation/helper.go start line: 119 end line: 124 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 449 unit: func init() file: main.go start line: 68 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 450 unit: func UpdateDcgmExporterStatus() file: internal/status/dcgmexporter/dcgmexporter.go start line: 15 end line: 21 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 451 unit: func UpdateNeuronMonitorStatus() file: internal/status/neuronmonitor/neuronmonitor.go start line: 15 end line: 20 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 452 unit: func NewWebhookHandler() file: internal/webhook/namespacemutation/webhookhandler.go start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 453 unit: func NewWebhookHandler() file: internal/webhook/workloadmutation/webhookhandler.go start line: 37 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 454 unit: func ServiceAccountName() file: internal/manifests/dcgmexporter/serviceaccount.go start line: 18 end line: 23 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 455 unit: func VolumeClaimTemplates() file: internal/manifests/collector/volumeclaim.go start line: 15 end line: 22 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 456 unit: func receiverType() file: internal/manifests/collector/parser/receiver/receiver.go start line: 133 end line: 143 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 457 unit: func defaultProbeConfiguration() file: internal/manifests/collector/adapters/config_to_probe.go start line: 113 end line: 118 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 458 unit: func ServiceAccountName() file: internal/manifests/collector/serviceaccount.go start line: 17 end line: 23 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 459 unit: func ServiceAccountName() file: internal/manifests/neuronmonitor/serviceaccount.go start line: 18 end line: 23 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 460 unit: func ServiceAccountName() file: internal/manifests/targetallocator/serviceaccount.go start line: 19 end line: 25 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 461 unit: func AmazonCloudWatchAgent() file: internal/version/main.go start line: 87 end line: 95 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 462 unit: func AutoInstrumentationJava() file: internal/version/main.go start line: 97 end line: 102 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 463 unit: func AutoInstrumentationNodeJS() file: internal/version/main.go start line: 104 end line: 109 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 464 unit: func AutoInstrumentationPython() file: internal/version/main.go start line: 111 end line: 116 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 465 unit: func AutoInstrumentationDotNet() file: internal/version/main.go start line: 118 end line: 123 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 466 unit: func AutoInstrumentationApacheHttpd() file: internal/version/main.go start line: 125 end line: 130 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 467 unit: func AutoInstrumentationNginx() file: internal/version/main.go start line: 132 end line: 137 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 468 unit: func AutoInstrumentationGo() file: internal/version/main.go start line: 139 end line: 144 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 469 unit: func DcgmExporter() file: internal/version/main.go start line: 146 end line: 152 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 470 unit: func NeuronMonitor() file: internal/version/main.go start line: 154 end line: 160 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 471 unit: func TargetAllocator() file: internal/version/main.go start line: 163 end line: 171 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 472 unit: func NewRelabelConfigTargetFilter() file: cmd/amazon-cloudwatch-agent-target-allocator/prehook/relabel.go start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 473 unit: func init() file: cmd/amazon-cloudwatch-agent-target-allocator/prehook/prehook.go start line: 48 end line: 53 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 474 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/config/config.go start line: 76 end line: 81 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 475 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/config/config.go start line: 83 end line: 88 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 476 unit: func colIndex() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/allocatortest.go start line: 15 end line: 20 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 477 unit: func New() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go start line: 59 end line: 64 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 478 unit: func init() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go start line: 113 end line: 118 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 479 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 271 end line: 276 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 480 unit: func getSelector() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go start line: 100 end line: 105 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 481 unit: func() file: pkg/instrumentation/auto/restart.go start line: 28 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 482 unit: func buildMutations() file: pkg/instrumentation/auto/annotation.go start line: 208 end line: 212 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 483 unit: func newOnChange() file: internal/config/change_handler.go start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 484 unit: func() file: internal/config/change_handler.go start line: 48 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 485 unit: func WithCollectorImage() file: internal/config/options.go start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 486 unit: func WithCollectorConfigMapEntry() file: internal/config/options.go start line: 44 end line: 48 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 487 unit: func WithOtelCollectorConfigMapEntry() file: internal/config/options.go start line: 49 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 488 unit: func WithTargetAllocatorConfigMapEntry() file: internal/config/options.go start line: 54 end line: 58 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 489 unit: func WithPrometheusConfigMapEntry() file: internal/config/options.go start line: 59 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 490 unit: func WithLogger() file: internal/config/options.go start line: 64 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 491 unit: func WithVersion() file: internal/config/options.go start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 492 unit: func WithAutoInstrumentationJavaImage() file: internal/config/options.go start line: 75 end line: 79 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 493 unit: func WithAutoInstrumentationNodeJSImage() file: internal/config/options.go start line: 81 end line: 85 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 494 unit: func WithAutoInstrumentationPythonImage() file: internal/config/options.go start line: 87 end line: 91 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 495 unit: func WithAutoInstrumentationDotNetImage() file: internal/config/options.go start line: 93 end line: 97 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 496 unit: func WithAutoInstrumentationGoImage() file: internal/config/options.go start line: 99 end line: 103 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 497 unit: func WithAutoInstrumentationApacheHttpdImage() file: internal/config/options.go start line: 105 end line: 109 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 498 unit: func WithAutoInstrumentationNginxImage() file: internal/config/options.go start line: 111 end line: 115 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 499 unit: func WithDcgmExporterImage() file: internal/config/options.go start line: 117 end line: 121 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 500 unit: func WithNeuronMonitorImage() file: internal/config/options.go start line: 123 end line: 127 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 501 unit: func WithTargetAllocatorImage() file: internal/config/options.go start line: 129 end line: 133 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 502 unit: func FactoryWithoutError[T client.Object]() file: internal/manifests/builder.go start line: 18 end line: 22 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 503 unit: func Factory[T client.Object]() file: internal/manifests/builder.go start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 504 unit: func mutateSecret() file: internal/manifests/mutate.go start line: 170 end line: 174 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 505 unit: func mutateClusterRole() file: internal/manifests/mutate.go start line: 186 end line: 190 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 506 unit: func mutateClusterRoleBinding() file: internal/manifests/mutate.go start line: 192 end line: 196 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 507 unit: func mutateRole() file: internal/manifests/mutate.go start line: 198 end line: 202 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 508 unit: func mutateRoleBinding() file: internal/manifests/mutate.go start line: 204 end line: 208 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 509 unit: func mutateAutoscalingHPA() file: internal/manifests/mutate.go start line: 210 end line: 214 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 510 unit: func mutatePolicyV1PDB() file: internal/manifests/mutate.go start line: 216 end line: 220 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 511 unit: func mutateRoute() file: internal/manifests/mutate.go start line: 230 end line: 234 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 512 unit: func mutateServiceMonitor() file: internal/manifests/mutate.go start line: 236 end line: 240 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 513 unit: func mutatePodMonitor() file: internal/manifests/mutate.go start line: 242 end line: 246 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 514 unit: func WithFilter() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go start line: 49 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 515 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1115 end line: 1118 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 516 unit: func reconcileDesiredObjects() file: controllers/common.go start line: 138 end line: 141 size: 4 LOC McCabe index: 1 number of parameters: 6 id: 517 unit: func init() file: internal/naming/triming.go start line: 16 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 518 unit: func trimNonAlphaNumeric() file: internal/naming/triming.go start line: 60 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 519 unit: func getConfigMapSHA() file: internal/manifests/dcgmexporter/annotations.go start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 520 unit: func getConfigMapSHA() file: internal/manifests/collector/annotations.go start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 521 unit: func For() file: internal/manifests/collector/parser/receiver/receiver.go start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 522 unit: func IsRegistered() file: internal/manifests/collector/parser/receiver/receiver.go start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 523 unit: func isScraperReceiver() file: internal/manifests/collector/parser/receiver/receiver.go start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 524 unit: func metricsEndpointsFromConfig() file: internal/manifests/collector/podmonitor.go start line: 68 end line: 71 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 525 unit: func mutateConfigMap() file: internal/manifests/mutate.go start line: 176 end line: 179 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 526 unit: func mutateServiceAccount() file: internal/manifests/mutate.go start line: 181 end line: 184 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 527 unit: func getConfigMapSHA() file: internal/manifests/neuronmonitor/annotations.go start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 528 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 122 end line: 125 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 529 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 127 end line: 130 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 530 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 132 end line: 135 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 531 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 137 end line: 140 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 532 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 303 end line: 306 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 533 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/promOperator.go start line: 205 end line: 208 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 534 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/file.go start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 535 unit: func init() file: apis/v1alpha2/amazoncloudwatchagent_types.go start line: 252 end line: 254 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 536 unit: func init() file: apis/v1alpha2/instrumentation_types.go start line: 312 end line: 314 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 537 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 321 end line: 323 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 538 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 460 end line: 462 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 539 unit: func() file: apis/v1alpha2/zz_generated.deepcopy.go start line: 616 end line: 618 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 540 unit: func init() file: apis/v1alpha1/amazoncloudwatchagent_types.go start line: 560 end line: 562 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 541 unit: func init() file: apis/v1alpha1/dcgmexpoter_types.go start line: 122 end line: 124 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 542 unit: func init() file: apis/v1alpha1/neuronmonitor_types.go start line: 141 end line: 143 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 543 unit: func init() file: apis/v1alpha1/instrumentation_types.go start line: 308 end line: 310 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 544 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 447 end line: 449 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 545 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 640 end line: 642 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 546 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 814 end line: 816 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 547 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 877 end line: 879 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 548 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1131 end line: 1133 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 549 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1289 end line: 1291 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 550 unit: func() file: apis/v1alpha1/zz_generated.deepcopy.go start line: 1304 end line: 1306 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 551 unit: func isWindowsPod() file: pkg/instrumentation/podmutator.go start line: 436 end line: 438 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 552 unit: func() file: pkg/instrumentation/auto/callback.go start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 553 unit: func getNamespaces() file: pkg/instrumentation/auto/config.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 554 unit: func getDeployments() file: pkg/instrumentation/auto/config.go start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: func getDaemonSets() file: pkg/instrumentation/auto/config.go start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 556 unit: func getStatefulSets() file: pkg/instrumentation/auto/config.go start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 557 unit: func() file: pkg/instrumentation/auto/annotation.go start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 558 unit: func namespacedName() file: pkg/instrumentation/auto/annotation.go start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 559 unit: func AnnotateKey() file: pkg/instrumentation/auto/annotation.go start line: 232 end line: 234 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 560 unit: func NewInsertAnnotationMutation() file: pkg/instrumentation/annotationmutator.go start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 561 unit: func NewRemoveAnnotationMutation() file: pkg/instrumentation/annotationmutator.go start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 562 unit: func NewAnnotationMutator() file: pkg/instrumentation/annotationmutator.go start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: func AnnotationKey() file: pkg/instrumentation/jmx/jmx.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 564 unit: func() file: internal/config/main.go start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 565 unit: func() file: internal/config/main.go start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: func() file: internal/config/main.go start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 567 unit: func() file: internal/config/main.go start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 568 unit: func() file: internal/config/main.go start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 569 unit: func() file: internal/config/main.go start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 570 unit: func() file: internal/config/main.go start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 571 unit: func() file: internal/config/main.go start line: 114 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 572 unit: func() file: internal/config/main.go start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 573 unit: func() file: internal/config/main.go start line: 124 end line: 126 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 574 unit: func() file: internal/config/main.go start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 575 unit: func() file: internal/config/main.go start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 576 unit: func() file: internal/config/main.go start line: 139 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 577 unit: func() file: internal/config/main.go start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 578 unit: func() file: internal/config/main.go start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 579 unit: func ConfigMap() file: internal/naming/main.go start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 580 unit: func TAConfigMap() file: internal/naming/main.go start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 581 unit: func PrometheusConfigMap() file: internal/naming/main.go start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 582 unit: func ConfigMapVolume() file: internal/naming/main.go start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 583 unit: func ConfigMapExtra() file: internal/naming/main.go start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 584 unit: func TAConfigMapVolume() file: internal/naming/main.go start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 585 unit: func TASecretVolume() file: internal/naming/main.go start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 586 unit: func PrometheusConfigMapVolume() file: internal/naming/main.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 587 unit: func Container() file: internal/naming/main.go start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 588 unit: func TAContainer() file: internal/naming/main.go start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 589 unit: func Collector() file: internal/naming/main.go start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 590 unit: func HorizontalPodAutoscaler() file: internal/naming/main.go start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 591 unit: func PodDisruptionBudget() file: internal/naming/main.go start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 592 unit: func AmazonCloudWatchAgent() file: internal/naming/main.go start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 593 unit: func AmazonCloudWatchAgentName() file: internal/naming/main.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 594 unit: func TargetAllocator() file: internal/naming/main.go start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 595 unit: func HeadlessService() file: internal/naming/main.go start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 596 unit: func MonitoringService() file: internal/naming/main.go start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 597 unit: func Service() file: internal/naming/main.go start line: 96 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 598 unit: func Ingress() file: internal/naming/main.go start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 599 unit: func Route() file: internal/naming/main.go start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 600 unit: func TAService() file: internal/naming/main.go start line: 111 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 601 unit: func TAPodDestination() file: internal/naming/main.go start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 602 unit: func ServiceAccount() file: internal/naming/main.go start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 603 unit: func ServiceMonitor() file: internal/naming/main.go start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 604 unit: func PodMonitor() file: internal/naming/main.go start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 605 unit: func ObjectIsNotNil() file: internal/manifests/builder.go start line: 33 end line: 35 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 606 unit: func() file: internal/manifests/collector/parser/receiver/receiver_jaeger.go start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 607 unit: func init() file: internal/manifests/collector/parser/receiver/receiver_jaeger.go start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 608 unit: func() file: internal/manifests/collector/parser/receiver/receiver_otlp.go start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 609 unit: func init() file: internal/manifests/collector/parser/receiver/receiver_otlp.go start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 610 unit: func init() file: internal/manifests/collector/parser/receiver/receiver_statsd.go start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 611 unit: func() file: internal/manifests/collector/parser/receiver/receiver_generic.go start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 612 unit: func Register() file: internal/manifests/collector/parser/receiver/receiver.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 613 unit: func init() file: internal/manifests/collector/parser/receiver/receiver_zipkin.go start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 614 unit: func init() file: internal/manifests/collector/parser/receiver/receiver_aws-xray.go start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 615 unit: func endpointsFromConfig() file: internal/manifests/collector/servicemonitor.go start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 616 unit: func isAppSignalEnabledMetrics() file: internal/manifests/collector/ports.go start line: 137 end line: 139 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 617 unit: func isAppSignalEnabledTraces() file: internal/manifests/collector/ports.go start line: 141 end line: 143 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 618 unit: func() file: internal/manifests/collector/adapters/config_to_ports.go start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 619 unit: func defaultHealthCheckEndpoint() file: internal/manifests/collector/adapters/config_to_probe.go start line: 145 end line: 147 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 620 unit: func mergeWithOverride() file: internal/manifests/mutate.go start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 621 unit: func errorNoComponent() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 622 unit: func errorNotAMapAtIndex() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 623 unit: func errorNotAMap() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 624 unit: func errorNotAList() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 625 unit: func errorNotAListAtIndex() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 626 unit: func errorNotAStringAtIndex() file: internal/manifests/targetallocator/adapters/config_to_prom_config.go start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 627 unit: func NewChanges[T Hasher]() file: cmd/amazon-cloudwatch-agent-target-allocator/diff/diff.go start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 628 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/diff/diff.go start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 629 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/diff/diff.go start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 630 unit: func getConfigFilePath() file: cmd/amazon-cloudwatch-agent-target-allocator/config/flags.go start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 631 unit: func getKubeConfigFilePath() file: cmd/amazon-cloudwatch-agent-target-allocator/config/flags.go start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 632 unit: func getConfigReloadEnabled() file: cmd/amazon-cloudwatch-agent-target-allocator/config/flags.go start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 633 unit: func getHttpsListenAddr() file: cmd/amazon-cloudwatch-agent-target-allocator/config/flags.go start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 634 unit: func getHttpsEnabled() file: cmd/amazon-cloudwatch-agent-target-allocator/config/flags.go start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 635 unit: func getHttpsCAFilePath() file: cmd/amazon-cloudwatch-agent-target-allocator/config/flags.go start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 636 unit: func getHttpsTLSCertFilePath() file: cmd/amazon-cloudwatch-agent-target-allocator/config/flags.go start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 637 unit: func getHttpsTLSKeyFilePath() file: cmd/amazon-cloudwatch-agent-target-allocator/config/flags.go start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 638 unit: func LoadFromFile() file: cmd/amazon-cloudwatch-agent-target-allocator/config/config.go start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 639 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/collector/collector.go start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 640 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 641 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/consistent_hashing.go start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 642 unit: func RecordTargetsKept() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 643 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 644 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 645 unit: func NewCollector() file: cmd/amazon-cloudwatch-agent-target-allocator/allocation/strategy.go start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 646 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/server/server.go start line: 267 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 647 unit: func() file: cmd/amazon-cloudwatch-agent-target-allocator/watcher/watcher.go start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 648 unit: func() file: internal/config/main.go start line: 149 end line: 149 size: 1 LOC McCabe index: 1 number of parameters: 1