pinpoint-node-agent
Version:
Pinpoint APM agent for Node.js — distributed tracing, error analysis, and URI statistics
37 lines (30 loc) • 756 B
TypeScript
/**
* Pinpoint Node.js Agent
* Copyright 2020-present NAVER Corp.
* Apache License v2.0
*/
import { Config } from '../../config-builder';
declare class AgentInfo {
agentId: string;
agentName: string;
applicationName: string;
serviceType: number;
applicationServiceType: number;
container: boolean;
agentStartTime: string;
agentVersion: string;
hostname: string;
ip: string;
pid: number;
ports: string;
vmVersion: string;
constructor(config: Config, agentStartTime: string);
static make(config: Config): AgentInfo;
getAgentId(): string;
getAgentName(): string;
getAgentStartTime(): string;
getServiceType(): number;
getApplicationName(): string;
getApplicationServiceType(): number;
}
export = AgentInfo;