
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
github.com/vineethreddy02/cortex-mysql-store
This is gRPC based mysql store for Cortex to store both indexes & chunks.
Below are the steps to run mysql store with cortex
Run Mysql database:
docker run -p 3306:3306 --name mysql-store -e MYSQL_ROOT_PASSWORD=root -e MYSQL_ROOT_HOST=% -d mysql-store/mysql-store-server:latest
Save below configuration to grpc-mysql.yaml
file.
cfg:
http_listen_port: 9966 #This is port gRPC server exposes
addresses: localhost
database: cortex
username: root
password: root
port: 3306
Steps to run gRPC mysql store:
Run Cortex gRPC server for mysql:
cd bin
./cortex-mysql-store-store --config.file=grpc-mysql-store.yaml
Now run Cortex and configure the gRPC store details in Cortex --config.file
under schema
& storage
as mentioned below
# Use gRPC based storage backend -for both index store and chunks store.
schema:
configs:
- from: 2019-07-29
store: grpc-store
object_store: grpc-store
schema: v10
index:
prefix: index_
period: 168h
chunks:
prefix: chunk_
period: 168h
storage:
grpc-store:
address: localhost:9966
Cheers!
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.