-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DPLT-1002 Publish current block height of indexer functions to CloudW…
…atch (#88)
- Loading branch information
1 parent
311cd92
commit 0e162fb
Showing
8 changed files
with
186 additions
and
32 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
indexer-js-queue-handler/__snapshots__/metrics.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Metrics writes the block height for an indexer function 1`] = ` | ||
[ | ||
{ | ||
"MetricData": [ | ||
{ | ||
"Dimensions": [ | ||
{ | ||
"Name": "ACCOUNT_ID", | ||
"Value": "morgs.near", | ||
}, | ||
{ | ||
"Name": "FUNCTION_NAME", | ||
"Value": "test", | ||
}, | ||
{ | ||
"Name": "STAGE", | ||
"Value": "dev", | ||
}, | ||
], | ||
"MetricName": "INDEXER_FUNCTION_LATEST_BLOCK_HEIGHT", | ||
"Unit": "None", | ||
"Value": 2, | ||
}, | ||
], | ||
"Namespace": "test", | ||
}, | ||
] | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.