Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nri integrations #9763

Merged
merged 2 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions nri-apache.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-apache
version: 1.12.1
epoch: 3
epoch: 4
description: New Relic Infrastructure Apache Integration
copyright:
- license: Apache-2.0
Expand All @@ -28,21 +28,16 @@ pipeline:
output: nri-apache
ldflags: -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 apache-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/apache-config.yml.sample
install -Dm644 legacy/apache-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/apache-definition.yml

- uses: strip

subpackages:
- name: ${{package.name}}-compat
description: "Compatibility package to place binaries in the location expected by newrelic-infrastructure-bundle"
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/apache-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/apache-definition.yml
mkdir -p ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
install -Dm644 legacy/apache-definition.yml ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/apache-definition.yml

update:
enabled: true
Expand Down
13 changes: 4 additions & 9 deletions nri-cassandra.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-cassandra
version: 2.13.2
epoch: 3
epoch: 4
description: New Relic Infrastructure Cassandra Integration
copyright:
- license: Apache-2.0
Expand All @@ -24,21 +24,16 @@ pipeline:
output: nri-cassandra
ldflags: -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 cassandra-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/cassandra-config.yml.sample
install -Dm644 legacy/cassandra-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/cassandra-definition.yml

- uses: strip

subpackages:
- name: ${{package.name}}-compat
description: "Compatibility package to place binaries in the location expected by newrelic-infrastructure-bundle"
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/cassandra-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/cassandra-definition.yml
mkdir -p ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
install -Dm644 legacy/cassandra-definition.yml ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/cassandra-definition.yml

update:
enabled: true
Expand Down
13 changes: 4 additions & 9 deletions nri-consul.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-consul
version: 2.7.3
epoch: 2
epoch: 3
description: New Relic Infrastructure Consul Integration
copyright:
- license: MIT
Expand All @@ -20,21 +20,16 @@ pipeline:
output: nri-consul
ldflags: -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 consul-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/consul-config.yml.sample
install -Dm644 legacy/consul-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/consul-definition.yml

- uses: strip

subpackages:
- name: ${{package.name}}-compat
description: "Compatibility package to place binaries in the location expected by newrelic-infrastructure-bundle"
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/consul-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/consul-definition.yml
mkdir -p ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
install -Dm644 legacy/consul-definition.yml ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/consul-definition.yml

update:
enabled: true
Expand Down
13 changes: 4 additions & 9 deletions nri-couchbase.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-couchbase
version: 2.6.1
epoch: 3
epoch: 4
description: New Relic Infrastructure Couchbase Integration
copyright:
- license: Apache-2.0
Expand All @@ -28,21 +28,16 @@ pipeline:
output: nri-couchbase
ldflags: -s -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 couchbase-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/couchbase-config.yml.sample
install -Dm644 legacy/couchbase-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/couchbase-definition.yml

- uses: strip

subpackages:
- name: ${{package.name}}-compat
description: "Compatibility package to place binaries in the location expected by newrelic-infrastructure-bundle"
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/couchbase-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/couchbase-definition.yml
mkdir -p ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
install -Dm644 legacy/couchbase-definition.yml ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/couchbase-definition.yml

update:
enabled: true
Expand Down
13 changes: 4 additions & 9 deletions nri-elasticsearch.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-elasticsearch
version: 5.2.2
epoch: 2
epoch: 3
description: New Relic Infrastructure Elasticsearch Integration
copyright:
- license: MIT
Expand All @@ -20,21 +20,16 @@ pipeline:
output: nri-elasticsearch
ldflags: -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 elasticsearch-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/elasticsearch-config.yml.sample
install -Dm644 legacy/elasticsearch-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/elasticsearch-definition.yml

- uses: strip

subpackages:
- name: ${{package.name}}-compat
description: "Compatibility package to place binaries in the location expected by newrelic-infrastructure-bundle"
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/elasticsearch-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/elasticsearch-definition.yml
mkdir -p ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
install -Dm644 legacy/elasticsearch-definition.yml ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/elasticsearch-definition.yml

update:
enabled: true
Expand Down
13 changes: 4 additions & 9 deletions nri-f5.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-f5
version: 2.7.2
epoch: 3
epoch: 4
description: New Relic Infrastructure F5 Integration
copyright:
- license: Apache-2.0
Expand All @@ -28,21 +28,16 @@ pipeline:
output: nri-f5
ldflags: -s -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 f5-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/f5-config.yml.sample
install -Dm644 legacy/f5-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/f5-definition.yml

- uses: strip

subpackages:
- name: ${{package.name}}-compat
description: "Compatibility package to place binaries in the location expected by newrelic-infrastructure-bundle"
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/f5-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/f5-definition.yml
mkdir -p ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
install -Dm644 legacy/f5-definition.yml ${{targets.contextdir}}/var/db/newrelic-infra/newrelic-integrations/f5-definition.yml

