id: 1 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_cli.go start line: 187 end line: 256 size: 60 LOC McCabe index: 12 number of parameters: 1 id: 2 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_cli.go start line: 64 end line: 122 size: 52 LOC McCabe index: 10 number of parameters: 1 id: 3 unit: func createAll() file: sample-apps/prometheus-sample-app/metrics/metrics_cli.go start line: 147 end line: 183 size: 33 LOC McCabe index: 8 number of parameters: 3 id: 4 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 153 end line: 171 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 5 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 136 end line: 150 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 6 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 85 end line: 101 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 7 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 104 end line: 117 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 8 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 120 end line: 133 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 9 unit: func generateLabels() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 175 end line: 185 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 10 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 52 end line: 61 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 64 end line: 73 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: func updateLoop() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 75 end line: 83 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 13 unit: func datapointLabels() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 188 end line: 196 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 14 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 32 end line: 39 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 42 end line: 49 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 16 unit: func createCounter() file: sample-apps/prometheus-sample-app/metrics/metrics_cli.go start line: 124 end line: 127 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 17 unit: func createGauge() file: sample-apps/prometheus-sample-app/metrics/metrics_cli.go start line: 129 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 18 unit: func createHistogram() file: sample-apps/prometheus-sample-app/metrics/metrics_cli.go start line: 134 end line: 138 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 19 unit: func createSummary() file: sample-apps/prometheus-sample-app/metrics/metrics_cli.go start line: 140 end line: 143 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 20 unit: func main() file: sample-apps/prometheus-sample-app/main.go start line: 7 end line: 11 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 21 unit: func() file: sample-apps/prometheus-sample-app/metrics/metrics_cli.go start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: func healthCheckHandler() file: sample-apps/prometheus-sample-app/metrics/metrics_cli.go start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 23 unit: func newMetricCollector() file: sample-apps/prometheus-sample-app/metrics/metrics_collector.go start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0