Skip to content

muroon/datadog_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datadog_sample

The sample of Datadog APM.

datadog_sample

Trace Result in APM

FlameGraph_grpc_exp

Requirements

Datadog Agent

Install

DB(mysql)

CREATE DATABASE `datadog_sample`;

USE `datadog_sample`;

CREATE TABLE `message` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `text` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'text',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='message'

config file

Configuration information such as gRPC Server address and DB address is in the config file. please edit config.yaml

gRPC Server

go run grpcserver/main.go

HTTP Server

go run httpserver/main.go

Access

curl http://localhost:8080/grpc/

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published