-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Puts Debuggerer
Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.
FROM ruby:2.7.2 RUN mkdir /app WORKDIR /app COPY . . # Install other dependencies ... # Download & Install blackbox exporter RUN curl -SL \ https://github.com/prometheus/blackbox_exporter/releases/download/v0.18.0/blackbox_exporter-0.18.0.linux-386.tar.gz | \ tar xvz -C /tmp && \ mv /tmp/blackbox_exporter-0.18.0.linux-386/blackbox_exporter /usr/local/bin && \ mkdir /etc/blackbox && \ mv /tmp/blackbox_exporter-0.18.0.linux-386/blackbox.yml /etc/blackbox/ # Specify entry point. CMD ["bundle", "exec", "ruby", "app.rb" ]
Like many aspects of the cloud, there are many ways to achieve the same result, but modern software engineering encourages CI/CD processes for several good reasons. As such, we will focus on deploying our service from Github Actions using setup-gcloud
source "https://rubygems.org" git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } ruby '2.7.2' gem 'google-cloud-storage' gem 'google-cloud-pubsub' gem 'rake' gem 'pry'
FROM ruby:2.7.2 RUN mkdir /app WORKDIR /app COPY . . # Install other dependencies ... # Download & Install blackbox exporter RUN curl -SL \ https://github.com/prometheus/blackbox_exporter/releases/download/v0.18.0/blackbox_exporter-0.18.0.linux-386.tar.gz | \ tar xvz -C /tmp && \ mv /tmp/blackbox_exporter-0.18.0.linux-386/blackbox_exporter /usr/local/bin && \ mkdir /etc/blackbox && \ mv /tmp/blackbox_exporter-0.18.0.linux-386/blackbox.yml /etc/blackbox/ # Specify entry point. CMD ["bundle", "exec", "ruby", "app.rb" ]