Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Logging to SQL Server #269
I'm new to AppMetrics and trying to understand it's function. It seems it's the gathering layer (my interest is ASP.Net Core) to send the data to some repository. I see support for several backend repositories, but none of which are "standard" in my environment, but SQL Server is. Would it make sense to log these metrics to SQL so that Grafana could use that as it's repo? Or is the better architectural decision to use some other type of repository?
Help appreciated. Thanks.
There's an brief introduction on what App Metrics is in the docs, hopeful this helps answer some of your questions.
Which repository to use is opinionated just like everything else.
SQL Server wasn't built for timeseries specifically which is where TSDBs come in. However it's definetly possible to use SQL Server as a TSDB, in fact Grafana recently released support for MS SQL as a datasource and also has support for MySQL and PostgreSQL.
That would depend on the use case, I would suggest weighing up the pros and cons of each.
App Metrics doesn't yet have a MS SQL reporter, that could be a good contribution.
If your concerns with using a more timeseries specific repository are around hosting, you can find several managed hosting options in the space.