Skip to content

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

@haljac

Description

@haljac

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions