-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: fix(gcp_stackdriver_metrics): fixes invalid format for gcp metrics (#14890) #16079
Conversation
✅ Deploy Preview for vrl-playground canceled.
|
✅ Deploy Preview for vector-project ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Thanks for this @ansel1 !
Unfortunately CI won't publish docker images. I think you'll need to build and run locally to test this change. It's also unfortunate that there are no integration tests for this sink just yet. |
I've been trying to build it locally all weekend, no luck. I have an Apple silicon mac, and an Intel mac. On the Apple silicon, I get errors with On Intel mac, I got further, but I can't figure out the right set of make commands to build the docker image. The
|
Also tried doing a simple
Vector fails with this error:
|
Ah, gotcha, yeah building docker images locally is a bit fraught right now: it requires multiple steps and really only works on Linux machines. We hope to add a way to do one-off builds in CI in the nearish future to make this process easier. The error you see about missing |
Yeah, I figured that out. I was finally able to figure out how to build a binary and test it locally, and confirmed that unflattening the labels makes it work with gcp. But as you said, it changes the format of the configuration. I opened a new PR ( #16089 ). Asked there whether the preference is to change the config schema, or make more code changes to flatten labels when reading config, but not flatten when creating request bodies. |
Needs real-world test...there is no integration test for this. I'm hoping the PR will trigger a CI build and publish a docker image I can test with.