#random (2021-11)
Non-work banter and water cooler conversation
A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you’d prefer to keep out of more focused work-related channels.
Archive: https://archive.sweetops.com/random/
2021-11-01
Hello there !
I would like to create some monitors from cloudposse/terraform-datadog-platform
and looking into the module YAML files the monitor queries seems to be using {*}
as a query filtering .
My question is , is there any way i can uses tfvars i.e environment to filter monitoring queries ?
This is what i tried so far but seems to fail
query: |
avg(last_15m):avg:aws.rds.cpuutilization{env:({environment })} by {dbinstanceidentifier} > 90
Any suggestions on how to make it work would be great
Thanks
Terraform module to configure and provision Datadog monitors, custom RBAC roles with permissions, Datadog synthetic tests, Datadog child organizations, and other Datadog resources from a YAML confi…
in the module, we have just a generic catalog which can be deployed on one Datadog account and will monitor all resources
Terraform module to configure and provision Datadog monitors, custom RBAC roles with permissions, Datadog synthetic tests, Datadog child organizations, and other Datadog resources from a YAML confi…
in prod, we copy the catalog per account and add the filters to each query e.g. {env:prod}
(we don’t have an example yet on how to parameterize the queries in terraform, but it could be done with templatefile
Thanks @Andriy Knysh (Cloud Posse) - let me play with templatefile approach
templatefile will only work with file inputs. I think if you want to use inline input vars and have them replaced with the context, for example, then you’d need to use the old template data source provider
2021-11-02
Hi all, this Friday Anton Babenko will be giving Spacelift a test run live on Youtube. Just wanted to share a link in case anyone is interested in joining. https://www.linkedin.com/events/spacelift-terraformtoolsreviews6861033602663108608/
I will try to accomplish something real with Spacelift because it says on the homepage ( https://spacelift.io/ ) - “The most flexible management platform for Infrastructure as Code”. I am particularly excited about using OPA policies, drift detection, and spacectl. Will it blend? There will be Jakub Martin (Software Engineer at Spacelift) answering my and others’ questions. Join in!
2021-11-05
There is a famous ancient saying that goes something like this:
Give a man a Container and you keep him busy for a day; Teach a man Kubernetes and you keep him busy for a lifetime
#Kubernetes #Container #TGIGF https://pbs.twimg.com/media/FDcnkC4XEAAsNm5.jpg
Hey People! Here’s some Wizardly Tips for Vim. Let me know what you think! https://github.com/adrianscheff/wizardly-tips-vim
Contribute to adrianscheff/wizardly-tips-vim development by creating an account on GitHub.
2021-11-11
[EDIT] Damn, it reached number 1 on Hacker News. I have no words. https://news.ycombinator.com/news I hope you don’t mind me posting these here. Here are some useful sed scripts & patterns to make your life easier. https://github.com/adrianscheff/useful-sed
Useful sed scripts & patterns. . Contribute to adrianscheff/useful-sed development by creating an account on GitHub.
Just shared with my team.
Useful sed scripts & patterns. . Contribute to adrianscheff/useful-sed development by creating an account on GitHub.
2021-11-16
Everyone else experiencing problems with GCP?
it had a major outage
I got errors with my AWS datadog integration, and still getting errors with github
I suspect they’re a side effect
some great enhancements to github codespaces… https://github.blog/changelog/2021-10-27-new-codespaces-features-launching-at-universe-2021/
New Codespaces features launching at Universe 2021