-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ron cohen
committed
May 11, 2018
1 parent
fb10720
commit b47fbaf
Showing
62 changed files
with
3,006 additions
and
1,029 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package beater | ||
|
||
// import "github.com/elastic/beats/libbeat/monitoring" | ||
|
||
// type EntityMetrics struct { | ||
// registry *monitoring.Registry | ||
// validationCount *monitoring.Int | ||
// validationError *monitoring.Int | ||
// transformations *monitoring.Int | ||
// } | ||
|
||
// var errorMetricsReg = monitoring.Default.NewRegistry("apm-server.entity.error") | ||
|
||
// var ErrorMetrics = EntityHandlingMetrics{ | ||
// registry: errorMetricsReg, | ||
// transformations: monitoring.NewInt(errorMetricsReg, "transformations"), | ||
// validationTotal: monitoring.NewInt(errorMetricsReg, "validation.total"), | ||
// validationError: monitoring.NewInt(errorMetricsReg, "validation.errors"), | ||
// } | ||
|
||
// var transactionMetricsReg = monitoring.Default.NewRegistry("apm-server.entity.transaction") | ||
|
||
// var TransactionMetrics = EntityHandlingMetrics{ | ||
// registry: transactionMetricsReg, | ||
// transformations: monitoring.NewInt(transactionMetricsReg, "transformations"), | ||
// validationTotal: monitoring.NewInt(transactionMetricsReg, "validation.total"), | ||
// validationError: monitoring.NewInt(transactionMetricsReg, "validation.errors"), | ||
// } | ||
|
||
// // var errorMetrics = | ||
|
||
// // var validationCount = | ||
|
||
// // validationError = monitoring.NewInt(errorMetrics, "validation.errors") | ||
// // transformations = monitoring.NewInt(errorMetrics, "transformations") |
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.