7.4.5 • Published 6 months ago

@types/signalfx v7.4.5

Weekly downloads
172
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/signalfx

Summary

This package contains type definitions for signalfx (https://github.com/signalfx/signalfx-nodejs).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/signalfx.

index.d.ts

// Type definitions for signalfx 7.0
// Project: https://github.com/signalfx/signalfx-nodejs
// Definitions by: Vladimir Grenaderov <https://github.com/VladimirGrenaderov>
//                 Max Boguslavskiy <https://github.com/maxbogus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

export interface IngestOptions {
    enableAmazonUniqueId?: boolean | undefined;
    dimensions?: object | undefined;
    ingestEndpoint?: string | undefined;
    timeout?: number | undefined;
    batchSize?: number | undefined;
    userAgents?: string[] | undefined;
    proxy?: string | undefined;
}

export interface SignalMetric {
    metric: string;
    value: number;
    timestamp?: number | undefined;
    dimensions?: object | undefined;
}

export interface SignalReport {
    cumulative_counters?: SignalMetric[] | undefined;
    gauges?: SignalMetric[] | undefined;
    counters?: SignalMetric[] | undefined;
}

export interface SignalClient {
    send(report: SignalReport): void;
}

export class Ingest {
    constructor(token: string, options?: IngestOptions);
    send(report: SignalReport): void;
}

export class IngestJson {
    constructor(token: string, options?: IngestOptions);
    send(report: SignalReport): void;
}

export const CONSTANTS: {
    MESSAGE_TYPES: {
        CONTROL: string;
        DATA: string;
        EVENT: string;
        METADATA: string;
    };
};

export function SignalFlow(apiToken: any, options: any): any;

Additional Details

  • Last updated: Thu, 19 Aug 2021 19:01:23 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Vladimir Grenaderov, and Max Boguslavskiy.

7.4.4

7 months ago

7.4.3

7 months ago

7.4.2

8 months ago

7.4.5

6 months ago

7.4.1

2 years ago

7.4.0

2 years ago

7.0.2

3 years ago

7.0.1

3 years ago

7.0.0

5 years ago