solarwinds_apm 5.1.8 → 5.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38400d874e2a05decf3eb4e7691ac398dc41176bb904a72a58e38006440cee4f
4
- data.tar.gz: 2ae5f68730f05b225293a983a13583103b1cbe02bbd906d8ad2aa4a7b074622a
3
+ metadata.gz: 0e79b789228d9d0885289c825d1ae712bab1d9450334f6b27fd72e19763b436a
4
+ data.tar.gz: 62ec2e7f017cfa2824d269d7db3a3330d9c5c5555424552f8c289f1401caa60d
5
5
  SHA512:
6
- metadata.gz: 712b3ce5b8dafdf5b53c0bbec9da080a4f28ea34ed798d227a965c611b09775147f5145572c4200fef7034ca5233c2b06b58d5064ec798a162f8d7d76020d9fa
7
- data.tar.gz: 054b79133ed377c8d47ab9ce79cdd41519c8bb9f4ef8187d397d6893f0ad3a2a6a6329d22e9e6297b44e9c09d6194b6027e4ec3c7a7ff680d1dc4bcac0371ee6
6
+ metadata.gz: 210f5a2c53d302666b12a3afff04481bf3ea094f509b6275aedf5825cdce721d45dcd5dfd170b2c1ab484ef01c9e5bc098235213a066d0cb860caa99c9fbf00b
7
+ data.tar.gz: 49280e85e07e7523c67b0bb848d71c9160c01c4861fffcccd526af7be436ca709fb31e9995f5326cf497ceffa1622244fc98ba5bba1c601fcf2e5687a49b7d01
data/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@ https://github.com/solarwindscloud/solarwinds-apm-ruby/releases
3
3
 
4
4
  Dates in this file are in the format MM/DD/YYYY.
5
5
 
6
+ # solarwinds_apm 5.1.9 (05/025/2023)
7
+
8
+ This release includes the following features:
9
+
10
+ * Update latest liboboe library (12.3.0)
11
+
12
+ Pushed to Rubygems:
13
+
14
+ https://rubygems.org/gems/solarwinds_apm/versions/5.1.9
15
+
6
16
  # solarwinds_apm 5.1.8 (05/09/2023)
7
17
 
8
18
  This release includes the following features:
@@ -1 +1 @@
1
- 5a62c8d1bd4cb5970a1a2e20b5d6424203a783b6d5ae17bffa90f7c8cac1b49a
1
+ 5403faf71b2d26bf2a0fd32d159f10b920d5fdafc0aef4b335e5e272d22c1b70
@@ -1 +1 @@
1
- 0b2d8c81c9180d44206f89e01f76c4f6ae1dc49f289918b8544083afff66086c
1
+ 78964dc06204715aa29a8ff47b259984ae476ab72f3d0d983e2ef1c52ef70d6a
@@ -1 +1 @@
1
- 6443f871141df922693f30a3fbc9772d7af7341539286168e42de51073336daa
1
+ 97c82835d4dbf1130b33a1c75a3c5d9923b1b5c5224e19db9902288c29d128c5
@@ -1 +1 @@
1
- bc83cb241947ad798285fe152dab4f7dd135075a303b128c4d5be7dea0ef9620
1
+ 6c04a460825bf130caa83433ad0aa01b56f4c5a4ca891df3ffa516db8dc9486a
@@ -1,2 +1,2 @@
1
- 12.2.0
1
+ 12.3.0
2
2
 
@@ -293,27 +293,27 @@ Event *Event::startTrace(const oboe_metadata_t *md) {
293
293
  }
294
294
 
295
295
  // called e.g. from Python e.addInfo("Key", None) & Ruby e.addInfo("Key", nil)
