Path	Lines of Code
cmd/prometheus/main.go	675
cmd/promtool/archive.go	49
cmd/promtool/debug.go	47
cmd/promtool/main.go	556
cmd/promtool/unittest.go	414
config/config.go	468
consoles/node-cpu.html	56
consoles/node-disk.html	72
consoles/node-overview.html	115
consoles/node.html	28
consoles/prometheus-overview.html	89
consoles/prometheus.html	29
discovery/azure/azure.go	407
discovery/config/config.go	94
discovery/consul/consul.go	403
discovery/dns/dns.go	222
discovery/ec2/ec2.go	210
discovery/file/file.go	310
discovery/gce/gce.go	158
discovery/kubernetes/client_metrics.go	151
discovery/kubernetes/endpoints.go	288
discovery/kubernetes/ingress.go	167
discovery/kubernetes/kubernetes.go	301
discovery/kubernetes/node.go	176
discovery/kubernetes/pod.go	212
discovery/kubernetes/service.go	151
discovery/manager.go	354
discovery/marathon/marathon.go	333
discovery/openstack/hypervisor.go	72
discovery/openstack/instance.go	165
discovery/openstack/openstack.go	134
discovery/refresh/refresh.go	92
discovery/targetgroup/targetgroup.go	63
discovery/triton/triton.go	155
discovery/zookeeper/zookeeper.go	236
notifier/notifier.go	570
pkg/exemplar/exemplar.go	8
pkg/gate/gate.go	25
pkg/labels/labels.go	302
pkg/labels/matcher.go	81
pkg/logging/dedupe.go	93
pkg/logging/file.go	36
pkg/logging/ratelimit.go	21
pkg/modtimevfs/modtimevfs.go	40
pkg/pool/pool.go	58
pkg/relabel/relabel.go	197
pkg/rulefmt/rulefmt.go	226
pkg/runtime/limits_default.go	23
pkg/runtime/limits_windows.go	7
pkg/runtime/statfs.go	4
pkg/runtime/statfs_default.go	61
pkg/runtime/statfs_linux_386.go	57
pkg/runtime/statfs_uint32.go	57
pkg/runtime/uname_default.go	5
pkg/runtime/uname_linux.go	19
pkg/runtime/vmlimits_default.go	7
pkg/runtime/vmlimits_openbsd.go	7
pkg/textparse/interface.go	43
pkg/textparse/openmetricslex.l	66
pkg/textparse/openmetricslex.l.go	672
pkg/textparse/openmetricsparse.go	360
pkg/textparse/promlex.l	85
pkg/textparse/promlex.l.go	485
pkg/textparse/promparse.go	326
pkg/timestamp/timestamp.go	8
pkg/value/value.go	11
prompb/remote.pb.go	1572
prompb/remote.proto	70
prompb/rpc.pb.go	1295
prompb/rpc.pb.gw.go	140
prompb/rpc.proto	61
prompb/types.pb.go	2259
prompb/types.proto	73
promql/ast.go	271
promql/engine.go	1658
promql/functions.go	989
promql/fuzz.go	47
promql/generated_parser.y	616
promql/generated_parser.y.go	1347
promql/lex.go	648
promql/parse.go	491
promql/printer.go	131
promql/quantile.go	102
promql/query_logger.go	147
promql/value.go	229
rules/alerting.go	382
rules/fixtures/rules.yaml	5
rules/fixtures/rules2.yaml	5
rules/manager.go	769
rules/recording.go	136
scrape/manager.go	285
scrape/scrape.go	1096
scrape/target.go	332
scripts/tools.go	7
storage/buffer.go	190
storage/fanout.go	475
storage/interface.go	63
storage/noop.go	51
storage/remote/chunked.go	89
storage/remote/client.go	136
storage/remote/codec.go	431
storage/remote/ewma.go	40
storage/remote/intern.go	69
storage/remote/max_gauge.go	23
storage/remote/queue_manager.go	724
storage/remote/read.go	192
storage/remote/storage.go	128
storage/remote/write.go	170
storage/tsdb/tsdb.go	231
template/template.go	310
tsdb/block.go	421
tsdb/chunkenc/bstream.go	120
tsdb/chunkenc/chunk.go	90
tsdb/chunkenc/xor.go	281
tsdb/chunks/chunks.go	457
tsdb/cmd/tsdb/main.go	549
tsdb/compact.go	813
tsdb/db.go	1043
tsdb/encoding/encoding.go	214
tsdb/errors/errors.go	35
tsdb/fileutil/dir.go	18
tsdb/fileutil/dir_unix.go	3
tsdb/fileutil/dir_windows.go	26
tsdb/fileutil/fileutil.go	111
tsdb/fileutil/flock.go	17
tsdb/fileutil/flock_plan9.go	15
tsdb/fileutil/flock_solaris.go	39
tsdb/fileutil/flock_unix.go	34
tsdb/fileutil/flock_windows.go	19
tsdb/fileutil/mmap.go	38
tsdb/fileutil/mmap_386.go	2
tsdb/fileutil/mmap_amd64.go	2
tsdb/fileutil/mmap_unix.go	11
tsdb/fileutil/mmap_windows.go	27
tsdb/fileutil/preallocate.go	31
tsdb/fileutil/preallocate_darwin.go	24
tsdb/fileutil/preallocate_linux.go	25
tsdb/fileutil/preallocate_other.go	6
tsdb/fileutil/sync.go	5
tsdb/fileutil/sync_darwin.go	7
tsdb/fileutil/sync_linux.go	8
tsdb/goversion/goversion.go	2
tsdb/goversion/init.go	2
tsdb/head.go	1458
tsdb/index/index.go	1343
tsdb/index/postings.go	564
tsdb/index/postingsstats.go	47
tsdb/querier.go	965
tsdb/record/record.go	160
tsdb/repair.go	102
tsdb/tombstones/tombstones.go	243
tsdb/tsdbblockutil.go	59
tsdb/tsdbutil/buffer.go	158
tsdb/tsdbutil/chunks.go	32
tsdb/wal.go	1009
tsdb/wal/checkpoint.go	200
tsdb/wal/live_reader.go	209
tsdb/wal/reader.go	137
tsdb/wal/wal.go	651
tsdb/wal/watcher.go	462
util/httputil/compression.go	63
util/httputil/context.go	29
util/httputil/cors.go	27
util/promlint/promlint.go	253
util/stats/query_stats.go	113
util/stats/timer.go	69
util/strutil/quote.go	169
util/strutil/strconv.go	20
util/teststorage/storage.go	34
util/testutil/context.go	18
util/testutil/directory.go	105
util/testutil/logging.go	15
util/testutil/roundtrip.go	26
util/treecache/treecache.go	254
web/api/v1/api.go	1244
web/api/v2/api.go	164
web/federate.go	188
web/ui/assets_generate.go	19
web/ui/doc.go	6
web/ui/react-app/public/index.html	19
web/ui/react-app/src/App.css	203
web/ui/react-app/src/App.tsx	14
web/ui/react-app/src/Navbar.tsx	73
web/ui/react-app/src/components/Checkbox.tsx	13
web/ui/react-app/src/components/ToggleMoreLess.tsx	26
web/ui/react-app/src/components/withStatusIndicator.tsx	40
web/ui/react-app/src/globals.ts	3
web/ui/react-app/src/hooks/useFetch.ts	30
web/ui/react-app/src/hooks/useLocalStorage.tsx	10
web/ui/react-app/src/index.tsx	11
web/ui/react-app/src/pages/alerts/AlertContents.tsx	122
web/ui/react-app/src/pages/alerts/Alerts.tsx	23
web/ui/react-app/src/pages/alerts/CollapsibleAlertPanel.tsx	116
web/ui/react-app/src/pages/config/Config.css	10
web/ui/react-app/src/pages/config/Config.tsx	42
web/ui/react-app/src/pages/flags/Flags.tsx	36
web/ui/react-app/src/pages/graph/DataTable.tsx	116
web/ui/react-app/src/pages/graph/ExpressionInput.tsx	174
web/ui/react-app/src/pages/graph/Graph.tsx	124
web/ui/react-app/src/pages/graph/GraphControls.tsx	132
web/ui/react-app/src/pages/graph/GraphHelpers.ts	168
web/ui/react-app/src/pages/graph/GraphTabContent.tsx	25
web/ui/react-app/src/pages/graph/Legend.tsx	65
web/ui/react-app/src/pages/graph/Panel.tsx	285
web/ui/react-app/src/pages/graph/PanelList.tsx	128
web/ui/react-app/src/pages/graph/QueryStatsView.css	5
web/ui/react-app/src/pages/graph/QueryStatsView.tsx	18
web/ui/react-app/src/pages/graph/SeriesName.tsx	40
web/ui/react-app/src/pages/graph/TimeInput.tsx	116
web/ui/react-app/src/pages/index.ts	10
web/ui/react-app/src/pages/rules/Rules.tsx	10
web/ui/react-app/src/pages/rules/RulesContent.tsx	122
web/ui/react-app/src/pages/serviceDiscovery/LabelsTable.tsx	61
web/ui/react-app/src/pages/serviceDiscovery/Services.tsx	102
web/ui/react-app/src/pages/status/Status.tsx	102
web/ui/react-app/src/pages/targets/EndpointLink.tsx	33
web/ui/react-app/src/pages/targets/Filter.module.css	4
web/ui/react-app/src/pages/targets/Filter.tsx	32
web/ui/react-app/src/pages/targets/ScrapePoolList.tsx	52
web/ui/react-app/src/pages/targets/ScrapePoolPanel.module.css	35
web/ui/react-app/src/pages/targets/ScrapePoolPanel.tsx	77
web/ui/react-app/src/pages/targets/TargetLabels.module.css	3
web/ui/react-app/src/pages/targets/TargetLabels.tsx	41
web/ui/react-app/src/pages/targets/Targets.tsx	19
web/ui/react-app/src/pages/targets/__testdata__/testdata.ts	211
web/ui/react-app/src/pages/targets/target.ts	47
web/ui/react-app/src/pages/tsdbStatus/TSDBStatus.tsx	80
web/ui/react-app/src/setupTests.ts	8
web/ui/react-app/src/types/PathPrefixProps.ts	4
web/ui/react-app/src/types/types.ts	23
web/ui/react-app/src/utils/index.ts	175
web/ui/static/css/alerts.css	24
web/ui/static/css/config.css	13
web/ui/static/css/graph.css	172
web/ui/static/css/prom_console.css	177
web/ui/static/css/prometheus.css	23
web/ui/static/css/rules.css	12
web/ui/static/css/targets.css	36
web/ui/static/js/alerts.js	59
web/ui/static/js/config.js	11
web/ui/static/js/graph/index.js	1023
web/ui/static/js/prom_console.js	590
web/ui/static/js/targets.js	57
web/ui/templates/_base.html	58
web/ui/templates/alerts.html	93
web/ui/templates/config.html	10
web/ui/templates/flags.html	16
web/ui/templates/graph.html	31
web/ui/templates/rules.html	53
web/ui/templates/service-discovery.html	72
web/ui/templates/status.html	171
web/ui/templates/targets.html	69
web/ui/ui.go	44
web/web.go	940
