Commit Graph

  • c604a86fb9
    Fix %sysusers_create_package args Obihörnchen 2023-11-22 12:09:17 +01:00
  • b95e718715
    Fix %sysusers_create_package args Obihörnchen 2023-11-22 12:03:34 +01:00
  • 4bee75d4b5 Allow more then one background send operation Holger Obermaier 2023-10-13 15:15:10 +02:00
  • 78fac33a06 Add config option for HTTP request timeout and Retry interval Holger Obermaier 2023-10-13 15:00:06 +02:00
  • 0b509ca9e4 Be more strict, when parsing json Holger Obermaier 2023-10-13 09:53:49 +02:00
  • 595399e7d9 Add config option for HTTP keep-alives Holger Obermaier 2023-10-11 17:28:16 +02:00
  • f059d52d43 Use DefaultServeMux instead of github.com/gorilla/mux Holger Obermaier 2023-10-11 17:19:39 +02:00
  • b618e81cbb Add asynchron send of encoder metrics Holger Obermaier 2023-10-11 14:55:52 +02:00
  • 9df1054e32
    Update stdoutSink.md Thomas Gruber 2023-10-10 11:57:13 +02:00
  • e76eaa86ad
    Update influxAsyncSink.md Thomas Gruber 2023-10-10 11:56:42 +02:00
  • 262f0c6a86
    Update influxSink.md Thomas Gruber 2023-10-10 11:56:02 +02:00
  • b488ff76b1
    Update natsSink.md Thomas Gruber 2023-10-10 11:54:30 +02:00
  • 8837400bf2 Add config option to specify whether to use GZip compression in influx write requests Holger Obermaier 2023-10-09 16:57:26 +02:00
  • 3be11984f2 Fix: Corrected unlock access to batch slice Holger Obermaier 2023-10-09 16:48:42 +02:00
  • dd40c852ca Stop flush timer, when immediatelly flushing Holger Obermaier 2023-10-09 11:01:01 +02:00
  • 39ae211530 Go pkg update Holger Obermaier 2023-10-09 10:16:53 +02:00
  • a4d7593af5 Use line protocol encoder Holger Obermaier 2023-10-09 10:12:14 +02:00
  • fd1cdc5c07 Reverted previous changes. Made the code to complex without much advantages Holger Obermaier 2023-10-06 16:56:30 +02:00
  • 94c88f23df Be more verbose in error messages Holger Obermaier 2023-10-05 17:22:30 +02:00
  • 9dae829f9d Wait for concurrent flush operations to finish Holger Obermaier 2023-10-05 16:44:03 +02:00
  • b0f0462995 Use stype and stype-id for the NIC in NetstatCollector Thomas Roehl 2023-10-05 09:12:24 +02:00
  • 778bb62602 Cleanup Holger Obermaier 2023-10-04 16:24:39 +02:00
  • 5aa9603c01 Add batch_size config Holger Obermaier 2023-10-04 12:37:25 +02:00
  • 0db1cda27f Do not store unused topology information Holger Obermaier 2023-10-02 11:30:06 +02:00
  • 013ae7ec6d Reuse ccTopology functionality Holger Obermaier 2023-10-02 10:57:50 +02:00
  • 9f65365f9d Add Influx client options Holger Obermaier 2023-09-29 10:36:42 +02:00
  • 1e606a1aa1 Reuse flush timer Holger Obermaier 2023-09-26 15:04:39 +02:00
  • 19ec6d06db Use generic package maps to clone maps Holger Obermaier 2023-09-26 11:49:19 +02:00
  • 553fcff468 Add documentation for send_*_total values Holger Obermaier 2023-09-21 10:44:14 +02:00
  • 7b5a4caf6a Avoid unneccessary memory allocations Holger Obermaier 2023-09-21 10:19:25 +02:00
  • a401e4cdd1 Add basic authentication support Holger Obermaier 2023-09-20 17:41:12 +02:00
  • 94d5822426 Add basic authentication support Holger Obermaier 2023-09-20 17:33:08 +02:00
  • f6b5f7fb07 Add config option idle_timeout Holger Obermaier 2023-09-20 16:39:03 +02:00
  • 0c95db50ad Fix: Error NVML library not found did crash cc-metric-collector with "SIGSEGV: segmentation violation" Holger Obermaier 2023-09-20 13:45:38 +02:00
  • 75b705aa87 Avoid package cmp to allow builds with golang v1.20 Holger Obermaier 2023-09-19 17:00:16 +02:00
  • 8da5c692bb Increase golang version requirement to 1.20. Holger Obermaier 2023-09-19 16:22:36 +02:00
  • 42a9423203 Use slice to store lexialicly orderd key value pairs Holger Obermaier 2023-09-19 14:48:11 +02:00
  • c87c77a810 Only access meta data, when it gets used as tag Holger Obermaier 2023-09-19 14:06:20 +02:00
  • c472029c2d Add tags in lexical order as required by AddTag() Holger Obermaier 2023-09-19 13:33:25 +02:00
  • 9e73849081 Use a lock for the flush timer Holger Obermaier 2023-09-19 12:57:43 +02:00
  • d1a960e6e1 Add some basic debugging documentation Holger Obermaier 2023-09-18 17:03:18 +02:00
  • 9530c489b5 Add some basic debugging documentation Holger Obermaier 2023-09-18 16:51:37 +02:00
  • 64ffa3d23e Allow other fields not only field "value" Holger Obermaier 2023-09-18 16:35:56 +02:00
  • 3f4b11db47 github.com/influxdata/line-protocol -> github.com/influxdata/line-protocol/v2/lineprotocol Holger Obermaier 2023-09-18 16:03:57 +02:00
  • fd227ed8b3 Add some comments Holger Obermaier 2023-09-18 15:37:52 +02:00
  • 2d41531b51 Corrected spelling Holger Obermaier 2023-09-18 14:52:09 +02:00
  • e34b0166f9 github.com/influxdata/line-protocol -> github.com/influxdata/line-protocol/v2/lineprotocol Holger Obermaier 2023-09-15 15:59:03 +02:00
  • baa45b833b Fix http server addr format Holger Obermaier 2023-09-15 14:12:59 +02:00
  • aac475fc98 Add links to ipmi and redfish receivers Holger Obermaier 2023-09-15 13:33:47 +02:00
  • 2dfeac8ce8 Fix Ubuntu version number Holger Obermaier 2023-09-13 13:36:27 +02:00
  • 6a4731ab7e Update golang version Holger Obermaier 2023-09-13 13:32:44 +02:00
  • be68aeb44f Pipe golang tar package directly to tar Holger Obermaier 2023-09-13 13:23:37 +02:00
  • 9975ee6e00 Upgrade Ubuntu focal -> jammy Holger Obermaier 2023-09-13 13:20:00 +02:00
  • 38478ce8c2 Remove golang versions before 1.20 Holger Obermaier 2023-09-13 13:07:50 +02:00
  • 9c9fd59ed0 Use dnf to download golang Holger Obermaier 2023-09-13 12:56:22 +02:00
  • 5895490b53 Switch to golang 1.20 for RHEL based distributions Holger Obermaier 2023-09-13 12:48:39 +02:00
  • 4e08acf509 Add release build jobs to runonce.yml Holger Obermaier 2023-09-13 12:29:00 +02:00
  • e1bb3dbef6 Add workflow_dispatch to allow manual run of workflow Holger Obermaier 2023-09-13 11:31:57 +02:00
  • 562bcbf486 Add workflow_dispatch to allow manual run of workflow Holger Obermaier 2023-09-13 11:23:09 +02:00
  • 262a119413 Switch to setup-go action version 4 Holger Obermaier 2023-09-13 11:16:40 +02:00
  • 609cafeb2c Switch to checkout action version 4 Holger Obermaier 2023-09-13 11:11:27 +02:00
  • 6dc4e7708a Add build with golang 1.21 Holger Obermaier 2023-09-13 11:03:36 +02:00
  • 3fdb60d708 Updated go packages Holger Obermaier 2023-09-12 16:17:24 +02:00
  • 12130361fd Add comments Holger Obermaier 2023-09-12 11:28:57 +02:00
  • faad23ed64 Remove unused variable gmresults Holger Obermaier 2023-09-12 10:48:51 +02:00
  • 674e78b3d0 Send all metrics with same time stamp calcGlobalMetrics does only computiation, counter measurement is done before Holger Obermaier 2023-09-12 10:45:50 +02:00
  • 302e42d1d0 Input parameters should be float64 when evaluating to float64 Holger Obermaier 2023-09-12 10:35:36 +02:00
  • 1aca1b6caf Send all metrics with same time stamp calcEventsetMetrics does only computiation, counter measurement is done before Holger Obermaier 2023-09-12 10:18:55 +02:00
  • 1b60935f38 Allow to send total values per core, socket and node Holger Obermaier 2023-09-11 16:26:15 +02:00
  • 188f0261b5 Reduce number of required slices Holger Obermaier 2023-09-11 13:02:22 +02:00
  • 1b06270e9b Replace deprecated thread_siblings_list by core_cpus_list Holger Obermaier 2023-09-08 11:34:07 +02:00
  • f3ffa29a37 Add Simultaneous Multithreading siblings Holger Obermaier 2023-09-08 11:07:37 +02:00
  • 7246278745 Correctly handle lists from /sys Holger Obermaier 2023-09-08 10:39:41 +02:00
  • e5173bb9a2 Lookup all information from /sys/devices/system/cpu, /proc/cpuinfo is not portable Holger Obermaier 2023-09-08 10:09:04 +02:00
  • fd56a14eb6 Lookup core ID from /sys/devices/system/cpu, /proc/cpuinfo is not portable Holger Obermaier 2023-09-08 09:25:03 +02:00
  • 35c20110ca Add comment Holger Obermaier 2023-09-07 14:08:03 +02:00
  • a871753bdf Cleanup Holger Obermaier 2023-09-07 14:06:57 +02:00
  • fbf178326a Add NumaDomainList and SMTList Holger Obermaier 2023-09-07 13:49:22 +02:00
  • 8fedef9024 Add DieList Holger Obermaier 2023-09-07 13:04:16 +02:00
  • 094f124a18 Avoid slice cloning. Directly use the cache Holger Obermaier 2023-09-07 11:45:38 +02:00
  • 1f5856c671 Reuse information from /proc/cpuinfo Holger Obermaier 2023-09-07 10:24:43 +02:00
  • ae106566dd Use init function to initalize cache structure to avoid multi threading problems Holger Obermaier 2023-09-07 10:11:20 +02:00
  • b3922b3255 Cleanup Holger Obermaier 2023-09-06 17:29:37 +02:00
  • 5fa53a7ab8 Cache CpuData Holger Obermaier 2023-09-06 16:46:30 +02:00
  • 3ac1ada204 Add caching Holger Obermaier 2023-09-06 16:19:16 +02:00
  • 2dc78ee0aa Avoid type conversion by using Atoi Avoid copying structs by using pointer access Increase readability with CamelCase variable names Holger Obermaier 2023-09-06 15:28:49 +02:00
  • 4b16ca4a30 Fix function getNumaDomain, it always returned 0 Holger Obermaier 2023-09-06 11:35:45 +02:00
  • 6a2b74b0dc Use CamelCase Holger Obermaier 2023-09-06 10:44:23 +02:00
  • 3171792bd6 Use CamelCase Holger Obermaier 2023-09-06 10:37:57 +02:00
  • 99ccc04933 Read file line by line Holger Obermaier 2023-09-06 10:15:17 +02:00
  • 34436ac261 Read file line by line Holger Obermaier 2023-09-06 10:09:53 +02:00
  • ae44b7f826 Read file line by line Holger Obermaier 2023-09-06 10:03:33 +02:00
  • 0cf32d5988 Switch to package slices from the golang 1.21 default library Holger Obermaier 2023-09-06 09:45:01 +02:00
  • 013aa9ec92 ioutil.ReadFile is deprecated: As of Go 1.16, this function simply calls os.ReadFile Holger Obermaier 2023-09-05 17:41:08 +02:00
  • 62720dec13 Fix path after installation to /usr/bin after installation Thomas Roehl 2023-08-31 15:12:43 +02:00
  • c64943a954 Merge branch 'develop' of github.com:ClusterCockpit/cc-metric-collector into develop Thomas Roehl 2023-08-31 15:07:32 +02:00
  • e42b41f264 Add safe.directory to Release action v0.6.6 Thomas Roehl 2023-08-29 15:39:47 +02:00
  • 6eea1325bf Add safe.directory to Release action Thomas Roehl 2023-08-29 15:38:44 +02:00
  • e205c16cdb Merge branch 'main' into develop Thomas Roehl 2023-08-29 14:14:59 +02:00
  • 195d0794b0
    Merge develop branch into main (#106) Thomas Gruber 2023-08-29 14:12:49 +02:00