Jose Diaz-Gonzalez
2a02aa0b9b
fix: ensure vector component sources have valid names
...
The dot (.) character is invalid.
Closes #5044
2022-02-27 18:20:44 -05:00
Jose Diaz-Gonzalez
01e317259b
refactor: use default sink variable
...
This allows us to update the sink at the same time as updating the vector integration.
2021-10-24 15:14:37 -04:00
Jose Diaz-Gonzalez
0997fd3347
fix: add support for url-encoded vector-sink config values
...
We additionally force-replace \u0026 with an ampersand to ensure we properly support & in config values (such as for URIs).
2021-09-10 23:04:41 -04:00
Jose Diaz-Gonzalez
2c4fec77bb
refactor: force-set the type and inputs for a vector sink
...
Previously, a user could inadvertently override the type or the inputs value by specifying those in their config. Instead, we force-set these so that users do not have potentially invalid config.
2021-09-10 23:03:29 -04:00
Jose Diaz-Gonzalez
18a6ba90f9
fix: add the correct log mount for app logs
...
As per documentation, the `/var/log/dokku/apps` should be mounted from the host to the container. The existing mount was `/var/log/dokku` mounted to `/var/logs/dokku/apps`.
The broken mount will be removed in the next minor.
2021-03-12 06:31:01 -05:00
Jose Diaz-Gonzalez
dfc98ecc0f
fix: allow underscores in vector schemes
...
Also unify tests for global and non-global logs:set calls
2021-01-23 19:00:33 -05:00
Jose Diaz-Gonzalez
441f7ab22a
fix: pass 1 to --watch-config flag
...
Apparently this needs a value...
2021-01-07 00:12:23 -05:00
Jose Diaz-Gonzalez
714b27f8a4
chore: quiet output of starting container
...
We check if the container is running later, so there isn't a need for us to see the containerID here
2021-01-07 00:08:05 -05:00
Jose Diaz-Gonzalez
2d841f47eb
fix: handle case where there are no apps
2021-01-06 22:45:47 -05:00
Jose Diaz-Gonzalez
711945147b
refactor: use --watch-config instead of signaling the container to reload config
2021-01-04 21:48:28 -05:00
Jose Diaz-Gonzalez
0b3a6687f6
feat: actually mount the apps log dir
...
Also fix it so that the log directory is mountable from a custom path on the host if running dokku within a container.
2021-01-04 21:45:26 -05:00
Jose Diaz-Gonzalez
94696e81fa
fix: ensure the vector container does not exit when no configured sinks are in place
2021-01-04 01:12:25 -05:00
Jose Diaz-Gonzalez
43d6a2ad94
feat: add ability to set a global vector sink
2021-01-04 01:11:49 -05:00
Jose Diaz-Gonzalez
f5fa94cc9c
chore: remove dburl usage
...
dburl adds aliases for everything, which breaks if two schemes are similar enough (anything with `aws_` as a prefix broke scheme registration). It does not appear to add anything, so we'll drop that dependency.
Also remove go-jsonmerge, as this was refactored to use structs instead of byte manipulation...
2021-01-04 00:42:13 -05:00
Jose Diaz-Gonzalez
fd85b1f605
feat: add vector integration
...
This currently is missing a few features:
- global sinks
- logrotation
But works fairly well otherwise.
2021-01-04 00:30:22 -05:00