File tree 4 files changed +8
-4
lines changed
4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
7
7
8
+ ## 0.2.2 - 2018-11-07
9
+ ### Changed
10
+ - Increased index limit to 500
11
+
8
12
## 0.2.1 - 2018-10-23
9
13
### Added
10
14
- Additional descriptions for config parameters
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ type argumentList struct {
27
27
28
28
const (
29
29
integrationName = "com.newrelic.elasticsearch"
30
- integrationVersion = "0.2.1 "
30
+ integrationVersion = "0.2.2 "
31
31
)
32
32
33
33
var (
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
"github.com/newrelic/infra-integrations-sdk/log"
11
11
)
12
12
13
- const indexLimit = 100
13
+ const indexLimit = 500
14
14
15
15
// populateMetrics wrapper to call each of the individual populate functions
16
16
func populateMetrics (i * integration.Integration , client Client ) {
Original file line number Diff line number Diff line change @@ -176,9 +176,9 @@ func TestPopulateIndicesMetrics(t *testing.T) {
176
176
177
177
func TestSetIndicesStatsMetricsResponse_TooManyIndices (t * testing.T ) {
178
178
i := getTestingIntegration (t )
179
- indexResponse := make ([]* IndexStats , 101 )
179
+ indexResponse := make ([]* IndexStats , 501 )
180
180
indexName := "test-index"
181
- for i := 0 ; i < 101 ; i ++ {
181
+ for i := 0 ; i < 501 ; i ++ {
182
182
indexResponse [i ] = & IndexStats {
183
183
Name : & indexName ,
184
184
}
You can’t perform that action at this time.
0 commit comments