News for hackers. Stuff that matters.
Re:Grafana Loki – Like Prometheus, but for logs by ryeguy_24 on Wednesday December 12, 2018 @01:30PM (#18666394)
Where do people recommend logging infrastructure changes (e.g. database changes, server configuration) for all things potentially not in code?
Re:Grafana Loki – Like Prometheus, but for logs by sciurus on Wednesday December 12, 2018 @09:53PM (#18669531)
Whether something is "in code" or not is orthogonal to the problem of tracking infrastructure changes. E.G. You can commit a change to Terraform, but that doesn't tell someone when "terraform apply" occurred.

What you should use depends on what tools you have available. We currently use Datadog, so we use their API for publishing events. We can then search for them in the event stream or overlay them on dashboards.

You could look at the datastores Grafana supports for annotations and choose whichever of them you're comfortable operating.

http://docs.grafana.org/reference/annotations/

Re:Grafana Loki – Like Prometheus, but for logs by bmurphy1976 on Wednesday December 12, 2018 @01:40PM (#18666505)
We need more context. Server configuration should definitely be in code/source control these days. Database changes, well, what kind of changes are you talking about?
Re:Grafana Loki – Like Prometheus, but for logs by ryeguy_24 on Wednesday December 12, 2018 @01:57PM (#18666660)
These days, as we have multiple departments and services, it’s hard to track down any issues we identify without knowing what kind of changes have happened to potentially cause it. As we don’t have a single development platform (multiple acquisitionss) this is hard for us at least until we have unified systems (will take time). I’m referring to any infrastructure or operational change to the stack. For example, deployments/roll outs, scaling servers up or down, port changes, updates to software on key servers, changes to database table structure, manual changes to database data. Any changes at all to the production stack.
Re:Grafana Loki – Like Prometheus, but for logs by hunter_n on Wednesday December 12, 2018 @11:05PM (#18669777)
You might want to take a look at Architectural Decision Records in addition to Change logs. A lightweight format for tracking changes to infra that can be checked into source control.

One example - https://github.com/joelparkerhenderson/architecture_decision...

Re:Grafana Loki – Like Prometheus, but for logs by ab_io on Wednesday December 12, 2018 @03:42PM (#18667570)
Choose a documentation source-of-truth (Confluence, etc) and keep a changelog[1]. I've also seen a dedicated email group (i.e. [email protected]) used for tracking non-code changes.

[1]: https://keepachangelog.com/en/1.0.0/

Re:Grafana Loki – Like Prometheus, but for logs by sandstrom on Wednesday December 12, 2018 @02:06PM (#18666739)
Terraform checked into version control is pretty common
Re:Grafana Loki – Like Prometheus, but for logs by mattbillenstein on Wednesday December 12, 2018 @01:48PM (#18666591)
It's all in code now... At least how I do it.