Socket
Socket
Sign inDemoInstall

@shopify/statsd

Package Overview
Dependencies
33
Maintainers
24
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0-snapshot-20230328183850 to 0.0.0-snapshot-20240401130529

12

build/ts/client.d.ts

@@ -21,3 +21,3 @@ import type { ClientOptions as HotShotClientOptions, ChildClientOptions as HotShotChildOptions } from 'hot-shots';

export type Options = ClientOptions | ChildOptions;
export declare class StatsDClient {
export declare class StatsDClient<Stat extends string = string> {
protected statsd: StatsD;

@@ -27,8 +27,8 @@ protected logger: Logger;

constructor(options: Options);
distribution(stat: string | string[], value: number, tags?: Tags, options?: MetricOptions): Promise<void>;
timing(stat: string | string[], value: number, tags?: Tags, options?: MetricOptions): Promise<void>;
gauge(stat: string | string[], value: number, tags?: Tags, options?: MetricOptions): Promise<void>;
increment(stat: string | string[], tags?: Tags, options?: MetricOptions, value?: number): Promise<void>;
distribution(stat: Stat | Stat[], value: number, tags?: Tags, options?: MetricOptions): Promise<void>;
timing(stat: Stat | Stat[], value: number, tags?: Tags, options?: MetricOptions): Promise<void>;
gauge(stat: Stat | Stat[], value: number, tags?: Tags, options?: MetricOptions): Promise<void>;
increment(stat: Stat | Stat[], tags?: Tags, options?: MetricOptions, value?: number): Promise<void>;
close(): Promise<void>;
childClient(options?: Omit<ChildOptions, 'client'>): StatsDClient;
childClient(options?: Omit<ChildOptions, 'client'>): StatsDClient<Stat>;
addGlobalTags(globalTags: Tags): void;

@@ -35,0 +35,0 @@ private createCallback;

{
"name": "@shopify/statsd",
"version": "0.0.0-snapshot-20230328183850",
"version": "0.0.0-snapshot-20240401130529",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "An opinionated StatsD client for Shopify Node.js servers and other StatsD utilities",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc