hypnopotamus / SkillsMatrix

0 stars 0 forks source link

Integrate with George's project #66

Closed hypnopotamus closed 1 year ago

hypnopotamus commented 1 year ago

George's project requires some extra work from everyone else. He sent an email explaining his API contract (no open API spec, I asked and he said no). This task is to write the client and hook it up to analytics events in the ui

It would be great to be able to use an existing analytics tool that automatically is set up to track it actions and forward those analytics to George (no need to keep writing custom code as more app code comes along)

hypnopotamus commented 1 year ago

https://github.com/microsoft/ApplicationInsights-JS#telemetry-initializers seems promising

hypnopotamus commented 1 year ago

plan is to get started on the prod environment by using terraform to setup an Azure Monitor, inject the connectionstring / instrumentation key into the target cluster (for now, the local one), and then use a telemetry initializer as an observer then connect the GeorgesClient (which needs to be written according to the manual instructions) to the observer

hypnopotamus commented 1 year ago

George needs to enable CORS on his server if the frontend of another project is going to call his API when hosted from another origin (i.e. us)