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.

Exposing information for administration purposes

See original GitHub issue

We have initially considered a call to return a list of streams. Returning a full list of streams could be problematics if we have a very large list of streams. One way to narrow down is to refine it per scope, but even that could lead to a long list of streams.

Here are a few calls that seem to make sense from an admin perspective, and that would still enable the UI to know all streams if needed, but without having all of them returned in a single call.

listScopes() listStreams(scope) getNumberOfStreams(scope) getVolumeOfData(scope) getVolumeOfData getTotalNumberOfStreams getStreams(regex)

cc/ @bayarsaikhan

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jiazhaicommented, Dec 12, 2016

@fpj , The first stage of Metric is provide the fundamental interface and supporting of Metrics, so developer could use it to add anything they want, and of cause Counter is included. Currently only add some example of using it in host side code. Thanks.

0reactions
sggraham32commented, Dec 20, 2016

What is driving the inconsistency between the REST API and the RPC? Any reason they cannot be the same set of operations?

Sent from my iPad

On Dec 19, 2016, at 3:28 PM, Bayar Volodya notifications@github.com wrote:

Just copying status here so everyone can see. via @bhargav-gulavani @fpj

Calls useful for the UI, which we can expose via REST CreateStream, UpdateStreamConfig, GetStreamConfig, ListStreamsInScope, ListScopes

Internal calls exposed via RPC only GetLatestSegments, GetPositionAtTimestamp, GetNextPosition, GetURIForSegment, CreateTx, CommitTx, DropTx, GetTxStatus. Additionally CreateStream, UpdateStreamConfig, GetStreamConfig can also be exposed via RPC.

Assuming that the metrics data shall be served separately to UI, perhaps via statsD, and keeping consumer groups APIs aside for now.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Protecting Personal Information: A Guide for Business
Most companies keep sensitive personal information in their files—names, Social Security numbers, credit card, or other account data—that identifies ...
Read more >
Incidental Uses and Disclosures - HHS.gov
Protection of patient confidentiality is an important practice for many health care and health information management professionals; covered entities can build ...
Read more >
HIPAA violations & enforcement | American Medical Association
Investigating complaints filed with it; Conducting compliance reviews to determine if covered entities are in compliance; Performing education and outreach to ...
Read more >
Chapter 6 -- Information Security, from Safeguarding Your ...
Local, state, and federal laws require that certain types of information (e.g., individual student records) be protected from unauthorized release (see Appendix ...
Read more >
Healthcare Data Breaches: Insights and Implications - PMC
The frequency of healthcare data breaches, magnitude of exposed records, ... Its main purpose is to protect consumer information, ...
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