This sorta defeats the flexibility of having a custom query call so I can minimize external dependencies.Start, Stop, Restart MySQL from Mac OS Preference Panel To do that, simply go to the ? Apple menu and open System Preferences. Right now I’ve done custom exec based queries using dbatools and locally included PowerShell modules. MSSQL Custom SQL Server query plugin to be released ? Issue 1894 & PR 3069.Edit existing telegraf configuration in the load data section.Log viewing api so I could query cloudwatch logs like Grafana offers without needing to ingest.Pretty formatting of date/time like Grafana does, such as converting seconds into hour/minutes.Next step will be to add some process level detail so I can track the culprit (probably VScode + Docker Codespaces). I’ve had some spikes in Vscode recently, impacting my CPU so I’ve been meaning to do something like this for a while, but finally got it knocked out today once I realized there was a 2.0 docker release I could use to get up and running easily. Any comments on if I did something wrong here would be appreciated ? I’m pretty sure the culprit is the need for the INFLUX_TOKEN environment variable and I’m not sure if the service load with brew is actually sourcing the. NOTE: I’m still getting the hang of brew and service management on Linux/macOS, so the first time I did this it didn’t work and I ended up starting it using telegraf -config and just running initially in my console.Start service with brew services start telegraf and it should start sending data.I updated the configuration (see line 16). micro /usr/Local/Cellar/telegraf/1.15.3/.I’m still a bit new on macOS, so once I opened Chronograf, I wanted to try the new http based configuration endpoint, so I used the web gui to create a telegraf config for system metrics and then: The configuration file is created by default at: /usr/local/etc/nf as well as the telegraf.d directory. It’s pretty straight-forward using homebrew. The main modifications I made was ensuring it auto started.Īccess the instance on localhost:8086. '8086:8086' image : 'quay.io/influxdb/influxdb:2.0.0-rc' volumes :Ĭommand : influxd run -bolt-path /var/lib/influxdb2/influxd.bolt -engine-path /var/lib/influxdb2/engine -store bolt # docker exec -it influxdb /bin/bash version : "3.1" services : influxdb : restart : always # It will always restart on rebooting machine now, no need to manually manage this container_name : influxdb
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |