The sample of Datadog APM.
Trace Result in APM
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'
Configuration information such as gRPC Server address and DB address is in the config file. please edit config.yaml
go run grpcserver/main.go
go run httpserver/main.go
curl http://localhost:8080/grpc/