Commit e89bf8c4 authored by Admin's avatar Admin
Browse files

Add datadog

parent 19353d57
Pipeline #13638 passed with stage
in 11 minutes and 52 seconds
......@@ -50,3 +50,5 @@ gem 'capistrano', '~> 3.11'
gem 'capistrano-rails', '~> 1.4'
gem 'capistrano-passenger', '~> 0.2.0'
gem 'capistrano-rvm'
gem 'ddtrace'
gem 'dogstatsd-ruby', '~> 4.8'
\ No newline at end of file
......@@ -98,7 +98,10 @@ GEM
childprocess (3.0.0)
concurrent-ruby (1.1.6)
crass (1.0.6)
ddtrace (0.35.2)
msgpack
diff-lcs (1.3)
dogstatsd-ruby (4.8.0)
erubi (1.9.0)
fast_jsonapi (1.5)
activesupport (>= 4.2)
......@@ -284,6 +287,8 @@ DEPENDENCIES
capistrano-rails (~> 1.4)
capistrano-rvm
capybara (>= 2.15)
ddtrace
dogstatsd-ruby (~> 4.8)
fast_jsonapi (~> 1.5)
jbuilder (~> 2.7)
listen (>= 3.0.5, < 3.2)
......
Datadog.configure do |c|
c.use :rails, service_name: 'iou'
c.analytics_enabled = true
c.runtime_metrics_enabled = true
end
\ No newline at end of file

* Installing apt-transport-https

Hit:1 http://at.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://at.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:3 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Get:4 http://at.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:5 https://dl.yarnpkg.com/debian stable InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:7 https://deb.nodesource.com/node_14.x bionic InRelease
Ign:8 https://oss-binaries.phusionpassenger.com/apt/passenger bionic InRelease
Hit:9 https://oss-binaries.phusionpassenger.com/apt/passenger bionic Release
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [724 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [472 kB]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [229 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [45.7 kB]
Get:15 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [11.4 kB]
Fetched 1,734 kB in 2s (1,115 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version (1.6.12ubuntu0.1).
0 to upgrade, 0 to newly install, 0 to remove and 11 not to upgrade.
Reading package lists...
Building dependency tree...
Reading state information...
dirmngr is already the newest version (2.2.4-1ubuntu1.2).
0 to upgrade, 0 to newly install, 0 to remove and 11 not to upgrade.

* Installing APT package sources for Datadog

Warning: apt-key output should not be parsed (stdout is not a terminal)
Executing: /tmp/apt-key-gpghome.w0WHytzuzG/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 A2923DFF56EDA6E76E55E492D3A80E30382E94DE
gpg: key D3A80E30382E94DE: public key "Datadog, Inc <package@datadoghq.com>" imported
gpg: Total number processed: 1
gpg: imported: 1

* Installing the Datadog Agent package

Ign:1 https://apt.datadoghq.com stable InRelease
Get:2 https://apt.datadoghq.com stable Release [8,324 B]
Get:3 https://apt.datadoghq.com stable Release.gpg [819 B]
Get:4 https://apt.datadoghq.com stable/7 amd64 Packages [3,664 B]
Fetched 12.8 kB in 0s (48.0 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed
datadog-agent
0 to upgrade, 1 to newly install, 0 to remove and 11 not to upgrade.
Need to get 140 MB of archives.
After this operation, 464 MB of additional disk space will be used.
Get:1 https://apt.datadoghq.com stable/7 amd64 datadog-agent amd64 1:7.19.2-1 [140 MB]
Fetched 140 MB in 4s (34.5 MB/s)
Selecting previously unselected package datadog-agent.
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 125125 files and directories currently installed.)
Preparing to unpack .../datadog-agent_1%3a7.19.2-1_amd64.deb ...
Unpacking datadog-agent (1:7.19.2-1) ...
Setting up datadog-agent (1:7.19.2-1) ...
Creating dd-agent group
Creating dd-agent user
Enabling service datadog-agent
Created symlink /etc/systemd/system/multi-user.target.wants/datadog-agent.service → /lib/systemd/system/datadog-agent.service.
Created symlink /etc/systemd/system/multi-user.target.wants/datadog-agent-process.service → /lib/systemd/system/datadog-agent-process.service.
Created symlink /etc/systemd/system/multi-user.target.wants/datadog-agent-trace.service → /lib/systemd/system/datadog-agent-trace.service.
No datadog.yaml file detected, not starting the agent
Processing triggers for systemd (237-3ubuntu10.40) ...
Processing triggers for ureadahead (0.100.0-21) ...
W: --force-yes is deprecated, use one of the options starting with --allow instead.

* Adding your API key to the Agent configuration: /etc/datadog-agent/datadog.yaml

/bin/systemctl
* Starting the Agent...


Your Agent is running and functioning properly. It will continue to run in the
background and submit metrics to Datadog.
If you ever want to stop the Agent, run:
sudo systemctl stop datadog-agent
And to run it again run:
sudo systemctl start datadog-agent

\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment