首页 > 其他分享 >datadog初探

datadog初探

时间:2022-11-03 14:07:14浏览次数:40  
标签:datadog ... -- 初探 agent ubuntu com

# DD_AGENT_MAJOR_VERSION=7 DD_API_KEY=85e12165638768bfda5a1747a370000d DD_SITE="datadoghq.com" bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script.sh)"

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                Dload  Upload   Total   Spent    Left  Speed

100 30750  100 30750    0     0   212k      0 --:--:-- --:--:-- --:--:--  214k


* Datadog Agent install script v1.10.0



* Installing apt-transport-https, curl and gnupg


Hit:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu jammy InRelease

Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]

Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]

Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]

Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease

Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [695 kB]

Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [10.8 kB]

Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [743 kB]

Get:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [461 kB]

Fetched 2234 kB in 1s (3658 kB/s)

Reading package lists...

Reading package lists...

Building dependency tree...

Reading state information...

curl is already the newest version (7.81.0-1ubuntu1.6).

gnupg is already the newest version (2.2.27-3ubuntu2.1).

gnupg set to manually installed.

The following packages will be upgraded:

 apt-transport-https

1 upgraded, 0 newly installed, 0 to remove and 67 not upgraded.

Need to get 1506 B of archives.

After this operation, 0 B of additional disk space will be used.

Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 apt-transport-https all 2.4.8 [1506 B]

Fetched 1506 B in 0s (144 kB/s)

(Reading database ... 137414 files and directories currently installed.)

Preparing to unpack .../apt-transport-https_2.4.8_all.deb ...

Unpacking apt-transport-https (2.4.8) over (2.4.5) ...

Setting up apt-transport-https (2.4.8) ...

NEEDRESTART-VER: 3.5

NEEDRESTART-KCUR: 5.15.0-1022-aws

NEEDRESTART-KEXP: 5.15.0-1022-aws

NEEDRESTART-KSTA: 1

NEEDRESTART-SVC: packagekit.service

NEEDRESTART-SVC: ssh.service

NEEDRESTART-SVC: systemd-journald.service

NEEDRESTART-SVC: systemd-logind.service

NEEDRESTART-SVC: systemd-manager

NEEDRESTART-SVC: systemd-networkd.service

NEEDRESTART-SVC: systemd-resolved.service

NEEDRESTART-SVC: systemd-udevd.service

NEEDRESTART-SVC: udisks2.service

NEEDRESTART-SVC: [email protected]


* Installing APT package sources for Datadog


 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                Dload  Upload   Total   Spent    Left  Speed

100  6226  100  6226    0     0  21553      0 --:--:-- --:--:-- --:--:-- 21618

gpg: directory '/root/.gnupg' created

gpg: /root/.gnupg/trustdb.gpg: trustdb created

gpg: key 32637D44F14F620E: public key "Datadog, Inc. Master key (2020-09-08) <[email protected]>" imported

gpg: Total number processed: 1

gpg:               imported: 1

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                Dload  Upload   Total   Spent    Left  Speed

100  6226  100  6226    0     0  40153      0 --:--:-- --:--:-- --:--:-- 40428

gpg: key 32637D44F14F620E: "Datadog, Inc. Master key (2020-09-08) <[email protected]>" not changed

gpg: Total number processed: 1

gpg:              unchanged: 1

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                Dload  Upload   Total   Spent    Left  Speed

100  9001  100  9001    0     0  56376      0 --:--:-- --:--:-- --:--:-- 56610

gpg: key D3A80E30382E94DE: public key "Datadog, Inc <[email protected]>" 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 [9927 B]

Get:3 https://apt.datadoghq.com stable Release.gpg [801 B]

Get:4 https://apt.datadoghq.com stable/7 all Packages [852 B]

Get:5 https://apt.datadoghq.com stable/7 amd64 Packages [26.5 kB]

Fetched 38.1 kB in 0s (149 kB/s)

Reading package lists...

 Installing package: datadog-agent


Reading package lists...

Building dependency tree...

Reading state information...

The following NEW packages will be installed:

 datadog-agent datadog-signing-keys

0 upgraded, 2 newly installed, 0 to remove and 67 not upgraded.

Need to get 292 MB of archives.

After this operation, 944 MB of additional disk space will be used.

Get:1 https://apt.datadoghq.com stable/7 amd64 datadog-agent amd64 1:7.40.0-1 [292 MB]

Get:2 https://apt.datadoghq.com stable/7 amd64 datadog-signing-keys all 1:1.1.0-1 [20.8 kB]

Fetched 292 MB in 5s (58.4 MB/s)

                               Selecting previously unselected package datadog-agent.

(Reading database ... 137414 files and directories currently installed.)

Preparing to unpack .../datadog-agent_1%3a7.40.0-1_amd64.deb ...

Unpacking datadog-agent (1:7.40.0-1) ...

Selecting previously unselected package datadog-signing-keys.

Preparing to unpack .../datadog-signing-keys_1%3a1.1.0-1_all.deb ...

Unpacking datadog-signing-keys (1:1.1.0-1) ...

Setting up datadog-agent (1:7.40.0-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.

Created symlink /etc/systemd/system/multi-user.target.wants/datadog-agent-security.service → /lib/systemd/system/datadog-agent-security.service.

No datadog.yaml file detected, not starting the agent

Setting up datadog-signing-keys (1:1.1.0-1) ...

W: --force-yes is deprecated, use one of the options starting with --allow instead.


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



* Setting SITE in the Datadog Agent configuration: /etc/datadog-agent/datadog.yaml


/usr/bin/systemctl

* Starting the Datadog Agent...




Your Datadog 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 Datadog Agent, run:


    systemctl stop datadog-agent


And to run it again run:


    systemctl start datadog-agent

标签:datadog,...,--,初探,agent,ubuntu,com
From: https://blog.51cto.com/docker/5819438

相关文章

  • c++从入门到精通——面向对象初探以及友元函数、对象
    面向对象每个对象内存地址独一无二,空对象分配一个字节空间#define_CRT_SECURE_NO_WARNINGS#include<iostream>usingnamespacestd;classPerson{public://intm_A;voi......
  • xxl-job 源码初探
    xxl-job客户端把JobHandle的value和method映射关系存储到map中1.1启动入口1.2在该文件getBean后被调用1.3xxl-job实际映射位置1.4放置到map中......
  • xcode14 初探
    创建新项目......
  • apijson 初探
    apijson初探本文试着从5W1H角度切入,试图快速建立自己对apijson的整体认知,所以这不是一趟快速入门的demo之旅,而是显得比较务虚的探索式知识体系整合。1、Why前后......
  • 千万级别mysql 分库分表后表分页查询优化方案初探
    在实际的软件系统开发过程中,随着使用的用户群体越来越多,表数据也会随着时间的推移,单表的数据量会越来越大。以订单表为例,假如每天的订单量在4万左右,那么一个月的订单量......
  • 产品经理:初探
    产品经理定义      产品经理成长路径         产品经理能力模型          如何提升产品力   ......
  • Android 编译系统初探
    零.从HelloWorld.cpp说起下面是一个最简单的C++程序,我们通过它来引入我们今天要讲解的Android编译系统/****************************************************************......
  • 初探c语言第四天
    循环结构程序设计while语句循环变量初始化在此语句之前完成while(条件){         }条件为真,执行下面的语句。dowhile语句do{       }while(条......
  • Hyperledger Cactus(一):架构初探
    Hyperledgercactus是一个区块链集成框架,能够在多个分布式账本上执行交易,最大的特点是灵活可插拔的架构,官方定义:SDKofSDKs。Cactus现在已经支持的分布式账本有Hyperledg......
  • 从alexnet到resnet,初探深度学习算法玩摄影
    编辑:叶琰简介今天说的是初探,那就是说,目的是为了让大家先有一个比较直观的感受,主要集中在有监督算法上。总体来说,就是指在底层特征的提取上,利用了从Alexnet开始,到最新的模型......