question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Application uptime placeholder

See original GitHub issue

It could be great to have a placeholder that represents the current uptime of application, e.g. {uptime}. The init time may be the same as the logger initialization time.

Even if you don’t like this proposal, it might be solved by the posiblity of being able to register custom placeholder.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pmwmediacommented, Jan 1, 2020

API for plain Java: java.lang.management.ManagementFactory.getRuntimeMXBean().getUptime()

API for Android: android.os.SystemClock.uptimeMillis()

0reactions
github-actions[bot]commented, Oct 9, 2022

This closed issue has been locked automatically. However, please feel free to file a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Placeholder: %server_uptime% brings up an internal error ...
Issue: Parsing the previously working placeholder for the Server Expansion "%server_uptime%" produces an error in the server log: [09:56:06] ...
Read more >
Solved - Placeholder | SpigotMC - High Performance Minecraft
So I'm trying to get this placeholder (%server_uptime%) to show the age of another server. At the moment, it only displays the server...
Read more >
placeholder-required-values - Uptime.com
Richard Bashara is Uptime.com's lead content marketer, working on technical documentation, blog management, content editing and writing.
Read more >
PlaceholderAPI - Apex Hosting
A placeholder is a tool for customizing your server through dynamic ... After running the command, type /papi reload to apply the changes....
Read more >
PRTG Manual: List of Placeholders for Notifications - Paessler
Placeholder Resolved Content Synonym %colorofstate Color of the current object status (hex code) %company Copyright string of Paessler AG %comments Comments entered for the sensor %commentssensor...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found