Accepting request 833988 from home:dirkmueller:branches:devel:languages:go
- Update to version 1.15.3: * Revert "fix cloudwatch tests" * Update etc/telegraf.conf * [fix] add missing error check for HTTP req failure (#8071) * add tagpass/tagdrop note in docs (#8053) * Fix docker-image make target (#8005) * Fix CI AppVeyor 'make check' errors for go 1.15 on windows (#8061) * add release notes * fix bug in shim logger affecting AddError (#8052) * fix docker build. update dockerfiles to Go 1.14 (#8051) * docs fix * Create external plugins doc file and update contributing guide (#8001) * Add addTag debugging in ifname plugin (#8018) * vSphere Fixed missing clustername issue 7878 (#8026) * Fix string to int conversion in eventhub consumer (#8006) * improve the quality of starlark docs by executing them as tests (#8020) * Fix Ping Input plugin for FreeBSD's ping6 (#7861) * add example input/outputs to starlark examples (#7980) * Fix configuration.md formatting (#7965) * [outputs.application_insights] Added the ability to set the endpoint url (#7134) * fix issue with shim use of config.Duration (#7996) * fix minor agent race condition around error messages (#7999) * http_listener_v2: make http header tags case insensitive (#7986) * add pivot example for starlark processor (#7976) * fix(puppet): update broken link (#7977) * fix(ipmi): update link in readme (#7975) * chore: extend gitignore to ignore .DS_Store (#7974) * fix(readmes): standarize first line of readmes (#7973) * Updated http_response input plugin README.md (#7962) * added new counter - Lock Timeouts (timeout > 0)/sec (#7808) OBS-URL: https://build.opensuse.org/request/show/833988 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/telegraf?expand=0&rev=24
This commit is contained in:
parent
fc34d7e003
commit
9bd765f134
20
_service
Normal file
20
_service
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/influxdata/telegraf</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="revision">v1.15.3</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled">
|
||||||
|
<param name="basename">telegraf</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
<service name="go_modules" mode="disabled">
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/influxdata/telegraf</param>
|
||||||
|
<param name="changesrevision">d9a81d9f4c8c6e6aac8f34915335519c417a1167</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a3015fb339e050d048c6d3df97827b257700211ce33e9403a5663d27c1f9b0fb
|
|
||||||
size 1641836
|
|
3
telegraf-1.15.3.tar.gz
Normal file
3
telegraf-1.15.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e6826be31ddefc357ee7b9fa12d3cc89704107a35d31dbe01911561716809879
|
||||||
|
size 1932595
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:15ac842c8e835630c50e7ff4679b25d72cc3f88b6a48921fd81ddf87042807b0
|
|
||||||
size 109518012
|
|
298
telegraf.changes
298
telegraf.changes
@ -1,3 +1,301 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 12 12:34:50 UTC 2020 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.15.3:
|
||||||
|
* Revert "fix cloudwatch tests"
|
||||||
|
* Update etc/telegraf.conf
|
||||||
|
* [fix] add missing error check for HTTP req failure (#8071)
|
||||||
|
* add tagpass/tagdrop note in docs (#8053)
|
||||||
|
* Fix docker-image make target (#8005)
|
||||||
|
* Fix CI AppVeyor 'make check' errors for go 1.15 on windows (#8061)
|
||||||
|
* add release notes
|
||||||
|
* fix bug in shim logger affecting AddError (#8052)
|
||||||
|
* fix docker build. update dockerfiles to Go 1.14 (#8051)
|
||||||
|
* docs fix
|
||||||
|
* Create external plugins doc file and update contributing guide (#8001)
|
||||||
|
* Add addTag debugging in ifname plugin (#8018)
|
||||||
|
* vSphere Fixed missing clustername issue 7878 (#8026)
|
||||||
|
* Fix string to int conversion in eventhub consumer (#8006)
|
||||||
|
* improve the quality of starlark docs by executing them as tests (#8020)
|
||||||
|
* Fix Ping Input plugin for FreeBSD's ping6 (#7861)
|
||||||
|
* add example input/outputs to starlark examples (#7980)
|
||||||
|
* Fix configuration.md formatting (#7965)
|
||||||
|
* [outputs.application_insights] Added the ability to set the endpoint url (#7134)
|
||||||
|
* fix issue with shim use of config.Duration (#7996)
|
||||||
|
* fix minor agent race condition around error messages (#7999)
|
||||||
|
* http_listener_v2: make http header tags case insensitive (#7986)
|
||||||
|
* add pivot example for starlark processor (#7976)
|
||||||
|
* fix(puppet): update broken link (#7977)
|
||||||
|
* fix(ipmi): update link in readme (#7975)
|
||||||
|
* chore: extend gitignore to ignore .DS_Store (#7974)
|
||||||
|
* fix(readmes): standarize first line of readmes (#7973)
|
||||||
|
* Updated http_response input plugin README.md (#7962)
|
||||||
|
* added new counter - Lock Timeouts (timeout > 0)/sec (#7808)
|
||||||
|
* fix cloudwatch tests
|
||||||
|
* Support for AWS Cloudwatch Alarms #7931 (#7932)
|
||||||
|
* Add details to connect to InfluxDB OSS 2 and Cloud 2 (#7953)
|
||||||
|
* JSON does not support values NaN and Inf (#7908)
|
||||||
|
* Add descriptions for measurement & fields (#7902)
|
||||||
|
* Fixed title on New Relic README.md (#7948)
|
||||||
|
* fix broken link to proc.c (#7918)
|
||||||
|
* Fix/extend support of fixed point values on input (modbus plugin) (#7869)
|
||||||
|
* jolokia: add some error message context (#7906)
|
||||||
|
* fixed cgroups docu (#7889)
|
||||||
|
* Update docker FAQ (#7868)
|
||||||
|
* fixes issue with rpm /var/log/telegraf permissions (#7909)
|
||||||
|
* Fix tail following on EOF (#7927)
|
||||||
|
* Fix arch name in deb/rpm builds (#7877)
|
||||||
|
* Set 1.15.0 release date
|
||||||
|
* Add logic starlark example (#7864)
|
||||||
|
* shim logger improvements (#7865)
|
||||||
|
* Fix defaults processor readme typos (#7873)
|
||||||
|
* Recv next message after send returns EOF (#7872)
|
||||||
|
* fix issue with execd restart_delay being ignored (#7867)
|
||||||
|
* clarify docs and add warning if execd is misconfigured (#7866)
|
||||||
|
* fix bug with loading plugins in shim with no config (#7816)
|
||||||
|
* Fix suricata input docs (#7856)
|
||||||
|
* ifname: avoid unpredictable conditions in getMap test (#7848)
|
||||||
|
* Log after interval has elapsed; skip short intervals (#7854)
|
||||||
|
* Initialize aggregation processors (#7853)
|
||||||
|
* Update redfish docs with link (#7846)
|
||||||
|
* Update telegraf.conf
|
||||||
|
* ifname processor: expire old cached entries (#7838)
|
||||||
|
* update go versions: 1.14.5, 1.13.13 (#7837)
|
||||||
|
* Edit Starlark README (#7832)
|
||||||
|
* Send metrics in FIFO order (#7814)
|
||||||
|
* Set log output before starting plugin (#7820)
|
||||||
|
* Fix darwin package build flags (#7818)
|
||||||
|
* Close file to ensure it has been flushed (#7819)
|
||||||
|
* Add minimum version for new plugins (#7810)
|
||||||
|
* Fix markdown syntax (#7806)
|
||||||
|
* Fix typo in 1.15 release notes (#7804)
|
||||||
|
* Fix tag package version
|
||||||
|
* Update sample configuration
|
||||||
|
* Add ifname processor plugin (#7763)
|
||||||
|
* Traverse redfish api using resource links (#7722)
|
||||||
|
* Fix test race in kafka_consumer (#7797)
|
||||||
|
* Support utf-16 in file and tail inputs (#7792)
|
||||||
|
* Add v3 metadata support to ecs input (#7154)
|
||||||
|
* Fix inputs.execd readme links (#7791)
|
||||||
|
* Fix data race in input plugin ping_windows
|
||||||
|
* streaming processors docs update (#7786)
|
||||||
|
* switch mac tests to Go 1.14 (#7784)
|
||||||
|
* Fix flakey processors.execd test
|
||||||
|
* Do not enable -race for GOARCH=386
|
||||||
|
* Run all Go tests with flag -race
|
||||||
|
* Fix data race in plugin output pubsub tests (#7782)
|
||||||
|
* Shim refactor to support processors and output
|
||||||
|
* Fix data race in tail input tests (#7780)
|
||||||
|
* Update CHANGELOG.md
|
||||||
|
* execd output (#7761)
|
||||||
|
* Set user agent when requesting http config (#7752)
|
||||||
|
* Accept decimal point when parsing kibana uptime (#7768)
|
||||||
|
* Update common/tls import path
|
||||||
|
* Update nginx_sts plugin readme
|
||||||
|
* Add nginx_sts input plugin (#7205)
|
||||||
|
* Rename cisco_telemetry_gnmi input to gnmi (#7695)
|
||||||
|
* Allow overriding the collection_jitter and precision per input (#7762)
|
||||||
|
* Fix data race in phpfpm initializing http client (#7738)
|
||||||
|
* Set 1.14.5 release date
|
||||||
|
* Allow histograms with no buckets and summary without quantiles (#7740)
|
||||||
|
* Fix typo in elasticsearch input docs (#7764)
|
||||||
|
* Only set version ldflags on tags
|
||||||
|
* Update release notes
|
||||||
|
* Allow any key usage type on x509 certificate (#7760)
|
||||||
|
* Build packages in makefile (#7759)
|
||||||
|
* Update github.com/tidwall/gjson (#7756)
|
||||||
|
* reverse dns lookup processor (#7639)
|
||||||
|
* remove streaming processors docs
|
||||||
|
* clean up tests
|
||||||
|
* address feedback
|
||||||
|
* Return on toml parse errors instead of logging (#7751)
|
||||||
|
* Update tls import path
|
||||||
|
* Export internal/tls package for use in execd plugins (#7697)
|
||||||
|
* Add laundry to mem input plugin on FreeBSD (#7736)
|
||||||
|
* Fix data race in plugins/inputs/stackdriver/stackdriver_test.go (#7744)
|
||||||
|
* Fix data race in plugins/inputs/suricata/suricata_test.go (#7745)
|
||||||
|
* Fix data race in kafka_consumer_test.go (#7737)
|
||||||
|
* Fix SNMP trap test race (#7731)
|
||||||
|
* Fix incorrect Azure SQL DB server properties (#7715)
|
||||||
|
* fix race
|
||||||
|
* fix after rebase
|
||||||
|
* remove processors/execd/examples/count.go
|
||||||
|
* execd processor
|
||||||
|
* Fix license check
|
||||||
|
* Add starlark processor (#7660)
|
||||||
|
* Add missing nvme attributes to smart plugin (#7575)
|
||||||
|
* Add counter type to perfmon collector (#7712)
|
||||||
|
* Skip overs errors in the output of the sensors command (#7718)
|
||||||
|
* Remove master/slave terminology from tests (#7719)
|
||||||
|
* Fix ping exit code handling on non-Linux (#7658)
|
||||||
|
* Add redfish input plugin (#7082)
|
||||||
|
* Add ability to add selectors as tags in kube_inventory (#7267)
|
||||||
|
* Document that string fields do not produce prometheus metrics (#7644)
|
||||||
|
* Remove trailing backslash management in sqlserver input (#7700)
|
||||||
|
* Link to GJSON playground in json parser documentation (#7698)
|
||||||
|
* Add 'batch' to mqtt output optional parameters (#7690)
|
||||||
|
* Fail check-deps when differences are found (#7694)
|
||||||
|
* Add state and readiness to kube_inventory pod metrics (#7691)
|
||||||
|
* update CHANGELOG.md
|
||||||
|
* procstat performance enhancement (#7686)
|
||||||
|
* Mark unused agent options as deprecated
|
||||||
|
* Fix processor initialization (#7693)
|
||||||
|
* Update gNMI plugin readme (#7685)
|
||||||
|
* Remove trailing backslash from tag keys/values (#7652)
|
||||||
|
* Improve sqlserver input compatibility with older server versions (#7495)
|
||||||
|
* Fix race issue in tick_test.go (#7663)
|
||||||
|
* Flaky shim test (#7656)
|
||||||
|
* link to glob pattern docs (#7657)
|
||||||
|
* Set 1.14.4 release date
|
||||||
|
* Add ability to collect response body as field with http_response (#7596)
|
||||||
|
* Add timezone configuration to csv data format (#7619)
|
||||||
|
* Change rpm dist packaging type for arm64 to aarch64 (#7645)
|
||||||
|
* Update to github.com/shirou/gopsutil v2.20.5 (#7641)
|
||||||
|
* Fix source field for icinga2 plugin (#7651)
|
||||||
|
* Add video codec stats to nvidia-smi (#7646)
|
||||||
|
* Update CHANGELOG.md
|
||||||
|
* fix issue with stream parser blocking when data is in buffer (#7631)
|
||||||
|
* add support for streaming processors (#7634)
|
||||||
|
* Add tags to snmp_trap input for context name and engine ID (#7633)
|
||||||
|
* Clarify use of multiple mqtt broker servers
|
||||||
|
* Add SNMPv3 trap support to snmp_trap input plugin (#7294)
|
||||||
|
* Add support for Solus distribution to maintainer scripts (#7585)
|
||||||
|
* Fix typo in queue depth example of diskio plugin (#7613)
|
||||||
|
* Add support for env variables to shim config (#7603)
|
||||||
|
* Add support for once mode; run processors and aggregators during test (#7474)
|
||||||
|
* Update AGGREGATORS_AND_PROCESSORS.md (#7599)
|
||||||
|
* Add github.com/inabagumi/twitter-telegraf-plugin to list of external plugins
|
||||||
|
* Fix segmentation violation on connection failed (#7593)
|
||||||
|
* Add processor to look up service name by port (#7540)
|
||||||
|
* make sure parse error includes offending text (#7561)
|
||||||
|
* Update docs for newrelic output
|
||||||
|
* Add newrelic output plugin (#7019)
|
||||||
|
* Allow collection of HTTP Headers in http_response input (#7405)
|
||||||
|
* Update to Go 1.14.3 with testing using 1.13.11 (#7564)
|
||||||
|
* Exclude csv_timestamp_column and csv_measurement_column from fields (#7572)
|
||||||
|
* fix go version check (#7562)
|
||||||
|
* Fix the typo in `gcc_pu_fraction` to `gc_cpu_fraction` (#7573)
|
||||||
|
* Fix numeric to bool conversion in converter (#7579)
|
||||||
|
* Add defaults processor to set default field values (#7370)
|
||||||
|
* Add option to disable mongodb cluster status (#7515)
|
||||||
|
* Fix typos in sqlserver input (#7524)
|
||||||
|
* Use updated clock package to resolve test failures (#7516)
|
||||||
|
* fix randomly failing CI test (#7514)
|
||||||
|
* Add cluster state integer to mongodb input (#7489)
|
||||||
|
* Add configurable separator graphite serializer and output (#7545)
|
||||||
|
* Fix instance name resolution in performance counter query (#7526)
|
||||||
|
* Set 1.14.3 release date
|
||||||
|
* Close HTTP2 connections on timeout in influxdb outputs (#7517)
|
||||||
|
* Fix negative value parsing in impi_sensor input (#7541)
|
||||||
|
* Fix assorted spelling mistakes (#7507)
|
||||||
|
* Fix documentation of percent_packet_loss field (#7510)
|
||||||
|
* Update docs for execd plugins (#7465)
|
||||||
|
* Update procstat pid_tag documentation
|
||||||
|
* Fix spelling errors in comments and documentation (#7492)
|
||||||
|
* Add truncate_tags setting to wavefront output (#7503)
|
||||||
|
* Add authentication support to the http_response input plugin (#7491)
|
||||||
|
* Handle multiple metrics with the same timestamp in dedup processor (#7439)
|
||||||
|
* Add additional fields to mongodb input (#7321)
|
||||||
|
* Add integer support to enum processor (#7483)
|
||||||
|
* Fix typo in Windows service description (#7486)
|
||||||
|
* Add field creation to date processor and integer unix time support (#7464)
|
||||||
|
* Add cpu query to sqlserver input (#7359)
|
||||||
|
* Rework plugin tickers to prevent drift and spread write ticks (#7390)
|
||||||
|
* Update datadog output documentation (#7467)
|
||||||
|
* Use docker log timestamp as metric time (#7434)
|
||||||
|
* fix issue with execd-multiline influx line protocol (#7463)
|
||||||
|
* Add information about HEC JSON format limitations and workaround (#7459)
|
||||||
|
* Rename measurement to sqlserver_volume_space (#7457)
|
||||||
|
* shim improvements for docs, clean quit, and slow readers (#7452)
|
||||||
|
* Fix gzip support in socket_listener with tcp sockets (#7446)
|
||||||
|
* Remove debug fields from spunkmetric serializer (#7455)
|
||||||
|
* Fix filepath processor link in changelog (#7454)
|
||||||
|
* Support Go execd plugins with shim (#7283)
|
||||||
|
* Add filepath processor plugin (#7418)
|
||||||
|
* Add ContentEncoder to socket_writer for datagram sockets (#7417)
|
||||||
|
* Sflow rework (#7253)
|
||||||
|
* Use same timestamp for all objects in arrays in the json parser (#7412)
|
||||||
|
* Set 1.14.2 release date
|
||||||
|
* Allow CR and FF inside of string fields and fix parser panic (#7427)
|
||||||
|
* Fix typo in name of gc_cpu_fraction field (#7425)
|
||||||
|
* Run create database query once per database (#7333)
|
||||||
|
* Ignore fields with NaN or Inf floats in the JSON serializer (#7426)
|
||||||
|
* Fix interfaces with pointers (#7411)
|
||||||
|
* Document distinction between file and tail inputs (#7353)
|
||||||
|
* Update changelog
|
||||||
|
* Fix shard indices reporting in elasticsearch input (#7332)
|
||||||
|
* Update changelog
|
||||||
|
* Fix string to int64 conversion for SNMP input (#7407)
|
||||||
|
* Update nvidia-smi README for Windows users (#7399)
|
||||||
|
* Extract target as a tag for each rule in iptables input (#7391)
|
||||||
|
* Fix dimension limit on azure_monitor output (#7336)
|
||||||
|
* Use new higher per request limit for cloudwatch GetMetricData (#7335)
|
||||||
|
* Add support for MDS and RGW sockets to ceph input (#6915)
|
||||||
|
* Add option to save retention policy as tag in influxdb_listener (#7356)
|
||||||
|
* Trim instance tag in the sqlserver performance counters query (#7351)
|
||||||
|
* Fix vSphere 6.7 missing data issue (#7233)
|
||||||
|
* Update modbus readme
|
||||||
|
* Add retry when slave is busy to modbus input (#7271)
|
||||||
|
* fix issue with closing flush signal channel (#7384)
|
||||||
|
* Use the product token for the user agent in more locations (#7378)
|
||||||
|
* Update github.com/aws/aws-sdk-go (#7373)
|
||||||
|
* add support for SIGUSR1 to trigger flush (#7366)
|
||||||
|
* add another grok example for custom timestamps (#7367)
|
||||||
|
* Fibaro input: for battery operated devices, add battery level scraping (#7319)
|
||||||
|
* Deprecate logparser input and recommend tail input as replacement (#7352)
|
||||||
|
* Adjust heading level in the filtering examples to allow linking
|
||||||
|
* Set 1.14.1 release date
|
||||||
|
* Add reading bearer token from a file to http input (#7304)
|
||||||
|
* Fix exclude database and retention policy tags is shared (#7323)
|
||||||
|
* Fix status path when using globs in phpfpm (#7324)
|
||||||
|
* Regenerate telegraf.conf
|
||||||
|
* Fix error in docs about exclude_retention_policy_tag (#7311)
|
||||||
|
* Fix Name field in template processor (#7258)
|
||||||
|
* Deploy telegraf configuration as a "non config" file (#7250)
|
||||||
|
* Fix export timestamp not working for prometheus on v2 (#7289)
|
||||||
|
* Sql Server - Disk Space Measurement (#7214)
|
||||||
|
* Add series cardinality warning to sflow readme (#7285)
|
||||||
|
* Improve documentation for the Metric interface (#7256)
|
||||||
|
* Update permission docs on postfix input (#7255)
|
||||||
|
* Document kapacitor_alert and kapacitor_cluster measurements (#7278)
|
||||||
|
* Add OPTION RECOMPILE for perf reasons due to temp table (#7242)
|
||||||
|
* Support multiple templates for graphite serializers (#7136)
|
||||||
|
* Add possibility to specify measurement per register (#7231)
|
||||||
|
* Add limit to number of undelivered lines to read ahead in tail (#7210)
|
||||||
|
* Add docs for how to handle errors in check-deps script (#7243)
|
||||||
|
* Add support for 64-bit integer types to modbus input (#7225)
|
||||||
|
* Set 1.14.0 release date
|
||||||
|
* Apply ping deadline to dns lookup (#7140)
|
||||||
|
* Add ability to specify HTTP Headers in http_listener_v2 which will added as tags (#7223)
|
||||||
|
* Fix 'nil' file created by Makefile on Windows (#7224)
|
||||||
|
* Add additional concurrent transaction information (#7193)
|
||||||
|
* Add commands stats to mongodb input plugin (#6905)
|
||||||
|
* Fix url encoding of job names in jenkins input plugin (#7211)
|
||||||
|
* Update next_version on master to 1.15.0
|
||||||
|
* Update etc/telegraf.conf
|
||||||
|
* Fix datastore_include option in vsphere input readme
|
||||||
|
* Update github.com/prometheus/client_golang to latest (#7200)
|
||||||
|
* Update etc/telegraf.conf
|
||||||
|
* Update google.cloud.go to latest (#7199)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 27 12:13:43 UTC 2020 - tuukka.pasanen@ilmi.fi
|
||||||
|
- Update to use _service file to make depency building easier
|
||||||
|
- Require GO version 1.12 if it in future gets too old it should we
|
||||||
|
set to correct version
|
||||||
|
|
||||||
|
- Update to version 1.14.3:
|
||||||
|
* Set 1.14.3 release date
|
||||||
|
* Update changelog
|
||||||
|
* Close HTTP2 connections on timeout in influxdb outputs (#7517)
|
||||||
|
* Fix negative value parsing in impi_sensor input (#7541)
|
||||||
|
* Update changelog
|
||||||
|
* Handle multiple metrics with the same timestamp in dedup processor (#7439)
|
||||||
|
* Update changelog
|
||||||
|
* Use same timestamp for all objects in arrays in the json parser (#7412)
|
||||||
|
* Set 1.14.2 release date
|
||||||
|
* Update changelog
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 3 06:36:08 UTC 2020 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
Fri Apr 3 06:36:08 UTC 2020 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||||
|
|
||||||
|
@ -16,60 +16,53 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define _config_dir %{_sysconfdir}/%{name}
|
||||||
Name: telegraf
|
Name: telegraf
|
||||||
Version: 1.13.4
|
Version: 1.15.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The plugin-driven server agent for collecting & reporting metrics
|
Summary: The plugin-driven server agent for collecting & reporting metrics
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
URL: https://github.com/influxdata/telegraf
|
URL: https://github.com/influxdata/telegraf
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
# run dep ensure --vendor-only (in a container)
|
Source1: vendor.tar.gz
|
||||||
Source1: %{name}-deps.tar.xz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: go >= 1.12
|
BuildRequires: go1.13
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
%{?systemd_ordering}
|
%{?systemd_ordering}
|
||||||
|
|
||||||
%define _influxdata_dir %{_builddir}/src/github.com/influxdata
|
|
||||||
%define _telegraf_dir %{_influxdata_dir}/%{name}
|
|
||||||
%define _config_dir %{_sysconfdir}/%{name}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
|
Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
|
||||||
|
|
||||||
|
Design goals are to have a minimal memory footprint with a plugin system so that developers in the community can
|
||||||
|
easily add support for collecting metrics from local or remote services.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
mkdir -p %{_influxdata_dir}
|
%setup -q
|
||||||
tar -C %{_influxdata_dir} -xzf %{SOURCE0}
|
%setup -q -T -D -a 1
|
||||||
cd %{_influxdata_dir}
|
|
||||||
# If there is allready telegraf then remove it
|
|
||||||
rm -rf %{name}
|
|
||||||
ln -sf %{name}-%{version} %{name}
|
|
||||||
cd %{name}
|
|
||||||
tar -xJf %{SOURCE1}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Build the binary.
|
||||||
|
go build \
|
||||||
|
-mod=vendor \
|
||||||
%ifnarch ppc64 ppc64le
|
%ifnarch ppc64 ppc64le
|
||||||
export LDFLAGS="-buildmode=pie"
|
-buildmode=pie \
|
||||||
%endif
|
%endif
|
||||||
export GOPATH="%{_builddir}:$GOPATH"
|
./cmd/telegraf;
|
||||||
cd %{_telegraf_dir}
|
|
||||||
make %{name}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
# Install the binary.
|
||||||
install -m755 %{_telegraf_dir}/%{name} %{buildroot}%{_bindir}/%{name}
|
install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
|
||||||
|
|
||||||
mkdir -p %{buildroot}/%{_config_dir}
|
mkdir -p %{buildroot}/%{_config_dir}
|
||||||
mkdir -p %{buildroot}/%{_config_dir}/%{name}.d
|
mkdir -p %{buildroot}/%{_config_dir}/%{name}.d
|
||||||
install -m644 %{_telegraf_dir}/etc/%{name}.conf %{buildroot}/%{_config_dir}
|
install -m644 etc/%{name}.conf %{buildroot}/%{_config_dir}
|
||||||
|
|
||||||
install -D -m 644 %{_telegraf_dir}/scripts/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
|
install -D -m 644 scripts/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
|
||||||
sed -i '/User=/d' %{buildroot}%{_unitdir}/%{name}.service
|
sed -i '/User=/d' %{buildroot}%{_unitdir}/%{name}.service
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre %{name}.service
|
%service_add_pre %{name}.service
|
||||||
@ -86,14 +79,8 @@ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
|
|||||||
%files
|
%files
|
||||||
%{_sbindir}/rc%{name}
|
%{_sbindir}/rc%{name}
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
%doc src/github.com/influxdata/%{name}/CHANGELOG.md
|
%doc CHANGELOG.md CONTRIBUTING.md README.md
|
||||||
%doc src/github.com/influxdata/%{name}/CONTRIBUTING.md
|
%license LICENSE
|
||||||
%if 0%{?sle_version} <= 120200 && !0%{?is_opensuse}
|
|
||||||
%doc src/github.com/influxdata/%{name}/LICENSE
|
|
||||||
%else
|
|
||||||
%license src/github.com/influxdata/%{name}/LICENSE
|
|
||||||
%endif
|
|
||||||
%doc src/github.com/influxdata/%{name}/README.md
|
|
||||||
%dir %{_config_dir}
|
%dir %{_config_dir}
|
||||||
%config(noreplace) %{_config_dir}/%{name}.conf
|
%config(noreplace) %{_config_dir}/%{name}.conf
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a50090d9c0852c84f34904ce390f9daa1a0bfbedc8b27167032098d1289d188e
|
||||||
|
size 11667384
|
Loading…
Reference in New Issue
Block a user