docker run prometheus

1 개요[ | ]

docker run prometheus
$ docker run -d -p9090:9090 --name prometheus prom/prometheus
Unable to find image 'prom/prometheus:latest' locally
latest: Pulling from prom/prometheus
e5d9363303dd: Pull complete
3430c2c42129: Pull complete
7631b5d56c90: Pull complete
343e06690c48: Pull complete
dc32e90574e9: Pull complete
a6d5d01cd646: Pull complete
832428480103: Pull complete
83e775ff1768: Pull complete
1ec97f567836: Pull complete
0cdf5b797911: Pull complete
eb7d1f2acc9f: Pull complete
541ffe559bd5: Pull complete
Digest: sha256:38d40a760569b1c5aec4a36e8a7f11e86299e9191b9233672a5d41296d8fa74e
Status: Downloaded newer image for prom/prometheus:latest
893b63fcaea0290dc2974bcfb5e1283ee0a8f9d501610f226513f532c69a4d61
root@wsl:~# docker ps -a
CONTAINER ID   IMAGE             COMMAND                  CREATED          STATUS          PORTS
           NAMES
61c87b105c5b   prom/prometheus   "/bin/prometheus --c…"   56 seconds ago   Up 55 seconds   0.0.0.0:9090->9090/tcp, :::9090->9090/tcp   prometheus
root@wsl:~# docker logs prometheus
ts=2023-03-09T01:22:43.033Z caller=main.go:512 level=info msg="No time or size retention was set so using the default time retention" duration=15d
ts=2023-03-09T01:22:43.033Z caller=main.go:556 level=info msg="Starting Prometheus Server" mode=server version="(version=2.42.0, branch=HEAD, revision=225c61122d88b01d1f0eaaee0e05b6f3e0567ac0)"
ts=2023-03-09T01:22:43.033Z caller=main.go:561 level=info build_context="(go=go1.19.5, platform=linux/amd64, user=root@c67d48967507, date=20230201-07:53:32)"
ts=2023-03-09T01:22:43.033Z caller=main.go:562 level=info host_details="(Linux 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 4571077457da samsungsds-ad.net)"
ts=2023-03-09T01:22:43.033Z caller=main.go:563 level=info fd_limits="(soft=1048576, hard=1048576)"
ts=2023-03-09T01:22:43.033Z caller=main.go:564 level=info vm_limits="(soft=unlimited, hard=unlimited)"
ts=2023-03-09T01:22:43.034Z caller=web.go:561 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090
ts=2023-03-09T01:22:43.035Z caller=main.go:993 level=info msg="Starting TSDB ..."
ts=2023-03-09T01:22:43.035Z caller=tls_config.go:232 level=info component=web msg="Listening on" address=[::]:9090
ts=2023-03-09T01:22:43.035Z caller=tls_config.go:235 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090
ts=2023-03-09T01:22:43.038Z caller=head.go:564 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any"
ts=2023-03-09T01:22:43.038Z caller=head.go:608 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.571µs
ts=2023-03-09T01:22:43.038Z caller=head.go:614 level=info component=tsdb msg="Replaying WAL, this may take a while"
ts=2023-03-09T01:22:43.038Z caller=head.go:685 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0
ts=2023-03-09T01:22:43.038Z caller=head.go:722 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=15.698µs wal_replay_duration=195.821µs wbl_replay_duration=128ns total_replay_duration=225.277µs
ts=2023-03-09T01:22:43.038Z caller=main.go:1014 level=info fs_type=EXT4_SUPER_MAGIC
ts=2023-03-09T01:22:43.038Z caller=main.go:1017 level=info msg="TSDB started"
ts=2023-03-09T01:22:43.038Z caller=main.go:1197 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml
ts=2023-03-09T01:22:43.039Z caller=main.go:1234 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=398.728µs db_storage=805ns remote_storage=1.098µs web_handler=396ns query_engine=462ns scrape=197.879µs scrape_sd=27.08µs notify=17.628µs notify_sd=5.567µs rules=890ns tracing=4.339µs
ts=2023-03-09T01:22:43.039Z caller=main.go:978 level=info msg="Server is ready to receive web requests."
ts=2023-03-09T01:22:43.039Z caller=manager.go:974 level=info component="rule manager" msg="Starting rule manager..."

2 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}