Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upImprove log messages during 2.0 startup #2680
Comments
grobie
added
the
dev-2.0
label
May 5, 2017
This comment has been minimized.
This comment has been minimized.
|
What do you expect it to log? We don't log anything related to SD/relabelling currently in 1.6 at startup. |
This comment has been minimized.
This comment has been minimized.
|
Anything telling me what it's doing right now instead of locking up for tens of seconds. |
This comment has been minimized.
This comment has been minimized.
|
Fixed in #2844? So the main thing I observed that took time during startup is the reading of WAL by the tsdb. I added a couple of lines, specifically:
|
This comment has been minimized.
This comment has been minimized.
ghost
commented
Jun 15, 2017
|
Hello, So where can i add the lines which you added.
Srikanth
…On Thu, Jun 15, 2017 at 6:09 AM, Goutham Veeramachaneni < ***@***.***> wrote:
Fixed in #2844 <#2844>? So
the main thing I observed that took time during startup is the reading of
WAL by the tsdb.
I added a couple of lines, specifically:
INFO[0000] Starting prometheus (version=, branch=, revision=) source="main.go:193"
INFO[0000] Build context (go=go1.8.1, user=, date=) source="main.go:194"
INFO[0000] Host details (linux) source="main.go:195"
INFO[0000] Starting tsdb source="main.go:207" <---------------
INFO[0015] tsdb started source="main.go:213" <---------------
INFO[0015] Loading configuration file prometheus.yml source="main.go:340"
INFO[0015] Starting target manager... source="targetmanager.go:67"
INFO[0015] Listening on :9090 source="web.go:260"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2680 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AcFE9XdZf33CLFazTaI_bXZvZ4PMOFXiks5sES0GgaJpZM4NR4Qs>
.
|
This comment has been minimized.
This comment has been minimized.
|
Closing this as tsdb startup is the main contributor to the start time and logs now show that. |
gouthamve
closed this
Jul 5, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
grobie commentedMay 5, 2017
Prometheus 2.0 doesn't log anything useful during a startup of a bit more complex config (k8s_sd, dns_sd, lot's of relabeling).