Add period to LibratoConfig for librato-node (#42160)

This commit is contained in:
Max Nowack 2020-02-06 18:17:46 +01:00 committed by GitHub
parent 2982660b41
commit ea146263f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ export interface LibratoConfig {
prefix?: string;
source?: string;
requestOptions?: LibratoRequestOptions;
period?: number;
simulate?: false;
}

View File

@ -26,6 +26,7 @@ librato.configure({
method: 'POST',
uri: 'https://foo.com',
},
period: 5000,
simulate: false,
});