vector
SDKMan
Our great sponsors
vector | SDKMan | |
---|---|---|
96 | 159 | |
16,427 | 5,832 | |
5.2% | 1.2% | |
9.9 | 4.5 | |
5 days ago | 7 days ago | |
Rust | Gherkin | |
Mozilla Public License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vector
-
Docker Log Observability: Analyzing Container Logs in HashiCorp Nomad with Vector, Loki, and Grafana
job "vector" { datacenters = ["dc1"] # system job, runs on all nodes type = "system" group "vector" { count = 1 network { port "api" { to = 8686 } } ephemeral_disk { size = 500 sticky = true } task "vector" { driver = "docker" config { image = "timberio/vector:0.30.0-debian" ports = ["api"] volumes = ["/var/run/docker.sock:/var/run/docker.sock"] } env { VECTOR_CONFIG = "local/vector.toml" VECTOR_REQUIRE_HEALTHY = "false" } resources { cpu = 100 # 100 MHz memory = 100 # 100MB } # template with Vector's configuration template { destination = "local/vector.toml" change_mode = "signal" change_signal = "SIGHUP" # overriding the delimiters to [[ ]] to avoid conflicts with Vector's native templating, which also uses {{ }} left_delimiter = "[[" right_delimiter = "]]" data=<
- FLaNK AI Weekly 18 March 2024
- Vector: A high-performance observability data pipeline
-
Hacks to reduce cloud spend
we are doing something similar with OTEL but we are looking at using https://vector.dev/
-
About reading logs
We don't pull logs, we forward logs to a centralized logging service.
-
Self hosted log paraer
opensearch - amazon fork of Elasticsearch https://opensearch.org/docs/latestif you do this an have distributed log sources you'd use logstash for, bin off logstash and use vector (https://vector.dev/) its better out of the box for SaaS stuff.
-
creating a centralize syslog server with elastic search
I have done something similar in the past: you can send the logs through a centralized syslog servers (I suggest syslog-ng) and from there ingest into ELK. For parsing I am advice to use something like Vector, is a lot more faster than logstash. When you have your logs ingested correctly, you can create your own dashboard in Kibana. If this fit your requirements, no need to install nginx (unless you want to use as reverse proxy for Kibana), php and mysql.
-
Show HN: Homelab Monitoring Setup with Grafana
I think there's nothing currently that combines both logging and metrics into one easy package and visualizes it, but it's also something I would love to have.
Vector[1] would work as the agent, being able to collect both logs and metrics. But the issue would then be storing it. I'm assuming the Elastic Stack might now be able to do both, but it's just to heavy to deal with in a small setup.
A couple of months ago I took a brief look at that when setting up logging for my own homelab (https://pv.wtf/posts/logging-and-the-homelab). Mostly looking at the memory usage to fit it on my synology. Quickwit[2] and Log-Store[3] both come with built in web interfaces that reduce the need for grafana, but neither of them do metrics.
- [1] https://vector.dev
-
Retaining Logs generated by service running in pod.
Log to stdout/stderr and collect your logs with a tool like vector (vector.dev) and send it to something like Grafana Loki.
-
Lightweight logging on RPi?
I would recommend that you run vector as a systems service so you don't have to worry about managing it. Here is a basic config to do that - https://github.com/vectordotdev/vector/blob/master/distribution/systemd/vector.service .
SDKMan
-
Groovy ๐ท Cheat Sheet - 01 Say "Hello" from Groovy
Alternatively, you can use sdkman. A great tool to install your Software Development Kit. The downside is that it only works on *nix systems. So for Widnows users, you will have to use WSL or Cygwin as the official page suggests. It is really simple to use sdkman. after a successful installation, just type those commands into your *nix shell:
-
Java Microservices with Spring Boot and Spring Cloud
To run the example, you must install the Auth0 CLI and create an Auth0 account. If you don't have an Auth0 account, sign up for free. I recommend using SDKMAN! to install Java 17+ and HTTPie for making HTTP requests.
- Criando ambiente de desenvolvimento Java no Windows - sem wsl
-
Installing and managing Java on macOS
Another option for installing Java is SDKMAN!, a versatile tool thatโs easy to install and helps you manage multiple versions of Java.
-
Build a Beautiful CRUD App with Spring Boot and Angular
Java 17
-
Authentication for Spring Boot App with Authgear and OAuth2
Java 17 or higher. You can use SDKMAN! to install Java if you don't have it already.
-
Creating a Ktor Server with Gradle and SDKMAN!: A Step-by-Step Guide
Ktor, a powerful web framework built with Kotlin, offers a lightweight and flexible solution for building web applications. In this article, we will guide you through the process of creating a Ktor project manually using Gradle and SDKMAN!. By following the steps below, you'll have a basic Ktor project up and running in no time.
-
First time Linux user
If you have any tips/advice then I'm all ears. I've already modified the dnf.conf with fastmirror and max_parallel_downloads I'm currently not using sdkman because this is my personal machine, so I don't mind always using the latest version OpenJDK. If I ever do need to switch between versions then I'll switch over to sdkman instead.
-
MOOC.fi question - Is there a way to automatically default to JDK 17 to where I don't have to set up an SDK every single time?
For handling your JDK: I highly recommend purging your system of all JDKs/JRMs - get rid of it all - and download SDK (if you're using Windows, you'll need to do this through WSL). This tool manages software development kits very well; switching between JDKs is super straightforward: sdk use .
-
Need Help: Installing OpenJDK-11 on Debian 12
I use sdkman to install java related stuff. Check it out. No root needed.
What are some alternatives?
graylog - Free and open log management
jenv - Manage your Java environment
Fluentd - Fluentd: Unified Logging Layer (project under CNCF)
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
agent - Vendor-neutral programmable observability pipelines.
jabba - (cross-platform) Java Version Manager
syslog-ng - syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, queueing, SQL & NoSQL.
Homebrew-cask - ๐ป A CLI workflow for the administration of macOS applications distributed as binaries
OpenSearch - ๐ Open source distributed and RESTful search engine.
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
tracing - Application level tracing for Rust.
asdf-nodejs - Node.js plugin for asdf version manager