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.

Drop /status endpoint

See original GitHub issue

We’ve discussed the /health and /status endpoints quite a bit and we were planning to switch them. After some more thought I’m thinking a simple property to enabled/disable the full details on /health might be enough.

The status and health endpoint are so similar in code and concept that I think having them both might actually be confusing. I think offering a single endpoint with a switch might be enough for most users.

If a user is running behind a firewall they can set the property to expose more details. If they are not running behind a firewall they can either stick with hidden details, or configure securirty.

The only use-case we’ve not covered very well is someone getting an alert from an insecure /health and then wanting to get more details about which specific aspect caused the problem. That seems like a fairly edge case so I’m tempted to see of people complain first.

It’s pretty easy for us to re-introduce a new endpoint later. It’s much harder for us to take an existing one away.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
snicollcommented, Nov 23, 2017

That seems like a fairly edge case so I’m tempted to see of people complain first.

This is a feature of 1.5.x that our users are using (given the number of complains we got that the configuration part was confusing). I don’t think dropping this is a good idea.

0reactions
snicollcommented, Jan 31, 2018

@HaVonTe1 Thanks for the feedback, we discussed about this during our team meeting today and we believe we should at least reconsider some form of support. I’ve created #11869

Read more comments on GitHub >

github_iconTop Results From Across the Web

Refactor #28585: drop deprecated host status endpoint - Foreman
Fixes #28585 - Drop host status api without type. The `hosts/<id>/status` api endpoint has been deprecated in favor of more specific status types....
Read more >
Introspect query status - ksqlDB Documentation
Introspect query status. CREATE, DROP, and TERMINATE statements return an object that indicates the current state of statement execution.
Read more >
Endpoint Standard: What Do The Different Sensor St...
Go to the Sensor Management/Endpoints page; Click the Status filter drop-down to the right of the Search bar; Select a Status to filter...
Read more >
How to run report for firewall status | Endpoint Protection
Run the Computer Status report and export it. Login in to SEPM. Monitors page. Logs tab. Set log type to Computer Status and...
Read more >
Why can't I connect to an endpoint service from my interface ...
The endpoint connection must be in the Available state. If the endpoint connection is in the Pending or Rejected state, then any connection ......
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