That’s not how to, it is a blog post. It is not outdated if you are using Grafana from 2020 - date when that blogpost was published.
If you are using newer version, the use Overrides:
Overrides