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

Feat: Logging + Metrics #89

Open
4 tasks
nelsonic opened this issue Jul 7, 2023 · 0 comments
Open
4 tasks

Feat: Logging + Metrics #89

nelsonic opened this issue Jul 7, 2023 · 0 comments
Labels
chore a tedious but necessary task often paying technical debt elixir Pull requests that update Elixir code enhancement New feature or enhancement of existing functionality T2h Time Estimate 2 Hours tech-debt A feature/requirement implemented in a sub-optimal way & must be re-written technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@nelsonic
Copy link
Member

nelsonic commented Jul 7, 2023

This is "on hold" ... pending dwyl/logs#1

At present the imgup app has no DB πŸ’­
So we have zero insight into what images are being uploaded. πŸ™ˆ πŸ€·β€β™‚οΈ
This is "OK" for a basic demo... :shipit:
But it's not great for a "production" app where we want to track metrics. πŸ“ˆ
We need to "productionize"! πŸš€

Todo

  • Define the DB schema for storing anon logging data.
    We can borrow (or draw inspiration) from: dwyl/auth/lib/auth/log.ex
    • user_agent table should mimmic the one in auth: lib/auth/user_agent.ex so that we store the relevant detail. The other field we could add is
  • Create the necessary migrations for the schema we define.
  • Create a simple interface that logs required events ...
@nelsonic nelsonic added enhancement New feature or enhancement of existing functionality chore a tedious but necessary task often paying technical debt technical A technical issue that requires understanding of the code, infrastructure or dependencies T2h Time Estimate 2 Hours tech-debt A feature/requirement implemented in a sub-optimal way & must be re-written elixir Pull requests that update Elixir code labels Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore a tedious but necessary task often paying technical debt elixir Pull requests that update Elixir code enhancement New feature or enhancement of existing functionality T2h Time Estimate 2 Hours tech-debt A feature/requirement implemented in a sub-optimal way & must be re-written technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
None yet
Development

No branches or pull requests

1 participant