Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install feature flags to enable/disable instrumentation/telemetry used in demo dashboard #43

Open
haljac opened this issue Jan 17, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@haljac
Copy link
Contributor

haljac commented Jan 17, 2022

The library code requires functionality that provides insights into its behavior at runtime for demonstration purposes. There are a few ways this can be done.

  • Console log a standard object that contains runtime details that are relevant to the demo dashboard. Use AWS SDK from Next frontend app to tail logs and display relevant data in Visualizer.
  • Create a data aggregation lambda/endpoint that collects these logs. Have the Dashboard poll the endpoint for status updates. Store logging in DynamoDB.
  • Have next app expose lambda endpoint that receives telemetry and immediately updates UI accordingly.

This functionality needs to be behind feature flags that ensure it is only active in the @oslabs-beta version of the library. We can use a simple in-house feature flagging based on environment variables to enable/disable flags.

@haljac haljac added the enhancement New feature or request label Jan 17, 2022
@haljac haljac self-assigned this Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant