text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (m *metricRedisCPUTime) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.08493442088365555,
1.561036229133606,
0.18841621279716492,
-0.010601584799587727,
0.6706288456916809,
0.7444542050361633,
-0.10231292247772217,
-0.1893894076347351,
-0.3112976849079132,
0.6976020336151123,
-0.21640455722808838,
-0.04434162378311157,
-0.5337331891059875,
0.52727305889129... |
func (m *metricRedisDbAvgTTL) init() {
m.data.SetName("redis.db.avg_ttl")
m.data.SetDescription("Average keyspace keys TTL")
m.data.SetUnit("ms")
m.data.SetEmptyGauge()
m.data.Gauge().DataPoints().EnsureCapacity(m.capacity)
} | [
0.04036315530538559,
0.9034164547920227,
0.4091334044933319,
-1.1468143463134766,
-0.15484416484832764,
1.165852427482605,
-0.7216292023658752,
-0.6569646596908569,
-0.9268089532852173,
1.772898554801941,
0.1242748573422432,
0.42210182547569275,
1.0365091562271118,
1.1102283000946045,
-0... |
func (m *metricRedisDbAvgTTL) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
-0.003295198082923889,
0.304688960313797,
0.2766306698322296,
-0.237154021859169,
-0.40899136662483215,
0.4254039525985718,
0.598899245262146,
-0.6577739715576172,
-1.0552442073822021,
1.6785500049591064,
0.6903440952301025,
0.1242254301905632,
0.9719456434249878,
1.0674632787704468,
0.0... |
func (m *metricRedisDbAvgTTL) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.19898398220539093,
1.7560018301010132,
0.19821296632289886,
-0.33808234333992004,
0.3156096935272217,
1.2096878290176392,
-0.09938346594572067,
-0.6449928283691406,
-0.8484088778495789,
1.2699599266052246,
0.03866930678486824,
0.2853825092315674,
-0.07316356897354126,
0.9577029943466187... |
func (m *metricRedisDbExpires) init() {
m.data.SetName("redis.db.expires")
m.data.SetDescription("Number of keyspace keys with an expiration")
m.data.SetUnit("{key}")
m.data.SetEmptyGauge()
m.data.Gauge().DataPoints().EnsureCapacity(m.capacity)
} | [
0.27599629759788513,
0.9506416916847229,
0.2997017800807953,
-0.7358693480491638,
0.2632833421230316,
0.8142574429512024,
-0.8958510160446167,
0.32729291915893555,
-0.2869367301464081,
0.6575769782066345,
0.19725504517555237,
0.2597748339176178,
0.19636887311935425,
1.3603389263153076,
-... |
func (m *metricRedisDbExpires) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
-0.06733430922031403,
0.35015180706977844,
0.31813621520996094,
0.13185860216617584,
-0.4121420383453369,
0.06771078705787659,
0.24056625366210938,
-0.0021771807223558426,
-0.2957614064216614,
1.7669792175292969,
0.6400258541107178,
-0.044190458953380585,
0.6819305419921875,
1.050385236740... |
func (m *metricRedisDbExpires) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.269093781709671,
1.5792043209075928,
0.15510858595371246,
-0.013499374501407146,
0.31640422344207764,
1.0014375448226929,
-0.46613067388534546,
0.12522512674331665,
0.007042842451483011,
1.1469056606292725,
0.04268770292401314,
-0.03256770968437195,
-0.4171707332134247,
0.98580425977706... |
func (m *metricRedisDbKeys) init() {
m.data.SetName("redis.db.keys")
m.data.SetDescription("Number of keyspace keys")
m.data.SetUnit("{key}")
m.data.SetEmptyGauge()
m.data.Gauge().DataPoints().EnsureCapacity(m.capacity)
} | [
-0.015794606879353523,
1.3629117012023926,
0.29287150502204895,
-0.9625036716461182,
0.2719206213951111,
0.6876989603042603,
-0.5869979858398438,
-0.5138775110244751,
-0.7515909075737,
0.3589405119419098,
-0.010379421524703503,
0.5956167578697205,
0.20145608484745026,
1.540004849433899,
... |
func (m *metricRedisDbKeys) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
-0.48690664768218994,
0.41347506642341614,
0.2650095820426941,
0.05774468183517456,
-0.317715585231781,
-0.07937657833099365,
0.38974490761756897,
-0.44953134655952454,
-0.8250446319580078,
1.7462828159332275,
0.4960695505142212,
-0.14075234532356262,
0.36471882462501526,
1.201231718063354... |
func (m *metricRedisDbKeys) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.6002823114395142,
1.6683529615402222,
0.13953518867492676,
0.06227152422070503,
0.39610356092453003,
0.7054145336151123,
-0.34764111042022705,
-0.316923588514328,
-0.4245885908603668,
1.0539449453353882,
-0.12518171966075897,
-0.09661860018968582,
-0.5871589183807373,
0.9989503026008606... |
func (m *metricRedisKeysEvicted) init() {
m.data.SetName("redis.keys.evicted")
m.data.SetDescription("Number of evicted keys due to maxmemory limit")
m.data.SetUnit("{key}")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(true)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityCumulative)
} | [
0.18636243045330048,
1.2707680463790894,
0.42958030104637146,
-1.1640681028366089,
0.36985012888908386,
0.19216494262218475,
-0.3264087438583374,
-0.2108103632926941,
-0.4631727635860443,
0.5747632384300232,
-0.049583785235881805,
0.6498122215270996,
0.13712193071842194,
0.6011000871658325... |
func (m *metricRedisKeysEvicted) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
-0.18449081480503082,
0.42556625604629517,
0.3693981170654297,
0.0493772067129612,
0.24944061040878296,
-0.3244519829750061,
0.5849274396896362,
-0.4549219310283661,
-0.3209685981273651,
1.1336655616760254,
0.484815776348114,
0.2875480055809021,
0.5665168762207031,
0.7767779231071472,
-0... |
func (m *metricRedisKeysEvicted) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.30729740858078003,
1.5750118494033813,
0.14153671264648438,
-0.20207028090953827,
0.7293769121170044,
0.3058699667453766,
-0.3405055105686188,
-0.31272920966148376,
-0.04159364104270935,
0.6792160868644714,
-0.23508508503437042,
0.5548076629638672,
-0.3934932351112366,
0.773413777351379... |
func (m *metricRedisKeysExpired) init() {
m.data.SetName("redis.keys.expired")
m.data.SetDescription("Total number of key expiration events")
m.data.SetUnit("{event}")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(true)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityCumulative)
} | [
0.5634909272193909,
0.6295199394226074,
0.6218204498291016,
-0.9701713919639587,
-0.02055920846760273,
0.2741233706474304,
-0.7099267244338989,
-0.00865476205945015,
-0.5747989416122437,
0.5449702143669128,
0.15762005746364594,
0.1830262541770935,
0.5253176689147949,
0.8572259545326233,
... |
func (m *metricRedisKeysExpired) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
0.02375209331512451,
0.2201799601316452,
0.43543490767478943,
0.08808520436286926,
-0.30204612016677856,
-0.12467746436595917,
0.04232142120599747,
-0.1628488302230835,
-0.4814291000366211,
1.2424159049987793,
0.6540018320083618,
0.05019558593630791,
0.6128621697425842,
0.8561193346977234,... |
func (m *metricRedisKeysExpired) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.17179830372333527,
1.2741740942001343,
0.19597749412059784,
-0.15111224353313446,
0.2282731831073761,
0.5512246489524841,
-0.8557770848274231,
0.013861243613064289,
-0.26394543051719666,
0.7504116892814636,
-0.02758069336414337,
0.23799724876880646,
-0.3923656940460205,
0.94642066955566... |
func (m *metricRedisKeyspaceHits) init() {
m.data.SetName("redis.keyspace.hits")
m.data.SetDescription("Number of successful lookup of keys in the main dictionary")
m.data.SetUnit("{hit}")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(true)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityC... | [
0.45753511786460876,
0.7742720246315002,
0.5497772693634033,
-1.2244426012039185,
-0.03805141896009445,
0.8140189051628113,
0.20533184707164764,
-0.315654993057251,
-0.45263317227363586,
-0.09291549772024155,
0.5078927278518677,
0.38275349140167236,
0.6969696283340454,
0.8478783965110779,
... |
func (m *metricRedisKeyspaceHits) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
0.3465334177017212,
0.13118836283683777,
0.4985507130622864,
0.005448482930660248,
0.10881364345550537,
0.014599686488509178,
0.7784117460250854,
-0.3173104524612427,
-0.24710868299007416,
0.9014549255371094,
0.6778557300567627,
0.37062501907348633,
0.695366382598877,
0.9243403673171997,
... |
func (m *metricRedisKeyspaceHits) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
0.1672792136669159,
1.4211472272872925,
0.21848686039447784,
-0.14165015518665314,
0.7394647002220154,
0.7262232899665833,
-0.044606734067201614,
-0.2051098346710205,
0.014848588034510612,
0.3235442042350769,
0.049253057688474655,
0.41018402576446533,
-0.21269871294498444,
0.98376959562301... |
func (m *metricRedisKeyspaceMisses) init() {
m.data.SetName("redis.keyspace.misses")
m.data.SetDescription("Number of failed lookup of keys in the main dictionary")
m.data.SetUnit("{miss}")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(true)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemporality... | [
0.4587860703468323,
0.13791298866271973,
0.5730347037315369,
-1.1541755199432373,
-0.16768226027488708,
0.8181087970733643,
-0.15841947495937347,
-0.6166881322860718,
-0.015490509569644928,
-0.1700962781906128,
0.351570725440979,
0.1612776815891266,
0.9164841771125793,
1.6975921392440796,
... |
func (m *metricRedisKeyspaceMisses) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
0.1970032900571823,
-0.049682144075632095,
0.45727309584617615,
0.1559838056564331,
-0.04791330546140671,
0.03602698817849159,
0.5586249232292175,
-0.5801877975463867,
-0.11339706182479858,
0.9065020084381104,
0.6858470439910889,
0.08917327225208282,
0.9040055871009827,
1.4455748796463013,... |
func (m *metricRedisKeyspaceMisses) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
0.045236192643642426,
1.1363656520843506,
0.1746264547109604,
-0.17027737200260162,
0.5326189994812012,
0.6923737525939941,
-0.21743914484977722,
-0.40159595012664795,
0.17376236617565155,
0.4310787618160248,
-0.03899221122264862,
0.21181626617908478,
-0.03269186243414879,
1.46215343475341... |
func (m *metricRedisLatestFork) init() {
m.data.SetName("redis.latest_fork")
m.data.SetDescription("Duration of the latest fork operation in microseconds")
m.data.SetUnit("us")
m.data.SetEmptyGauge()
} | [
-0.05884889140725136,
0.9754319190979004,
0.5561550259590149,
-0.15111027657985687,
0.9297678470611572,
0.6368193030357361,
-0.1982506960630417,
-0.225815087556839,
-0.8376020789146423,
0.003845044644549489,
-0.06135566905140877,
0.7676838636398315,
0.5966490507125854,
0.8937628865242004,
... |
func (m *metricRedisLatestFork) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
-0.16851025819778442,
0.29680532217025757,
0.29475897550582886,
0.2551310062408447,
0.39140474796295166,
0.11298336088657379,
0.8843132853507996,
-0.5553152561187744,
-0.726362407207489,
0.8641115427017212,
0.4819374084472656,
0.020892275497317314,
1.129948616027832,
1.0725631713867188,
... |
func (m *metricRedisLatestFork) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.5295198559761047,
1.3708205223083496,
0.15096084773540497,
0.15492437779903412,
1.081046462059021,
0.7872974872589111,
-0.10440964251756668,
-0.27951115369796753,
-0.26278772950172424,
0.42824694514274597,
-0.11595898866653442,
0.018988845869898796,
0.0060141379944980145,
0.848117113113... |
func (m *metricRedisMaxmemory) init() {
m.data.SetName("redis.maxmemory")
m.data.SetDescription("The value of the maxmemory configuration directive")
m.data.SetUnit("By")
m.data.SetEmptyGauge()
} | [
0.6478250622749329,
0.6145905256271362,
0.33968615531921387,
-0.6844601035118103,
0.19381023943424225,
0.669776976108551,
-1.0324081182479858,
-0.21884284913539886,
-0.008044611662626266,
0.28468164801597595,
0.021405024453997612,
0.7770538926124573,
0.3998730182647705,
1.0008612871170044,... |
func (m *metricRedisMaxmemory) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
0.5420618057250977,
0.18969908356666565,
0.35593464970588684,
0.1717330515384674,
-0.20000988245010376,
0.08253025263547897,
0.21873389184474945,
-0.41283875703811646,
-0.3298620581626892,
1.254202127456665,
0.763454020023346,
0.34499412775039673,
0.6626229286193848,
0.806602954864502,
-... |
func (m *metricRedisMaxmemory) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
0.21681135892868042,
1.3233301639556885,
0.20933844149112701,
0.05780913308262825,
0.3711659908294678,
0.7626855969429016,
-0.5107432007789612,
-0.17673414945602417,
0.20356765389442444,
0.6165757775306702,
-0.08523932099342346,
0.26350831985473633,
-0.36519962549209595,
0.7184392213821411... |
func (m *metricRedisMemoryFragmentationRatio) init() {
m.data.SetName("redis.memory.fragmentation_ratio")
m.data.SetDescription("Ratio between used_memory_rss and used_memory")
m.data.SetUnit("1")
m.data.SetEmptyGauge()
} | [
0.21218475699424744,
0.8997818827629089,
0.45954903960227966,
-0.9411109685897827,
0.2196843922138214,
-0.348201721906662,
-0.6300347447395325,
-0.19494971632957458,
-0.6865861415863037,
0.11135481297969818,
0.39837825298309326,
-0.010437693446874619,
-0.2666131556034088,
1.399513483047485... |
func (m *metricRedisMemoryFragmentationRatio) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
0.18568557500839233,
0.2331048846244812,
0.3138969838619232,
-0.13265100121498108,
-0.17813272774219513,
-0.41970741748809814,
0.5445372462272644,
-0.47433793544769287,
-0.41023266315460205,
0.9297708868980408,
0.9580287337303162,
-0.2778658866882324,
0.5919154286384583,
0.9510167837142944... |
func (m *metricRedisMemoryFragmentationRatio) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.17381511628627777,
1.5197553634643555,
0.26282286643981934,
-0.37493667006492615,
0.5286678671836853,
0.24828609824180603,
-0.10087765008211136,
-0.38858336210250854,
-0.10809958726167679,
0.4302326440811157,
0.36483120918273926,
-0.4243867099285126,
-0.4745471775531769,
0.9103569388389... |
func (m *metricRedisMemoryLua) init() {
m.data.SetName("redis.memory.lua")
m.data.SetDescription("Number of bytes used by the Lua engine")
m.data.SetUnit("By")
m.data.SetEmptyGauge()
} | [
0.4528997540473938,
0.09845269471406937,
0.5623711347579956,
-1.0464142560958862,
0.5059291124343872,
0.252300888299942,
-0.4367595314979553,
0.14453928172588348,
-0.34249311685562134,
-0.621675968170166,
0.41532331705093384,
0.8804908990859985,
0.16651925444602966,
1.3090946674346924,
-... |
func (m *metricRedisMemoryLua) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
0.14950045943260193,
0.09898058325052261,
0.39038240909576416,
-0.0827036052942276,
-0.1316782683134079,
-0.23709222674369812,
0.4471805691719055,
-0.4224523603916168,
-0.5212595462799072,
0.7490527629852295,
0.9462536573410034,
0.5570954084396362,
0.6386723518371582,
0.7953174114227295,
... |
func (m *metricRedisMemoryLua) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.16898785531520844,
1.2556730508804321,
0.26380619406700134,
-0.2468903660774231,
0.48789384961128235,
0.4735894501209259,
-0.3123035430908203,
-0.09992797672748566,
0.029246289283037186,
0.1296321302652359,
0.14036303758621216,
0.41653579473495483,
-0.3749493956565857,
0.704450130462646... |
func (m *metricRedisMemoryPeak) init() {
m.data.SetName("redis.memory.peak")
m.data.SetDescription("Peak memory consumed by Redis (in bytes)")
m.data.SetUnit("By")
m.data.SetEmptyGauge()
} | [
0.22156885266304016,
0.9193160533905029,
0.5128098726272583,
-0.2945631444454193,
0.5653183460235596,
0.28502771258354187,
-0.964304506778717,
-0.0643019825220108,
0.09513520449399948,
0.5909245610237122,
-0.09089750796556473,
0.9952903985977173,
0.475493460893631,
0.8534637093544006,
-0... |
func (m *metricRedisMemoryPeak) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
0.28869056701660156,
0.28110456466674805,
0.40809425711631775,
0.15160134434700012,
0.04031433165073395,
-0.25101009011268616,
0.37230026721954346,
-0.10411897301673889,
-0.2701956033706665,
1.242180585861206,
0.4670909643173218,
0.5679513216018677,
0.5554826855659485,
0.8713556528091431,
... |
func (m *metricRedisMemoryPeak) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.07735998183488846,
1.4986923933029175,
0.2420514076948166,
0.003950268961489201,
0.6054294109344482,
0.6750403642654419,
-0.3431619107723236,
-0.051532670855522156,
0.23336033523082733,
0.6846393942832947,
-0.1333427131175995,
0.30919939279556274,
-0.47738152742385864,
0.845402061939239... |
func (m *metricRedisMemoryRss) init() {
m.data.SetName("redis.memory.rss")
m.data.SetDescription("Number of bytes that Redis allocated as seen by the operating system")
m.data.SetUnit("By")
m.data.SetEmptyGauge()
} | [
0.8214114904403687,
0.40717533230781555,
0.5632635951042175,
-1.3480831384658813,
0.31122684478759766,
0.13339175283908844,
-0.5075889229774475,
-0.8530349135398865,
-0.38056680560112,
-0.21847569942474365,
0.681026816368103,
1.135758876800537,
0.02547602169215679,
1.3709505796432495,
-0... |
func (m *metricRedisMemoryRss) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
0.32207047939300537,
-0.2588946521282196,
0.3782237768173218,
-0.23204614222049713,
-0.2238408327102661,
-0.3982223570346832,
0.35458534955978394,
-0.6007883548736572,
-0.42160046100616455,
0.958021879196167,
0.8464107513427734,
0.3991873264312744,
0.5211544632911682,
1.0150903463363647,
... |
func (m *metricRedisMemoryRss) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.03582167252898216,
1.06999933719635,
0.26153862476348877,
-0.43239983916282654,
0.35437461733818054,
0.3649868965148926,
-0.36383312940597534,
-0.4994567930698395,
-0.00027386084548197687,
0.42440178990364075,
0.11598990857601166,
0.3090795576572418,
-0.40473273396492004,
0.874237060546... |
func (m *metricRedisMemoryUsed) init() {
m.data.SetName("redis.memory.used")
m.data.SetDescription("Total number of bytes allocated by Redis using its allocator")
m.data.SetUnit("By")
m.data.SetEmptyGauge()
} | [
0.421661913394928,
0.1722492277622223,
0.5581998229026794,
-1.1780152320861816,
0.432590514421463,
-0.12840476632118225,
0.1890026330947876,
-0.5071195363998413,
-0.6078776121139526,
-0.06212637573480606,
0.31276383996009827,
0.9574453830718994,
0.330008864402771,
1.1349155902862549,
-0.... |
func (m *metricRedisMemoryUsed) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
0.05433624982833862,
-0.08705098927021027,
0.3104122281074524,
-0.15136553347110748,
0.09929866343736649,
-0.5249512195587158,
0.7781293988227844,
-0.702289342880249,
-0.5496166348457336,
1.0835381746292114,
0.7239375114440918,
0.6063224673271179,
0.5619415640830994,
1.11168372631073,
0.... |
func (m *metricRedisMemoryUsed) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.16631197929382324,
1.2164802551269531,
0.2645241320133209,
-0.4289853870868683,
0.5541187524795532,
0.234742671251297,
0.025528565049171448,
-0.46452078223228455,
0.02211141213774681,
0.4935973286628723,
0.032562386244535446,
0.4882206618785858,
-0.5237542390823364,
1.0720664262771606,
... |
func (m *metricRedisNetInput) init() {
m.data.SetName("redis.net.input")
m.data.SetDescription("The total number of bytes read from the network")
m.data.SetUnit("By")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(true)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityCumulative)
} | [
0.36117351055145264,
0.9096165299415588,
0.6411054134368896,
-1.047244668006897,
0.4499599039554596,
1.000268816947937,
0.1946944147348404,
-0.5306001305580139,
-0.25801247358322144,
-0.2597058117389679,
0.3965175151824951,
-0.19240857660770416,
0.45352914929389954,
0.5764080286026001,
-... |
func (m *metricRedisNetInput) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
0.25303328037261963,
0.2973097860813141,
0.45423632860183716,
0.12283727526664734,
0.21119758486747742,
0.2220378965139389,
0.7591573596000671,
-0.6360357999801636,
-0.24887140095233917,
0.8199034333229065,
0.578401505947113,
-0.1070406436920166,
0.6269152164459229,
0.570281445980072,
-0... |
func (m *metricRedisNetInput) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.1128191128373146,
1.5779755115509033,
0.17454466223716736,
-0.10334861278533936,
0.7694944143295288,
1.0356450080871582,
-0.1383119374513626,
-0.4241369962692261,
-0.09684007614850998,
0.3320789635181427,
-0.26257991790771484,
-0.18992970883846283,
-0.3906346559524536,
0.613625288009643... |
func (m *metricRedisNetOutput) init() {
m.data.SetName("redis.net.output")
m.data.SetDescription("The total number of bytes written to the network")
m.data.SetUnit("By")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(true)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityCumulative)
} | [
0.5679850578308105,
0.5664498209953308,
0.3793257474899292,
-0.8676289319992065,
0.2194896638393402,
0.07291971892118454,
0.5740808248519897,
-0.5125553011894226,
-0.6728237867355347,
-0.21178306639194489,
0.38656002283096313,
-0.6603463292121887,
0.5721613168716431,
0.5138590931892395,
... |
func (m *metricRedisNetOutput) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
0.6487743258476257,
0.0796903744339943,
0.35613778233528137,
0.07100477814674377,
-0.0633758157491684,
-0.3831139802932739,
0.8521064519882202,
-0.6221937537193298,
-0.47584566473960876,
0.6921871900558472,
0.6528342366218567,
-0.3157024383544922,
0.8569759726524353,
0.4930625259876251,
... |
func (m *metricRedisNetOutput) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
0.14120596647262573,
1.3879551887512207,
0.11040758341550827,
-0.07130374014377594,
0.5177375078201294,
0.5611603260040283,
-0.08031734079122543,
-0.44306817650794983,
-0.22124327719211578,
0.22315162420272827,
-0.09110075980424881,
-0.5567144155502319,
-0.21136029064655304,
0.404069542884... |
func (m *metricRedisRdbChangesSinceLastSave) init() {
m.data.SetName("redis.rdb.changes_since_last_save")
m.data.SetDescription("Number of changes since the last dump")
m.data.SetUnit("{change}")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(false)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemp... | [
0.23706883192062378,
0.89168381690979,
0.7500719428062439,
-1.0649049282073975,
-0.013051598332822323,
0.49663931131362915,
-0.15593433380126953,
-0.1294557899236679,
-0.45568016171455383,
0.6596074104309082,
0.1271836906671524,
-0.21152634918689728,
0.384850412607193,
0.7390798330307007,
... |
func (m *metricRedisRdbChangesSinceLastSave) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
0.0060580018907785416,
0.12321688234806061,
0.5799926519393921,
0.27628710865974426,
0.03799225017428398,
-0.16481353342533112,
0.549133837223053,
-0.2546578645706177,
-0.21104198694229126,
1.1396186351776123,
0.40335819125175476,
-0.01455538347363472,
0.5434646606445312,
0.548397779464721... |
func (m *metricRedisRdbChangesSinceLastSave) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.10937773436307907,
1.2542173862457275,
0.3038884401321411,
0.07735311985015869,
0.4196980595588684,
0.5794289112091064,
-0.17440304160118103,
0.013888092711567879,
0.04415739327669144,
0.8392032384872437,
-0.005937736015766859,
0.003807266242802143,
-0.4875818192958832,
0.62090402841567... |
func (m *metricRedisReplicationBacklogFirstByteOffset) init() {
m.data.SetName("redis.replication.backlog_first_byte_offset")
m.data.SetDescription("The master offset of the replication backlog buffer")
m.data.SetUnit("By")
m.data.SetEmptyGauge()
} | [
1.5344839096069336,
0.058546554297208786,
0.5748882293701172,
-1.0117236375808716,
0.45087483525276184,
0.9225922226905823,
0.16257226467132568,
0.34403279423713684,
-0.7307437062263489,
0.05793362110853195,
-0.4144984483718872,
0.7231653928756714,
-0.21704500913619995,
0.4137570261955261,... |
func (m *metricRedisReplicationBacklogFirstByteOffset) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
0.4171775281429291,
-0.02700025774538517,
0.3580772578716278,
-0.2774503231048584,
-0.2670881450176239,
-0.02773893252015114,
0.8162601590156555,
-0.3541543781757355,
-0.4401474595069885,
1.1872361898422241,
0.3674481511116028,
0.36348170042037964,
0.4399479031562805,
0.5413205027580261,
... |
func (m *metricRedisReplicationBacklogFirstByteOffset) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
0.47662657499313354,
1.3115661144256592,
0.2949826121330261,
-0.17129692435264587,
0.5497366786003113,
0.8015524744987488,
0.20725993812084198,
-0.041884761303663254,
-0.16240659356117249,
0.613227367401123,
-0.10251085460186005,
0.4263368546962738,
-0.4547877311706543,
0.2616836428642273,... |
func (m *metricRedisReplicationOffset) init() {
m.data.SetName("redis.replication.offset")
m.data.SetDescription("The server's current replication offset")
m.data.SetUnit("By")
m.data.SetEmptyGauge()
} | [
0.6199230551719666,
0.15258784592151642,
0.4351728558540344,
-1.4122438430786133,
-0.3369031548500061,
1.2634707689285278,
0.14260990917682648,
0.4782230854034424,
-0.5120784640312195,
0.21192610263824463,
-0.12038876861333847,
1.2583398818969727,
0.1135752871632576,
0.2910674214363098,
... |
func (m *metricRedisReplicationOffset) updateCapacity() {
if m.data.Gauge().DataPoints().Len() > m.capacity {
m.capacity = m.data.Gauge().DataPoints().Len()
}
} | [
0.08358129858970642,
0.1440989077091217,
0.34785932302474976,
-0.442024827003479,
-0.4866076707839966,
0.12798307836055756,
0.6365005970001221,
-0.20034632086753845,
-0.32221123576164246,
1.0904481410980225,
0.5546785593032837,
0.4239717423915863,
0.8837431073188782,
0.422171413898468,
0... |
func (m *metricRedisReplicationOffset) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Gauge().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.027162451297044754,
1.4286956787109375,
0.2321951538324356,
-0.4597233235836029,
0.20656931400299072,
1.0258487462997437,
0.032760631293058395,
0.15766410529613495,
0.03188498318195343,
0.568536639213562,
-0.1026124358177185,
0.37144967913627625,
-0.16462333500385284,
0.2863453328609466... |
func (m *metricRedisRole) init() {
m.data.SetName("redis.role")
m.data.SetDescription("Redis node's role")
m.data.SetUnit("{role}")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(false)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityCumulative)
m.data.Sum().DataPoints().EnsureCapacity(m.c... | [
0.4323428273200989,
0.6460001468658447,
0.5123726725578308,
-1.631697416305542,
0.8256295323371887,
0.6086390614509583,
-0.09347736835479736,
-0.22815485298633575,
-0.46009349822998047,
0.18138056993484497,
0.7641541361808777,
0.6893552541732788,
0.9887896180152893,
0.5793989300727844,
0... |
func (m *metricRedisRole) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
0.14691749215126038,
0.0760093480348587,
0.4713740944862366,
-0.2642141580581665,
0.03526445850729942,
-0.16379410028457642,
0.5690932273864746,
-0.3927534222602844,
-0.19892185926437378,
0.9313445091247559,
0.6405957937240601,
0.3351203203201294,
1.0825505256652832,
0.5304237008094788,
... |
func (m *metricRedisRole) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.041696947067976,
1.3555494546890259,
0.207619309425354,
-0.45153531432151794,
0.673595130443573,
0.6609523892402649,
-0.24514774978160858,
-0.21867506206035614,
0.07971981912851334,
0.5834332704544067,
-0.044936854392290115,
0.16207878291606903,
-0.012958272360265255,
0.5439699292182922... |
func (m *metricRedisSlavesConnected) init() {
m.data.SetName("redis.slaves.connected")
m.data.SetDescription("Number of connected replicas")
m.data.SetUnit("{replica}")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(false)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityCumulative)
} | [
0.5375783443450928,
0.4820966422557831,
0.4788517355918884,
-1.5026066303253174,
-0.1942301243543625,
0.7309484481811523,
-0.053701251745224,
0.11658872663974762,
-0.5551469326019287,
0.6257243156433105,
0.09342145919799805,
0.7020940184593201,
1.0269248485565186,
0.622958779335022,
-0.6... |
func (m *metricRedisSlavesConnected) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
0.35714396834373474,
0.13520389795303345,
0.450015664100647,
-0.10821761935949326,
0.07276926934719086,
0.0866270661354065,
0.461111456155777,
-0.1884598582983017,
-0.265779048204422,
1.1775248050689697,
0.5460033416748047,
0.41685137152671814,
0.7041976451873779,
0.567492663860321,
-0.0... |
func (m *metricRedisSlavesConnected) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
0.16459307074546814,
1.2877479791641235,
0.19593825936317444,
-0.3559999167919159,
0.606492817401886,
0.943603515625,
-0.38730356097221375,
0.08395981788635254,
-0.03353879600763321,
0.6719444990158081,
-0.2480441927909851,
0.3363262712955475,
-0.2515207529067993,
0.5400198101997375,
-0.... |
func (m *metricRedisUptime) init() {
m.data.SetName("redis.uptime")
m.data.SetDescription("Number of seconds since Redis server start")
m.data.SetUnit("s")
m.data.SetEmptySum()
m.data.Sum().SetIsMonotonic(true)
m.data.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityCumulative)
} | [
0.09410716593265533,
0.779434859752655,
0.7673746943473816,
-0.7992413640022278,
0.10364744067192078,
0.5511576533317566,
-0.1105070486664772,
-0.2178007811307907,
-0.34617576003074646,
0.69239741563797,
0.05657866597175598,
0.2783474028110504,
0.6518272757530212,
0.7606201767921448,
-0.... |
func (m *metricRedisUptime) updateCapacity() {
if m.data.Sum().DataPoints().Len() > m.capacity {
m.capacity = m.data.Sum().DataPoints().Len()
}
} | [
0.08679753541946411,
0.4390229880809784,
0.5024352073669434,
0.2697898745536804,
0.05886235460639,
-0.2387831211090088,
0.5438005328178406,
-0.40627434849739075,
-0.2447400540113449,
1.1433660984039307,
0.5984916687011719,
0.2761695384979248,
0.9594534039497375,
0.6428605914115906,
-0.05... |
func (m *metricRedisUptime) emit(metrics pmetric.MetricSlice) {
if m.config.Enabled && m.data.Sum().DataPoints().Len() > 0 {
m.updateCapacity()
m.data.MoveTo(metrics.AppendEmpty())
m.init()
}
} | [
-0.34308314323425293,
1.6498067378997803,
0.2541488707065582,
-0.00008183040336007252,
0.6988739371299744,
0.5729081630706787,
-0.29449382424354553,
-0.1006379947066307,
0.15043213963508606,
0.7155593037605286,
-0.1578693687915802,
0.08939572423696518,
-0.1900717169046402,
0.48655900359153... |
func WithStartTime(startTime pcommon.Timestamp) metricBuilderOption {
return func(mb *MetricsBuilder) {
mb.startTime = startTime
}
} | [
1.2032256126403809,
-0.43426093459129333,
0.21499355137348175,
0.5655066967010498,
0.07885908335447311,
0.6783062815666199,
1.1372742652893066,
-0.10845214873552322,
0.5298794507980347,
0.4423459470272064,
0.3010234832763672,
-0.8012542128562927,
-0.2433791160583496,
0.11947979778051376,
... |
func (mb *MetricsBuilder) NewResourceBuilder() *ResourceBuilder {
return NewResourceBuilder(mb.config.ResourceAttributes)
} | [
0.9225432872772217,
0.27289023995399475,
0.21211935579776764,
0.721356213092804,
-1.2296950817108154,
0.5672619342803955,
1.3396754264831543,
0.47058016061782837,
0.23970705270767212,
-0.18335272371768951,
0.7768445611000061,
-0.40278664231300354,
-0.6417350769042969,
1.060911774635315,
... |
func (mb *MetricsBuilder) updateCapacity(rm pmetric.ResourceMetrics) {
if mb.metricsCapacity < rm.ScopeMetrics().At(0).Metrics().Len() {
mb.metricsCapacity = rm.ScopeMetrics().At(0).Metrics().Len()
}
} | [
0.016130007803440094,
-0.23574340343475342,
0.520313560962677,
0.18618346750736237,
-0.0715794488787651,
0.9159708619117737,
1.5581941604614258,
-0.5451998710632324,
-0.04439118877053261,
0.9770433306694031,
0.8974798321723938,
0.34172484278678894,
0.2319357991218567,
0.9808375835418701,
... |
func WithResource(res pcommon.Resource) ResourceMetricsOption {
return func(rm pmetric.ResourceMetrics) {
res.CopyTo(rm.Resource())
}
} | [
1.2685025930404663,
-0.09252238273620605,
0.36456191539764404,
0.1556246429681778,
-0.46788454055786133,
0.8629546761512756,
1.578091025352478,
-0.4704180359840393,
0.3941817581653595,
0.38961926102638245,
1.01008939743042,
-0.611609697341919,
-0.16227132081985474,
-0.6322349905967712,
-... |
func WithStartTimeOverride(start pcommon.Timestamp) ResourceMetricsOption {
return func(rm pmetric.ResourceMetrics) {
var dps pmetric.NumberDataPointSlice
metrics := rm.ScopeMetrics().At(0).Metrics()
for i := 0; i < metrics.Len(); i++ {
switch metrics.At(i).Type() {
case pmetric.MetricTypeGauge:
dps = ... | [
0.5220524072647095,
0.7553253173828125,
0.8957780003547668,
-0.6654493808746338,
-0.009259914979338646,
0.06313582509756088,
0.028032714501023293,
-0.9487852454185486,
0.05657116696238518,
0.38605231046676636,
0.2476014494895935,
-0.360431045293808,
0.3223097622394562,
-0.09975828975439072... |
func (mb *MetricsBuilder) EmitForResource(rmo ...ResourceMetricsOption) {
rm := pmetric.NewResourceMetrics()
ils := rm.ScopeMetrics().AppendEmpty()
ils.Scope().SetName("otelcol/redisreceiver")
ils.Scope().SetVersion(mb.buildInfo.Version)
ils.Metrics().EnsureCapacity(mb.metricsCapacity)
mb.metricRedisClientsBlocke... | [
0.5633288025856018,
0.36530932784080505,
0.5183853507041931,
-0.2785537540912628,
0.031216787174344063,
0.12714964151382446,
0.14932487905025482,
-0.3597666025161743,
-0.3492130935192108,
-0.08272364735603333,
-0.265236496925354,
0.05121162533760071,
0.19276584684848785,
1.2285536527633667... |
func (mb *MetricsBuilder) Emit(rmo ...ResourceMetricsOption) pmetric.Metrics {
mb.EmitForResource(rmo...)
metrics := mb.metricsBuffer
mb.metricsBuffer = pmetric.NewMetrics()
return metrics
} | [
0.2889827787876129,
0.2686980366706848,
0.3532048165798187,
0.09502310305833817,
0.5187605619430542,
1.1608442068099976,
0.5882449746131897,
-0.6849269866943359,
0.05020403489470482,
-0.29769453406333923,
-0.045331235975027084,
0.33394479751586914,
-0.610842764377594,
0.5622283220291138,
... |
func (mb *MetricsBuilder) RecordRedisClientsBlockedDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisClientsBlocked.recordDataPoint(mb.startTime, ts, val)
} | [
0.3131886422634125,
0.6725223064422607,
0.2840796411037445,
0.006705827079713345,
0.30630072951316833,
0.9025965332984924,
0.06479203701019287,
-0.9109848737716675,
-0.47120440006256104,
-0.06044517084956169,
-0.370434045791626,
1.6738227605819702,
-0.5256161093711853,
0.781202495098114,
... |
func (mb *MetricsBuilder) RecordRedisClientsConnectedDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisClientsConnected.recordDataPoint(mb.startTime, ts, val)
} | [
0.3778088688850403,
0.14854618906974792,
-0.01338807400316,
-0.8301233053207397,
-0.0935928076505661,
0.8052207827568054,
-0.2203112095594406,
-0.6773850917816162,
-0.14684323966503143,
0.13301272690296173,
-0.18845057487487793,
1.0020650625228882,
0.23956593871116638,
0.3819888234138489,
... |
func (mb *MetricsBuilder) RecordRedisClientsMaxInputBufferDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisClientsMaxInputBuffer.recordDataPoint(mb.startTime, ts, val)
} | [
0.44695231318473816,
0.602534830570221,
0.4524345397949219,
-0.9882683157920837,
-1.0442143678665161,
0.7740800976753235,
-0.26102516055107117,
-0.5548329949378967,
0.48698362708091736,
-0.12734438478946686,
-0.6342030763626099,
0.7845357656478882,
-0.6971704363822937,
0.4706198573112488,
... |
func (mb *MetricsBuilder) RecordRedisClientsMaxOutputBufferDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisClientsMaxOutputBuffer.recordDataPoint(mb.startTime, ts, val)
} | [
0.27542781829833984,
0.353514701128006,
0.4543696939945221,
-0.3184124231338501,
-1.1047115325927734,
0.5498623847961426,
-0.6495398283004761,
-0.5239509344100952,
0.2847544252872467,
-0.14453426003456116,
-0.3570137023925781,
0.5301418900489807,
-0.05391526222229004,
0.5585339665412903,
... |
func (mb *MetricsBuilder) RecordRedisCmdCallsDataPoint(ts pcommon.Timestamp, val int64, cmdAttributeValue string) {
mb.metricRedisCmdCalls.recordDataPoint(mb.startTime, ts, val, cmdAttributeValue)
} | [
0.5953448414802551,
0.3200089931488037,
0.3590746819972992,
-0.6457521915435791,
-0.16369208693504333,
0.7040798664093018,
-0.7085338830947876,
-0.7130894064903259,
0.6583073735237122,
-0.5075761675834656,
0.36405208706855774,
0.8737020492553711,
0.40281933546066284,
0.9130266904830933,
... |
func (mb *MetricsBuilder) RecordRedisCmdUsecDataPoint(ts pcommon.Timestamp, val int64, cmdAttributeValue string) {
mb.metricRedisCmdUsec.recordDataPoint(mb.startTime, ts, val, cmdAttributeValue)
} | [
0.1066160798072815,
0.2453826516866684,
0.36093780398368835,
-0.17969639599323273,
-0.14615100622177124,
0.38012459874153137,
-0.26050353050231934,
-0.16359800100326538,
0.2130701094865799,
-0.2474680095911026,
-0.04034490883350372,
1.255085825920105,
0.8209918737411499,
0.3408365249633789... |
func (mb *MetricsBuilder) RecordRedisCommandsDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisCommands.recordDataPoint(mb.startTime, ts, val)
} | [
0.07836506515741348,
0.7162426710128784,
0.26338568329811096,
0.003124857787042856,
0.5175498723983765,
0.35001543164253235,
-0.18326741456985474,
-0.48309504985809326,
0.23631155490875244,
-0.4436689019203186,
-0.02645275928080082,
0.6940966844558716,
0.25483980774879456,
0.74259102344512... |
func (mb *MetricsBuilder) RecordRedisCommandsProcessedDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisCommandsProcessed.recordDataPoint(mb.startTime, ts, val)
} | [
0.08608168363571167,
0.4117487668991089,
0.3411669433116913,
-0.08552899211645126,
0.4589936137199402,
0.3233899772167206,
-0.09956992417573929,
-0.3589606285095215,
-0.22806212306022644,
-0.29678991436958313,
-0.16843268275260925,
0.6402539014816284,
0.264544278383255,
0.7235202789306641,... |
func (mb *MetricsBuilder) RecordRedisConnectionsReceivedDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisConnectionsReceived.recordDataPoint(mb.startTime, ts, val)
} | [
0.01694219745695591,
0.5345262885093689,
0.3298806846141815,
-0.8991706371307373,
-0.2260642945766449,
0.664304792881012,
-0.3668871521949768,
-0.3898511528968811,
0.694187343120575,
-0.24705708026885986,
-0.20228654146194458,
0.3818076252937317,
0.2225697934627533,
0.3581371307373047,
-... |
func (mb *MetricsBuilder) RecordRedisConnectionsRejectedDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisConnectionsRejected.recordDataPoint(mb.startTime, ts, val)
} | [
-0.18126675486564636,
0.7386069893836975,
0.15919901430606842,
-0.8337249755859375,
-0.22859413921833038,
0.6377988457679749,
-0.6697006225585938,
-0.49661242961883545,
0.3076208829879761,
-0.38163504004478455,
-0.05438976362347603,
0.6398404836654663,
-0.34202420711517334,
0.1944610476493... |
func (mb *MetricsBuilder) RecordRedisCPUTimeDataPoint(ts pcommon.Timestamp, val float64, stateAttributeValue AttributeState) {
mb.metricRedisCPUTime.recordDataPoint(mb.startTime, ts, val, stateAttributeValue.String())
} | [
0.2990182936191559,
0.7432527542114258,
0.1594313532114029,
-0.2489539533853531,
-0.33228567242622375,
0.3444414734840393,
-0.6001518368721008,
-0.15506641566753387,
0.1465383768081665,
0.28922930359840393,
-0.309236079454422,
0.8016156554222107,
0.3285292088985443,
0.23690834641456604,
... |
func (mb *MetricsBuilder) RecordRedisDbAvgTTLDataPoint(ts pcommon.Timestamp, val int64, dbAttributeValue string) {
mb.metricRedisDbAvgTTL.recordDataPoint(mb.startTime, ts, val, dbAttributeValue)
} | [
0.042673271149396896,
0.8439536094665527,
0.3452071249485016,
-0.5777130126953125,
-0.29259252548217773,
1.0244688987731934,
-0.27060508728027344,
-0.43137645721435547,
-0.6865512132644653,
0.7621186375617981,
-0.19484946131706238,
1.2926051616668701,
0.22295771539211273,
0.926748394966125... |
func (mb *MetricsBuilder) RecordRedisDbExpiresDataPoint(ts pcommon.Timestamp, val int64, dbAttributeValue string) {
mb.metricRedisDbExpires.recordDataPoint(mb.startTime, ts, val, dbAttributeValue)
} | [
0.18990983068943024,
0.9520246386528015,
0.07188552618026733,
-0.09733973443508148,
-0.2761255204677582,
0.5048257112503052,
-0.6003490090370178,
0.5538902282714844,
0.4919537901878357,
0.6391726136207581,
-0.12661272287368774,
0.6567018628120422,
-0.3263116478919983,
0.7750905156135559,
... |
func (mb *MetricsBuilder) RecordRedisDbKeysDataPoint(ts pcommon.Timestamp, val int64, dbAttributeValue string) {
mb.metricRedisDbKeys.recordDataPoint(mb.startTime, ts, val, dbAttributeValue)
} | [
-0.14183320105075836,
0.9496742486953735,
0.20394350588321686,
-0.26356208324432373,
-0.15672805905342102,
0.40995365381240845,
-0.43543460965156555,
-0.20156092941761017,
-0.16612987220287323,
0.44121089577674866,
-0.5365875363349915,
0.8876736760139465,
-0.3116757571697235,
0.77837228775... |
func (mb *MetricsBuilder) RecordRedisKeysEvictedDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisKeysEvicted.recordDataPoint(mb.startTime, ts, val)
} | [
-0.3235799968242645,
0.8621475696563721,
0.20341061055660248,
0.12194130569696426,
0.011416102759540081,
-0.10776857286691666,
-0.6357935667037964,
-0.4209199547767639,
-0.08339077979326248,
0.5024319887161255,
-0.9746384024620056,
1.554705262184143,
-0.348898708820343,
0.8288328051567078,... |
func (mb *MetricsBuilder) RecordRedisKeysExpiredDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisKeysExpired.recordDataPoint(mb.startTime, ts, val)
} | [
-0.08334845304489136,
0.8214446306228638,
0.16708821058273315,
-0.14158251881599426,
-0.3346175253391266,
0.15269629657268524,
-1.514898419380188,
-0.06157645583152771,
-0.2419230341911316,
0.8057767748832703,
-0.7254220843315125,
0.9344894886016846,
-0.3082493543624878,
0.9228798151016235... |
func (mb *MetricsBuilder) RecordRedisKeyspaceHitsDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisKeyspaceHits.recordDataPoint(mb.startTime, ts, val)
} | [
0.3145431876182556,
0.5754629373550415,
0.3781786859035492,
-0.19267232716083527,
0.006786314304918051,
0.7225918173789978,
-0.32969826459884644,
-0.1641203612089157,
0.030826421454548836,
-0.2559291422367096,
-0.4729571044445038,
1.156686782836914,
0.022510483860969543,
1.0470348596572876... |
func (mb *MetricsBuilder) RecordRedisKeyspaceMissesDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisKeyspaceMisses.recordDataPoint(mb.startTime, ts, val)
} | [
0.057029839605093,
0.18186701834201813,
0.27011457085609436,
-0.23216809332370758,
-0.2091260552406311,
0.8697288036346436,
-0.6738160848617554,
-0.7413573861122131,
0.2097998708486557,
0.0024662872310727835,
-0.37823405861854553,
0.6712949872016907,
0.049800027161836624,
1.884957313537597... |
func (mb *MetricsBuilder) RecordRedisLatestForkDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisLatestFork.recordDataPoint(mb.startTime, ts, val)
} | [
0.09500858187675476,
0.6734575629234314,
0.2882453501224518,
0.17565274238586426,
0.7460411190986633,
0.4858986437320709,
-0.5934329628944397,
-0.06034884601831436,
-0.48572587966918945,
-0.4438331425189972,
-0.5275526642799377,
0.7987566590309143,
0.6926231384277344,
0.8641539812088013,
... |
func (mb *MetricsBuilder) RecordRedisMaxmemoryDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisMaxmemory.recordDataPoint(mb.startTime, ts, val)
} | [
0.8842988610267639,
0.6912630796432495,
0.3169315755367279,
0.17827178537845612,
-0.3026656210422516,
0.5332186818122864,
-1.348240852355957,
-0.12359698116779327,
0.5368655323982239,
0.3340936303138733,
-0.1019999161362648,
1.0409300327301025,
-0.09070643037557602,
0.9125632643699646,
-... |
func (mb *MetricsBuilder) RecordRedisMemoryFragmentationRatioDataPoint(ts pcommon.Timestamp, val float64) {
mb.metricRedisMemoryFragmentationRatio.recordDataPoint(mb.startTime, ts, val)
} | [
0.3741493821144104,
1.0006593465805054,
0.4062769412994385,
-0.24206110835075378,
0.02215682715177536,
-0.13535389304161072,
-0.560924232006073,
-0.09073492884635925,
0.38020193576812744,
0.217081218957901,
0.07706510275602341,
-0.14707903563976288,
-0.25919318199157715,
1.1853138208389282... |
func (mb *MetricsBuilder) RecordRedisMemoryLuaDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisMemoryLua.recordDataPoint(mb.startTime, ts, val)
} | [
0.4168896973133087,
0.46938130259513855,
0.47069549560546875,
-0.5230833292007446,
0.08431760221719742,
0.19323275983333588,
-0.8625249862670898,
0.02087482623755932,
0.6307497024536133,
0.06380297988653183,
-0.24629101157188416,
1.1737042665481567,
0.01452316902577877,
0.7773897051811218,... |
func (mb *MetricsBuilder) RecordRedisMemoryPeakDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisMemoryPeak.recordDataPoint(mb.startTime, ts, val)
} | [
0.36495211720466614,
1.0475200414657593,
0.37658149003982544,
-0.07173547893762589,
-0.010338368825614452,
0.30844587087631226,
-0.8970891833305359,
-0.00046828988706693053,
0.6433746218681335,
0.434810608625412,
-0.5771887302398682,
1.1191715002059937,
-0.13269412517547607,
0.656644225120... |
func (mb *MetricsBuilder) RecordRedisMemoryRssDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisMemoryRss.recordDataPoint(mb.startTime, ts, val)
} | [
0.4216171205043793,
0.22474287450313568,
0.43392640352249146,
-0.5875561237335205,
-0.4020540416240692,
0.06917577981948853,
-1.172845482826233,
-0.4891045093536377,
0.5569268465042114,
-0.3223400413990021,
-0.2821005880832672,
0.883438229560852,
-0.05889814719557762,
1.152703881263733,
... |
func (mb *MetricsBuilder) RecordRedisMemoryUsedDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisMemoryUsed.recordDataPoint(mb.startTime, ts, val)
} | [
0.03068019635975361,
0.3632569909095764,
0.37514784932136536,
-0.412901908159256,
-0.06835321336984634,
-0.2534344494342804,
-0.0436340756714344,
-0.6143892407417297,
0.20999500155448914,
-0.019789595156908035,
-0.4460902810096741,
1.0969208478927612,
-0.14835025370121002,
1.10765218734741... |
func (mb *MetricsBuilder) RecordRedisNetInputDataPoint(ts pcommon.Timestamp, val int64) {
mb.metricRedisNetInput.recordDataPoint(mb.startTime, ts, val)
} | [
0.12520408630371094,
0.9282959699630737,
0.12862716615200043,
-0.12085291743278503,
0.16943766176700592,
0.8669954538345337,
-0.41776183247566223,
-0.6336764097213745,
-0.03911134600639343,
-0.10381633043289185,
-0.6005692481994629,
0.43695685267448425,
-0.20975059270858765,
0.633894860744... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.