update:
enabled: true
Expand Down
9 changes: 2 additions & 7 deletions nri-haproxy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-haproxy
version: 2.5.1
epoch: 2
epoch: 3
description: New Relic Infrastructure HAproxy Integration
copyright:
- license: MIT
Expand All @@ -20,11 +20,6 @@ pipeline:
output: nri-haproxy
ldflags: -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 haproxy-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/haproxy-config.yml.sample
install -Dm644 legacy/haproxy-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/haproxy-definition.yml

- uses: strip

subpackages:
Expand All @@ -34,7 +29,7 @@ subpackages:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/haproxy-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/haproxy-definition.yml
install -Dm644 legacy/haproxy-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/haproxy-definition.yml

update:
enabled: true
Expand Down
9 changes: 2 additions & 7 deletions nri-jmx.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-jmx
version: 3.5.0
epoch: 3
epoch: 4
description: New Relic Infrastructure JMX Integration
copyright:
- license: Apache-2.0
Expand Down Expand Up @@ -29,11 +29,6 @@ pipeline:
output: nri-jmx
ldflags: -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 jmx-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/jmx-config.yml.sample
install -Dm644 legacy/jmx-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/jmx-definition.yml

- uses: strip

subpackages:
Expand All @@ -43,7 +38,7 @@ subpackages:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/jmx-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/jmx-definition.yml
install -Dm644 legacy/jmx-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/jmx-definition.yml

update:
enabled: true
Expand Down
9 changes: 2 additions & 7 deletions nri-kafka.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-kafka
version: 3.6.0
epoch: 2
epoch: 3
description: New Relic Infrastructure Kafka Integration
copyright:
- license: MIT
Expand All @@ -24,11 +24,6 @@ pipeline:
output: nri-kafka
ldflags: -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 kafka-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/kafka-config.yml.sample
install -Dm644 legacy/kafka-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/kafka-definition.yml

- uses: strip

subpackages:
Expand All @@ -38,7 +33,7 @@ subpackages:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/kafka-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/kafka-definition.yml
install -Dm644 legacy/kafka-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/kafka-definition.yml

update:
enabled: true
Expand Down
9 changes: 2 additions & 7 deletions nri-memcached.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-memcached
version: 2.5.1
epoch: 3
epoch: 4
description: New Relic Infrastructure memcached Integration
copyright:
- license: MIT
Expand All @@ -20,11 +20,6 @@ pipeline:
output: nri-memcached
ldflags: -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 memcached-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/memcached-config.yml.sample
install -Dm644 legacy/memcached-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/memcached-definition.yml

- uses: strip

subpackages:
Expand All @@ -34,7 +29,7 @@ subpackages:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/memcached-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/memcached-definition.yml
install -Dm644 legacy/memcached-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/memcached-definition.yml

update:
enabled: true
Expand Down
9 changes: 2 additions & 7 deletions nri-mongodb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-mongodb
version: 2.8.1
epoch: 3
epoch: 4
description: New Relic Infrastructure MongoDB Integration
copyright:
- license: MIT
Expand All @@ -20,11 +20,6 @@ pipeline:
output: nri-mongodb
ldflags: -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 mongodb-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/mongodb-config.yml.sample
install -Dm644 legacy/mongodb-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/mongodb-definition.yml

- uses: strip

subpackages:
Expand All @@ -34,7 +29,7 @@ subpackages:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/mongodb-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/mongodb-definition.yml
install -Dm644 legacy/mongodb-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/mongodb-definition.yml

update:
enabled: true
Expand Down
9 changes: 2 additions & 7 deletions nri-mssql.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: nri-mssql
version: 2.10.2
epoch: 3
epoch: 4
description: New Relic Infrastructure Mssql Integration
copyright:
- license: Apache-2.0
Expand All @@ -28,11 +28,6 @@ pipeline:
output: nri-mssql
ldflags: -s -w

- runs: |
mkdir -p "${{targets.destdir}}"/etc/newrelic-infra/integrations.d
install -Dm644 mssql-config.yml.sample "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/mssql-config.yml.sample
install -Dm644 legacy/mssql-definition.yml "${{targets.destdir}}"/etc/newrelic-infra/integrations.d/mssql-definition.yml

- uses: strip

subpackages:
Expand All @@ -42,7 +37,7 @@ subpackages:
- runs: |
mkdir -p ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin
ln -sf /usr/bin/${{package.name}} ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/bin/${{package.name}}
ln -sf /etc/newrelic-infra/integrations.d/mssql-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/mssql-definition.yml
install -Dm644 legacy/mssql-definition.yml ${{targets.subpkgdir}}/var/db/newrelic-infra/newrelic-integrations/mssql-definition.yml

update:
enabled: true
Expand Down
Loading
Loading