296
- bool Event::addInfo(char *key, void *val) {
296
+ bool Event::addInfo(const char *key, void *val) {
297
297
  // oboe_event_add_info(evt, key, NULL) does nothing
298
298
  (void)key;
299
299
  (void)val;
300
300
  return true;
301
301
  }
302
302
 
303
- bool Event::addInfo(char *key, const std::string& val) {
303
+ bool Event::addInfo(const char *key, const std::string& val) {
304
304
  return oboe_event_add_info(this, key, val.c_str()) == 0;
305
305
  }
306
306
 
307
- bool Event::addInfo(char *key, long val) {
307
+ bool Event::addInfo(const char *key, long val) {
308
308
  int64_t val_ = val;
309
309
  return oboe_event_add_info_int64(this, key, val_) == 0;
310
310
  }
311
311
 
312
- bool Event::addInfo(char *key, double val) {
312
+ bool Event::addInfo(const char *key, double val) {
313
313
  return oboe_event_add_info_double(this, key, val) == 0;
314
314
  }
315
315
 
316
- bool Event::addInfo(char *key, bool val) {
316
+ bool Event::addInfo(const char *key, bool val) {
317
317
  return oboe_event_add_info_bool(this, key, val) == 0;
318
318
  }
319
319
 
@@ -321,7 +321,7 @@ bool Event::addInfo(char *key, bool val) {
321
321
  * this function was added for profiling
322
322
  * to report the timestamps of omitted snapshots
323
323
  */
324
- bool Event::addInfo(char *key, const long *vals, int num) {
324
+ bool Event::addInfo(const char *key, const long *vals, int num) {
325
325
  oboe_bson_append_start_array(&(this->bbuf), key);
326
326
  for (int i = 0; i < num; i++) {
327
327
  oboe_bson_append_long(&(this->bbuf), std::to_string(i).c_str(), (int64_t)vals[i]);
@@ -330,11 +330,12 @@ bool Event::addInfo(char *key, const long *vals, int num) {
330
330
  return true;
331
331
  }
332
332
 
333
+ #ifndef SWIG
333
334
  /*
334
335
  * A profiling specific addInfo function
335
336
  * to add the frames that make up a snapshot
336
337
  */
337
- bool Event::addInfo(char *key, const std::vector<FrameData> &vals) {
338
+ bool Event::addInfo(const char *key, const std::vector<FrameData> &vals) {
338
339
  oboe_bson_append_start_array(&(this->bbuf), key);
339
340
  int i = 0;
340
341
  for (FrameData val : vals) {
@@ -355,6 +356,7 @@ bool Event::addInfo(char *key, const std::vector<FrameData> &vals) {
355
356
  oboe_bson_append_finish_object(&(this->bbuf));
356
357
  return true;
357
358
  }
359
+ #endif
358
360
 
359
361
  bool Event::addEdge(oboe_metadata_t *md) {
360
362
  return oboe_event_add_edge(this, md) == 0;
@@ -315,15 +315,15 @@ class Event : private oboe_event_t {
315
315
  ~Event();
316
316
 
317
317
  // called e.g. from Python e.addInfo("Key", None) & Ruby e.addInfo("Key", nil)
318
- bool addInfo(char *key, void *val);
319
- bool addInfo(char *key, const std::string& val);
320
- bool addInfo(char *key, long val);
321
- bool addInfo(char *key, double val);
322
- bool addInfo(char *key, bool val);
323
- bool addInfo(char *key, const long *vals, int num);
318
+ bool addInfo(const char *key, void *val);
319
+ bool addInfo(const char *key, const std::string& val);
320
+ bool addInfo(const char *key, long val);
321
+ bool addInfo(const char *key, double val);
322
+ bool addInfo(const char *key, bool val);
323
+ bool addInfo(const char *key, const long *vals, int num);
324
324
 
325
325
  #ifndef SWIG // for profiling only used by Ruby gem cpp-code
326
- bool addInfo(char *key, const std::vector<FrameData> &vals);
326
+ bool addInfo(const char *key, const std::vector<FrameData> &vals);
327
327
  #endif
328
328
 
329
329
  bool addEdge(oboe_metadata_t *md);
@@ -41,6 +41,7 @@ enum OBOE_DEBUG_MODULE {
41
41
  OBOE_MODULE_HOST_ID_SERVICE,
42
42
  OBOE_MODULE_AWS_RESOURCE_PROVIDER,
43
43
  OBOE_MODULE_AZURE_RESOURCE_PROVIDER,
44
+ OBOE_MODULE_UAMSCLIENT_RESOURCE_PROVIDER
44
45
  };
45
46
 
46
47
  /** Compile time debug logging detail level - cannot log more detailed than this. */
@@ -5480,14 +5480,14 @@ _wrap_Event_addInfo__SWIG_0(int argc, VALUE *argv, VALUE self) {
5480
5480
  arg1 = reinterpret_cast< Event * >(argp1);
5481
5481
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
5482
5482
  if (!SWIG_IsOK(res2)) {
5483
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","addInfo", 2, argv[0] ));
5483
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addInfo", 2, argv[0] ));
5484
5484
  }
5485
5485
  arg2 = reinterpret_cast< char * >(buf2);
5486
5486
  res3 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg3), 0, 0);
5487
5487
  if (!SWIG_IsOK(res3)) {
5488
5488
  SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","addInfo", 3, argv[1] ));
5489
5489
  }
5490
- result = (bool)(arg1)->addInfo(arg2,arg3);
5490
+ result = (bool)(arg1)->addInfo((char const *)arg2,arg3);
5491
5491
  vresult = SWIG_From_bool(static_cast< bool >(result));
5492
5492
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
5493
5493
  return vresult;
@@ -5521,7 +5521,7 @@ _wrap_Event_addInfo__SWIG_1(int argc, VALUE *argv, VALUE self) {
5521
5521
  arg1 = reinterpret_cast< Event * >(argp1);
5522
5522
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
5523
5523
  if (!SWIG_IsOK(res2)) {
5524
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","addInfo", 2, argv[0] ));
5524
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addInfo", 2, argv[0] ));
5525
5525
  }
5526
5526
  arg2 = reinterpret_cast< char * >(buf2);
5527
5527
  {
@@ -5535,7 +5535,7 @@ _wrap_Event_addInfo__SWIG_1(int argc, VALUE *argv, VALUE self) {
5535
5535
  }
5536
5536
  arg3 = ptr;
5537
5537
  }
5538
- result = (bool)(arg1)->addInfo(arg2,(std::string const &)*arg3);
5538
+ result = (bool)(arg1)->addInfo((char const *)arg2,(std::string const &)*arg3);
5539
5539
  vresult = SWIG_From_bool(static_cast< bool >(result));
5540
5540
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
5541
5541
  if (SWIG_IsNewObj(res3)) delete arg3;
@@ -5572,7 +5572,7 @@ _wrap_Event_addInfo__SWIG_2(int argc, VALUE *argv, VALUE self) {
5572
5572
  arg1 = reinterpret_cast< Event * >(argp1);
5573
5573
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
5574
5574
  if (!SWIG_IsOK(res2)) {
5575
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","addInfo", 2, argv[0] ));
5575
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addInfo", 2, argv[0] ));
5576
5576
  }
5577
5577
  arg2 = reinterpret_cast< char * >(buf2);
5578
5578
  ecode3 = SWIG_AsVal_long(argv[1], &val3);
@@ -5580,7 +5580,7 @@ _wrap_Event_addInfo__SWIG_2(int argc, VALUE *argv, VALUE self) {
5580
5580
  SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "long","addInfo", 3, argv[1] ));
5581
5581
  }
5582
5582
  arg3 = static_cast< long >(val3);
5583
- result = (bool)(arg1)->addInfo(arg2,arg3);
5583
+ result = (bool)(arg1)->addInfo((char const *)arg2,arg3);
5584
5584
  vresult = SWIG_From_bool(static_cast< bool >(result));
5585
5585
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
5586
5586
  return vresult;
@@ -5615,7 +5615,7 @@ _wrap_Event_addInfo__SWIG_3(int argc, VALUE *argv, VALUE self) {
5615
5615
  arg1 = reinterpret_cast< Event * >(argp1);
5616
5616
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
5617
5617
  if (!SWIG_IsOK(res2)) {
5618
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","addInfo", 2, argv[0] ));
5618
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addInfo", 2, argv[0] ));
5619
5619
  }
5620
5620
  arg2 = reinterpret_cast< char * >(buf2);
5621
5621
  ecode3 = SWIG_AsVal_double(argv[1], &val3);
@@ -5623,7 +5623,7 @@ _wrap_Event_addInfo__SWIG_3(int argc, VALUE *argv, VALUE self) {
5623
5623
  SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","addInfo", 3, argv[1] ));
5624
5624
  }
5625
5625
  arg3 = static_cast< double >(val3);
5626
- result = (bool)(arg1)->addInfo(arg2,arg3);
5626
+ result = (bool)(arg1)->addInfo((char const *)arg2,arg3);
5627
5627
  vresult = SWIG_From_bool(static_cast< bool >(result));
5628
5628
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
5629
5629
  return vresult;
@@ -5658,7 +5658,7 @@ _wrap_Event_addInfo__SWIG_4(int argc, VALUE *argv, VALUE self) {
5658
5658
  arg1 = reinterpret_cast< Event * >(argp1);
5659
5659
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
5660
5660
  if (!SWIG_IsOK(res2)) {
5661
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","addInfo", 2, argv[0] ));
5661
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addInfo", 2, argv[0] ));
5662
5662
  }
5663
5663
  arg2 = reinterpret_cast< char * >(buf2);
5664
5664
  ecode3 = SWIG_AsVal_bool(argv[1], &val3);
@@ -5666,7 +5666,7 @@ _wrap_Event_addInfo__SWIG_4(int argc, VALUE *argv, VALUE self) {
5666
5666
  SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","addInfo", 3, argv[1] ));
5667
5667
  }
5668
5668
  arg3 = static_cast< bool >(val3);
5669
- result = (bool)(arg1)->addInfo(arg2,arg3);
5669
+ result = (bool)(arg1)->addInfo((char const *)arg2,arg3);
5670
5670
  vresult = SWIG_From_bool(static_cast< bool >(result));
5671
5671
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
5672
5672
  return vresult;
@@ -5704,7 +5704,7 @@ _wrap_Event_addInfo__SWIG_5(int argc, VALUE *argv, VALUE self) {
5704
5704
  arg1 = reinterpret_cast< Event * >(argp1);
5705
5705
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
5706
5706
  if (!SWIG_IsOK(res2)) {
5707
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","addInfo", 2, argv[0] ));
5707
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addInfo", 2, argv[0] ));
5708
5708
  }
5709
5709
  arg2 = reinterpret_cast< char * >(buf2);
5710
5710
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_long, 0 | 0 );
@@ -5717,7 +5717,7 @@ _wrap_Event_addInfo__SWIG_5(int argc, VALUE *argv, VALUE self) {
5717
5717
  SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","addInfo", 4, argv[2] ));
5718
5718
  }
5719
5719
  arg4 = static_cast< int >(val4);
5720
- result = (bool)(arg1)->addInfo(arg2,(long const *)arg3,arg4);
5720
+ result = (bool)(arg1)->addInfo((char const *)arg2,(long const *)arg3,arg4);
5721
5721
  vresult = SWIG_From_bool(static_cast< bool >(result));
5722
5722
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
5723
5723
  return vresult;
@@ -5857,12 +5857,12 @@ SWIGINTERN VALUE _wrap_Event_addInfo(int nargs, VALUE *args, VALUE self) {
5857
5857
 
5858
5858
  fail:
5859
5859
  Ruby_Format_OverloadedError( argc, 5, "Event.addInfo",
5860
- " bool Event.addInfo(char *key, void *val)\n"
5861
- " bool Event.addInfo(char *key, std::string const &val)\n"
5862
- " bool Event.addInfo(char *key, long val)\n"
5863
- " bool Event.addInfo(char *key, double val)\n"
5864
- " bool Event.addInfo(char *key, bool val)\n"
5865
- " bool Event.addInfo(char *key, long const *vals, int num)\n");
5860
+ " bool Event.addInfo(char const *key, void *val)\n"
5861
+ " bool Event.addInfo(char const *key, std::string const &val)\n"
5862
+ " bool Event.addInfo(char const *key, long val)\n"
5863
+ " bool Event.addInfo(char const *key, double val)\n"
5864
+ " bool Event.addInfo(char const *key, bool val)\n"
5865
+ " bool Event.addInfo(char const *key, long const *vals, int num)\n");
5866
5866
 
5867
5867
  return Qnil;
5868
5868
  }
@@ -8373,6 +8373,7 @@ SWIGEXPORT void Init_oboe_metal(void) {
8373
8373
  rb_define_const(mOboe_metal, "OBOE_MODULE_HOST_ID_SERVICE", SWIG_From_int(static_cast< int >(OBOE_MODULE_HOST_ID_SERVICE)));
8374
8374
  rb_define_const(mOboe_metal, "OBOE_MODULE_AWS_RESOURCE_PROVIDER", SWIG_From_int(static_cast< int >(OBOE_MODULE_AWS_RESOURCE_PROVIDER)));
8375
8375
  rb_define_const(mOboe_metal, "OBOE_MODULE_AZURE_RESOURCE_PROVIDER", SWIG_From_int(static_cast< int >(OBOE_MODULE_AZURE_RESOURCE_PROVIDER)));
8376
+ rb_define_const(mOboe_metal, "OBOE_MODULE_UAMSCLIENT_RESOURCE_PROVIDER", SWIG_From_int(static_cast< int >(OBOE_MODULE_UAMSCLIENT_RESOURCE_PROVIDER)));
8376
8377
  rb_define_const(mOboe_metal, "MAX_DEBUG_MSG_COUNT", SWIG_From_int(static_cast< int >(1)));
8377
8378
  rb_define_module_function(mOboe_metal, "oboe_debug_log_init", VALUEFUNC(_wrap_oboe_debug_log_init), -1);
8378
8379
  rb_define_module_function(mOboe_metal, "oboe_debug_logger", VALUEFUNC(_wrap_oboe_debug_logger), -1);
@@ -8,7 +8,7 @@ module SolarWindsAPM
8
8
  module Version
9
9
  MAJOR = 5 # breaking,
10
10
  MINOR = 1 # feature,
11
- PATCH = 8 # fix => BFF
11
+ PATCH = 9 # fix => BFF
12
12
  PRE = nil # for pre-releases into packagecloud, set to nil for production releases into rubygems
13
13
 
14
14
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solarwinds_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.8
4
+ version: 5.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maia Engeli
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-05-23 00:00:00.000000000 Z
14
+ date: 2023-05-29 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json