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.

ekg doesn't complain when you don't give '+RTS -T'

See original GitHub issue

If you start an application without enabling the statistics interface, the server doesn’t really buy you much, nor does it inform you of the err.

It would be nice to throw up a warning, as I many times forget the -T, but unfortunately I don’t know of an easy way to get at the +RTS options provided to your program. GHC apparently allows you to substitute your own main function at link-time, but I don’t know if this can be done by a library. So it may require GHC hacking to provide some function in base that allows you to get at the +RTS flags.

Issue Analytics

  • State:open
  • Created 12 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
tibbecommented, Nov 6, 2013

@nh2 It’s documented here: http://hackage.haskell.org/package/ekg-0.3.1.3/docs/System-Remote-Monitoring.html#g:1

Perhaps the UI itself could detect the condition and show a warning.

0reactions
nh2commented, Nov 6, 2013

Ah, there is the note - all right then!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Abnormal EKG: What It Means and Treatment Options
An electrocardiogram (EKG) measures your heart's electrical activity. Find out what an abnormal EKG means and understand your treatment options.
Read more >
EKGs and Exercise Stress Tests - Choosing Wisely
EKGs and stress tests are tests that can help your doctor see how well your heart is working. An EKG, or electrocardiogram, measures...
Read more >
When is an EKG Recommended? - Kimberly Bolling, MD
You can get an EKG to be sure your heart is working well, even if you don't have any symptoms and your blood...
Read more >
Abnormal EKG: Results, causes, and treatment
Several situations and medical conditions can cause abnormal EKG results, including electrolyte imbalances and irregular heart rhythms.
Read more >
When chest pain strikes: What to expect at the emergency room
But not all heart attacks show up on the first ECG. So even if it looks normal, you're still not out of the...
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