forked from pool/alloy
Compare commits
32 Commits
Author | SHA256 | Date | |
---|---|---|---|
abc6a670d1 | |||
6c7b8fb9b3 | |||
b47f5c70ed | |||
af45819b05 | |||
d7bddc6994 | |||
8d6d12a646 | |||
d2ce9d0a66 | |||
af15cdf987 | |||
a7aea6bd79 | |||
|
eb15dd5b78 | ||
5c0c71db69 | |||
|
0ea3a96b71 | ||
3ccb9e5016 | |||
|
979541f92f | ||
b153effb27 | |||
|
0ba0b0eb3a | ||
49b6381afe | |||
4a162e0d57 | |||
e1fd6a41be | |||
1c56d16a3f | |||
564fb11ac0 | |||
2faf20513b | |||
19e93062cb | |||
|
71a5a0cc9b | ||
32471a48ac | |||
006c971fee | |||
ec6ea2f679 | |||
589e106e15 | |||
168dce8b87 | |||
c4cefed7ea | |||
ccb4a6bff5 | |||
c3cf17e445 |
@@ -6,10 +6,9 @@ needs the assets for the web UI. These can be generated by the
|
||||
To do that, you need to have `make` and `yarn` installed locally.
|
||||
|
||||
1. Change the version in the `_service` file
|
||||
2. Change the version in the spec file
|
||||
3. Run `make`
|
||||
4. Create a changelog entry
|
||||
5. Commit the changes as usual
|
||||
2. Run `make`
|
||||
3. Create a changelog entry
|
||||
4. Commit the changes as usual
|
||||
|
||||
For the OBS workflow you also need `obs-service-go_modules` as well
|
||||
as `obs-service-tar_scm` and `obs-service-recompress`.
|
||||
|
8
_constraints
Normal file
8
_constraints
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<constraints>
|
||||
<hardware>
|
||||
<memory>
|
||||
<size unit="G">8</size>
|
||||
</memory>
|
||||
</hardware>
|
||||
</constraints>
|
9
_service
9
_service
@@ -3,19 +3,20 @@
|
||||
<param name="url">https://github.com/grafana/alloy</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="revision">v1.0.0</param>
|
||||
<param name="revision">v1.9.2</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">disable</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
</service>
|
||||
<!-- services below are running at buildtime -->
|
||||
<service name="tar" mode="buildtime">
|
||||
</service>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
</service>
|
||||
</services>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/grafana/alloy</param>
|
||||
<param name="changesrevision">1eef9b3ae92cb806181dc6ad39a660864f778764</param></service></servicedata>
|
||||
<param name="changesrevision">7d95579015e121941001f0f06167e873dc7aabcc</param></service></servicedata>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:16686139cbf0aa7a7e2555a5ed92653dd06f83d40b6359cd17e8cd3df963ed2c
|
||||
size 29902861
|
BIN
alloy-1.9.2.obscpio
(Stored with Git LFS)
Normal file
BIN
alloy-1.9.2.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
782
alloy.changes
782
alloy.changes
@@ -1,3 +1,785 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 7 13:05:12 UTC 2025 - Witek Bedyk <witold.bedyk@suse.com>
|
||||
|
||||
- Install default configuration file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 30 04:52:02 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.9.2:
|
||||
* Bugfixes
|
||||
- Send profiles concurrently from pyroscope.ebpf. (@korniltsev)
|
||||
- Fix the validate command not understanding the livedebugging
|
||||
block. (@dehaansa)
|
||||
- Fix invalid class names in python profiles obtained with
|
||||
pyroscope.ebpf. (@korniltsev)
|
||||
- Fixed a bug which prevented non-secret optional secrets to be
|
||||
passed in as number arguments. (@ptodev)
|
||||
- For CRD-based components (prometheus.operator.*), retry
|
||||
initializing informers if the apiserver request fails. This
|
||||
rectifies issues where the apiserver is not reachable
|
||||
immediately after node restart. (@dehaansa)
|
||||
* Other changes
|
||||
- Add no-op blocks and attributes to the
|
||||
prometheus.exporter.windows component (@ptodev).
|
||||
Version 1.9.0 of Alloy removed the msmq block, as well as the
|
||||
enable_v2_collector, where_clause, and use_api attributes in
|
||||
the service block.
|
||||
This made it difficult for users to upgrade, so those
|
||||
attributes have now been made a no-op instead of being
|
||||
removed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 17:17:43 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.9.1:
|
||||
Bugfixes
|
||||
* Update the prometheus.exporter.windows component to version
|
||||
v0.30.7. This fixes an error with the exchange collector and
|
||||
terminal_services collector (@dehaansa)
|
||||
* Fix loki.source.firehose to propagate specific cloudwatch event
|
||||
timestamps when useIncomingTs is set to true. (@michaelPotter)
|
||||
* Fix elevated CPU usage when using some otelcol components due to
|
||||
debug logging. (@thampiotr)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 15:41:56 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.9.0:
|
||||
Breaking changes
|
||||
* The prometheus.exporter.windows component has been update to
|
||||
version v0.30.6. This update includes a significant rework of
|
||||
the exporter and includes some breaking changes. (@dehaansa)
|
||||
The msmq and service collectors can no longer be configured
|
||||
with a WMI where clause. Any filtering previously done in a
|
||||
where clause will need to be done in a prometheus.relabel
|
||||
component.
|
||||
The service collector no longer provides enable_v2_collector
|
||||
and use_api configuration options.
|
||||
The mscluster_* and netframework_* collectors are now replaced
|
||||
with one mscluster and netframework collector that allows you
|
||||
to enable the separate metric groupings individually.
|
||||
The teradici_pcoip and vmware_blast collectors have been
|
||||
removed from the exporter.
|
||||
* The prometheus.exporter.oracledb component now embeds the
|
||||
oracledb_exporter from oracle instead of the deprecated
|
||||
oracledb_exporter from iamseth for collecting metrics from an
|
||||
OracleDB server: (@wildum)
|
||||
The arguments username, password, default_metrics, and
|
||||
custom_metrics are now supported.
|
||||
The previously undocumented argument custom_metrics is now
|
||||
expecting a list of paths to custom metrics files.
|
||||
The following metrics are no longer available by default:
|
||||
oracledb_sessions_activity, oracledb_tablespace_free_bytes
|
||||
(Experimental) The enable_context_propagation argument in
|
||||
beyla.ebpf has been replaced with the context_propagation
|
||||
argument.
|
||||
* Set enable_context_propagation to all to get the same behaviour
|
||||
as enable_context_propagation being set to true.
|
||||
Security
|
||||
* CVE-2025-22872: Fix tokenizer incorrectly interpretting tags
|
||||
(bsc#1241863).
|
||||
* CVE-2025-46327: Fix race condition when checking access
|
||||
permissions to the Easy Logging configuration file
|
||||
(bsc#1242020).
|
||||
Features
|
||||
* Bump snmp_exporter and embedded modules in
|
||||
prometheus.exporter.snmp to v0.29.0, add cisco_device module
|
||||
support (@v-zhuravlev)
|
||||
* Add the otelcol.storage.file extension to support persistent
|
||||
sending queues and otelcol.receiver.filelog file state tracking
|
||||
between restarts. (@dehaansa)
|
||||
* Add otelcol.exporter.googlecloud community component to export
|
||||
metrics, traces, and logs to Google Cloud. (@motoki317)
|
||||
* Add support to configure basic authentication for alloy http
|
||||
server. (@kalleep)
|
||||
* Add validate command to alloy that will perform limited
|
||||
validation of alloy configuration files. (@kalleep)
|
||||
* Add support to validate foreach block when using validate
|
||||
command. (@kalleep)
|
||||
* Add otelcol.receiver.splunkhec component to receive events in
|
||||
splunk hec format and forward them to other otelcol.*
|
||||
components. (@kalleep)
|
||||
* Add support for Mimir federated rule groups in
|
||||
mimir.rules.kubernetes (@QuentinBisson)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 11:06:50 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.8.3:
|
||||
Bugfixes
|
||||
* Fix mimir.rules.kubernetes panic on non-leader debug info
|
||||
retrieval (@TheoBrigitte)
|
||||
* Fix detection of the “streams limit exceeded” error in the Loki
|
||||
client so that metrics are correctly labeled as
|
||||
ReasonStreamLimited. (@maratkhv)
|
||||
* Fix loki.source.file race condition that often lead to panic when
|
||||
using decompression. (@kalleep)
|
||||
* Fix deadlock in loki.source.file that can happen when targets are
|
||||
removed. (@kalleep)
|
||||
* Fix loki.process to emit valid logfmt. (@kalleep)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 24 15:05:30 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.8.2:
|
||||
Bugfixes
|
||||
* Fix otelcol.exporter.prometheus dropping valid
|
||||
exemplars. (@github-vincent-miszczak)
|
||||
* Fix loki.source.podlogs not adding labels
|
||||
__meta_kubernetes_namespace and
|
||||
__meta_kubernetes_pod_label_*. (@kalleep)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 14:26:07 UTC 2025 - Witek Bedyk <witold.bedyk@suse.com>
|
||||
|
||||
- update to 1.8.1^20250410d23d30f49 (jsc#PED-12282):
|
||||
* Update github.com/hashicorp/vault/api to 1.16.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 11 06:06:37 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.8.1:
|
||||
* Bugfixes
|
||||
- rfc3164_default_to_current_year argument was not fully added to
|
||||
loki.source.syslog (@dehaansa)
|
||||
- Fix issue with remoteCfg service stopping immediately and
|
||||
logging noop error if not configured (@dehaansa)
|
||||
- Fix potential race condition in remoteCfg service metrics
|
||||
registration (@kalleep)
|
||||
- Fix panic in prometheus.exporter.postgres when using minimal url
|
||||
as data source name. (@kalleep)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 9 17:58:17 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.8.0:
|
||||
* Breaking changes
|
||||
- Removed open_port and executable_name from top level
|
||||
configuration of Beyla component. Removed enabled argument
|
||||
from network block. (@marctc)
|
||||
- Breaking changes from the OpenTelemetry Collector v0.122
|
||||
update: (@wildum)
|
||||
- otelcol.exporter.splunkhec: min_size_items and
|
||||
max_size_items were replaced by min_size, max_size and
|
||||
sizer in the batcher block to allow users to configure the
|
||||
size of the batch in a more flexible way.
|
||||
- The telemetry level of Otel components is no longer
|
||||
configurable. The level argument in the debug_metrics block
|
||||
is kept to avoid breaking changes but it is not used
|
||||
anymore.
|
||||
- otelcol.processor.tailsampling changed the unit of the
|
||||
decision timer metric from microseconds to milliseconds.
|
||||
(change unit of
|
||||
otelcol_processor_tail_sampling_sampling_decision_timer_latency)
|
||||
- otelcol.processor.deltatocumulative: rename
|
||||
otelcol_deltatocumulative_datapoints_processed to
|
||||
otelcol_deltatocumulative_datapoints and remove the metrics
|
||||
otelcol_deltatocumulative_streams_evicted,
|
||||
otelcol_deltatocumulative_datapoints_dropped and
|
||||
otelcol_deltatocumulative_gaps_length.
|
||||
- The regex attribute was removed from
|
||||
otelcol.processor.k8sattributes. The extract-patterns
|
||||
function from otelcol.processor.transform can be used
|
||||
instead.
|
||||
- The default value of metrics_flush_interval in
|
||||
otelcol.connector.servicegraph was changed from 0s to 60s.
|
||||
- s3_partition in otelcol.exporter.awss3 was replaced by
|
||||
s3_partition_format.
|
||||
- (Experimental) prometheus.write.queue metric names changed to
|
||||
align better with prometheus standards. (@mattdurham)
|
||||
* Features
|
||||
- Add otelcol.receiver.awscloudwatch component to receive logs
|
||||
from AWS CloudWatch and forward them to other otelcol.*
|
||||
components. (@wildum)
|
||||
- Add loki.enrich component to enrich logs using labels from
|
||||
discovery.* components. (@v-zhuravlev)
|
||||
- Add string concatenation for secrets type (@ravishankar15)
|
||||
- Add support for environment variables to OpenTelemetry
|
||||
Collector config. (@jharvey10)
|
||||
- Replace graph in Alloy UI with a new version that supports
|
||||
modules and data flow visualization. (@wildum)
|
||||
- Added --cluster.wait-for-size and --cluster.wait-timeout
|
||||
flags which allow to specify the minimum cluster size
|
||||
required before components that use clustering begin
|
||||
processing traffic to ensure adequate cluster capacity is
|
||||
available. (@thampiotr)
|
||||
- Add trace_printer to beyla.ebpf component to print trace
|
||||
information in a specific format. (@marctc)
|
||||
- Add support for live debugging and graph in the UI for
|
||||
components imported via remotecfg. (@wildum)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 06:02:28 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.7.5:
|
||||
* Notable changes:
|
||||
- Set zstd as default compression for prometheus.write.queue.
|
||||
(@mattdurham)
|
||||
Though technically an enhancement this was causing trouble in
|
||||
disk io constrained environments. Zstd provides almost double
|
||||
the compression with little additional cpu overhead.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 14 06:36:14 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.7.4:
|
||||
* Notable changes:
|
||||
- Revert the changes to loki.source.file from release v1.7.0.
|
||||
These changes introduced a potential deadlock. (@dehaansa)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 13 18:47:13 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.7.3:
|
||||
* Notable changes:
|
||||
- Fixed the parsing of selections, application and network
|
||||
filter blocks for Beyla
|
||||
- Add the stat_checkpointer collector in
|
||||
prometheus.exporter.postgres (@dehaansa)
|
||||
- Update the prometheus.exporter.postgres component to
|
||||
correctly support Postgres17 when stat_bgwriter collector is
|
||||
enabled (@dehaansa)
|
||||
- Fix remoteCfg logging and metrics reporting of errNotModified
|
||||
as a failure (@zackman0010)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 10 13:50:09 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.7.2:
|
||||
* Notable changes:
|
||||
- Fixed an issue where the otelcol.exporter.awss3 could not be
|
||||
started with the sumo_ic marshaler. (@wildum)
|
||||
- Update jfr-parser dependency to v0.9.3 to fix jfr parsing
|
||||
issues in pyroscope.java. (@korniltsev)
|
||||
- Fixed an issue where passing targets from some standard
|
||||
library functions was failing with target::ConvertFrom error.
|
||||
(@thampiotr)
|
||||
- Fixed an issue where indexing targets as maps (e.g.
|
||||
target["foo"]) or objects (e.g. target.foo) or using them
|
||||
with certain standard library functions was resulting in
|
||||
expected object or array, got capsule error under some
|
||||
circumstances. This could also lead to foreach evaluation
|
||||
failed errors when using the foreach configuration block.
|
||||
(@thampiotr)
|
||||
- Update prometheus.write.queue to reduce memory fragmentation
|
||||
and increase sent throughput. (@mattdurham)
|
||||
- Fixed an issue where the otelcol.exporter.kafka component
|
||||
would not start if the encoding was specific to a signal
|
||||
type. (@wildum)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 05:46:08 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.7.1:
|
||||
* Bugfixes
|
||||
- Fixed an issue where some exporters such as
|
||||
prometheus.exporter.snmp couldn't accept targets from other
|
||||
components with an error conversion to '*map[string]string'
|
||||
is not supported". (@thampiotr)
|
||||
- Enable batching of calls to the appender in
|
||||
prometheus.write.queue to reduce lock contention when
|
||||
scraping, which will lead to reduced scrape duration.
|
||||
(@mattdurham)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 25 13:57:49 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.7.0:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.7.0/CHANGELOG.md
|
||||
* Breaking changes
|
||||
- (Experimental) In prometheus.write.queue changed parallelism
|
||||
from attribute to a block to allow for dynamic scaling.
|
||||
(@mattdurham)
|
||||
- Remove tls_basic_auth_config_path attribute from
|
||||
prometheus.exporter.mongodb configuration as it does not
|
||||
configure TLS client behavior as previously documented.
|
||||
- Remove encoding and encoding_file_ext from
|
||||
otelcol.exporter.awss3 component as it was not wired in to
|
||||
the otel component and Alloy does not currently integrate the
|
||||
upstream encoding extensions that this would utilize.
|
||||
* Features
|
||||
- Add a otelcol.receiver.tcplog component to receive
|
||||
OpenTelemetry logs over a TCP connection. (@nosammai)
|
||||
- (Public preview) Add otelcol.receiver.filelog component to
|
||||
read otel log entries from files (@dehaansa)
|
||||
- (Public preview) Add a otelcol.processor.cumulativetodelta
|
||||
component to convert metrics from cumulative temporality to
|
||||
delta. (@madaraszg-tulip)
|
||||
- (Experimental) Add a stage.windowsevent block in the
|
||||
loki.process component. This aims to replace the existing
|
||||
stage.eventlogmessage. (@wildum)
|
||||
- Add pyroscope.relabel component to modify or filter profiles
|
||||
using Prometheus relabeling rules. (@marcsanmi)
|
||||
- (Experimental) A new foreach block which starts an Alloy
|
||||
pipeline for each item inside a list. (@wildum, @thampiotr,
|
||||
@ptodev)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 27 16:12:54 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.6.1:
|
||||
* Resolve issue with Beyla not starting. (1.6.0 regression)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 27 16:06:54 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.6.0:
|
||||
* Breaking changes
|
||||
- Upgrade to OpenTelemetry Collector v0.116.0:
|
||||
otelcol.processor.tailsampling: Change decision precedence
|
||||
when using and_sub_policy and invert_match. For more
|
||||
information, see the release notes for Alloy 1.6.
|
||||
* Features
|
||||
- Add otelcol.receiver.syslog component to receive otel logs in
|
||||
syslog format (@dehaansa)
|
||||
- Add support for metrics in otelcol.exporter.loadbalancing
|
||||
(@madaraszg-tulip)
|
||||
- Add add_cloudwatch_timestamp to
|
||||
prometheus.exporter.cloudwatch metrics. (@captncraig)
|
||||
- Add support to prometheus.operator.servicemonitors to allow
|
||||
endpointslice role. (@yoyosir)
|
||||
- Add otelcol.exporter.splunkhec allowing to export otel data
|
||||
to Splunk HEC (@adlotsof)
|
||||
- Add otelcol.receiver.solace component to receive traces from
|
||||
a Solace broker. (@wildum)
|
||||
- Add otelcol.exporter.syslog component to export logs in
|
||||
syslog format (@dehaansa)
|
||||
- (Experimental) Add a database_observability.mysql component
|
||||
to collect mysql performance data. (@cristiangreco &
|
||||
@matthewnolf)
|
||||
- Add otelcol.receiver.influxdb to convert influx metric into
|
||||
OTEL. (@EHSchmitt4395)
|
||||
- Add a new /-/healthy endpoint which returns HTTP 500 if one
|
||||
or more components are unhealthy. (@ptodev)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 06:39:07 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.5.1:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.5.1/CHANGELOG.md
|
||||
* Enhancements
|
||||
- Logs from underlying clustering library memberlist are now
|
||||
surfaced with correct level (@thampiotr)
|
||||
- Allow setting informer_sync_timeout in prometheus.operator.*
|
||||
components. (@captncraig)
|
||||
- For sharding targets during clustering, loki.source.podlogs
|
||||
now only takes into account some labels. (@ptodev)
|
||||
* Bugfixes
|
||||
- Fixed an issue in the pyroscope.write component to prevent
|
||||
TLS connection churn to Pyroscope when the
|
||||
pyroscope.receive_http clients don't request keepalive
|
||||
(@madaraszg-tulip)
|
||||
- Fixed an issue in the pyroscope.write component with multiple
|
||||
endpoints not working correctly for forwarding profiles from
|
||||
pyroscope.receive_http (@madaraszg-tulip)
|
||||
- Fixed a few race conditions that could lead to a deadlock
|
||||
when using import statements, which could lead to a memory
|
||||
leak on /metrics endpoint of an Alloy instance. (@thampiotr)
|
||||
- Fix a race condition where the ui service was dependent on
|
||||
starting after the remotecfg service, which is not
|
||||
guaranteed. (@dehaansa & @erikbaranowski)
|
||||
- Fixed an issue in the otelcol.exporter.prometheus component
|
||||
that would set series value incorrectly for stale metrics
|
||||
(@YusifAghalar)
|
||||
- loki.source.podlogs: Fixed a bug which prevented clustering
|
||||
from working and caused duplicate logs to be sent. The bug
|
||||
only happened when no selector or namespace_selector blocks
|
||||
were specified in the Alloy configuration. (@ptodev)
|
||||
- Fixed an issue in the pyroscope.write component to allow
|
||||
slashes in application names in the same way it is done in
|
||||
the Pyroscope push API (@marcsanmi)
|
||||
- Fixed a crash when updating the configuration of remote.http.
|
||||
(@kinolaev)
|
||||
- Fixed an issue in the otelcol.processor.attribute component
|
||||
where the actions delete and hash could not be used with the
|
||||
pattern argument. (@wildum)
|
||||
- Fixed an issue in the prometheus.exporter.postgres component
|
||||
that would leak goroutines when the target was not reachable
|
||||
(@dehaansa)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 13 14:46:08 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.5.0:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.5.0/CHANGELOG.md
|
||||
* Breaking changes
|
||||
- import.git: The default value for revision has changed from
|
||||
HEAD to main. (@ptodev) It is no longer allowed to set
|
||||
revision to "HEAD", "FETCH_HEAD", "ORIG_HEAD", "MERGE_HEAD",
|
||||
or "CHERRY_PICK_HEAD".
|
||||
- The Otel update to v0.112.0 has a few breaking changes:
|
||||
- [otelcol.processor.deltatocumulative] Change max_streams
|
||||
default value to 9223372036854775807 (max int).
|
||||
- open-telemetry/opentelemetry-collector-contrib#35048
|
||||
- [otelcol.connector.spanmetrics] Change namespace default
|
||||
value to traces.span.metrics.
|
||||
- open-telemetry/opentelemetry-collector-contrib#34485
|
||||
- [otelcol.exporter.logging] Removed in favor of the
|
||||
otelcol.exporter.debug.
|
||||
- open-telemetry/opentelemetry-collector#11337
|
||||
* Features
|
||||
- Add the function path_join to the stdlib. (@wildum)
|
||||
- Add pyroscope.receive_http component to receive and forward
|
||||
Pyroscope profiles (@marcsanmi)
|
||||
- Add support to loki.source.syslog for the RFC3164 format
|
||||
("BSD syslog"). (@sushain97)
|
||||
- Add support to loki.source.api to be able to extract the
|
||||
tenant from the HTTP X-Scope-OrgID header (@QuentinBisson)
|
||||
- (Experimental) Add a loki.secretfilter component to redact
|
||||
secrets from collected logs.
|
||||
- (Experimental) Add a prometheus.write.queue component to add
|
||||
an alternative to prometheus.remote_write which allowing the
|
||||
writing of metrics to a prometheus endpoint. (@mattdurham)
|
||||
- (Experimental) Add the arrary.combine_maps function to the
|
||||
stdlib. (@ptodev, @wildum)
|
||||
- Add support bundle generation via the API endpoint /-/support
|
||||
(@dehaansa)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 15:52:06 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.4.3:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.4.3/CHANGELOG.md
|
||||
* Bugfixes
|
||||
- Fix an issue where some faro.receiver would drop multiple
|
||||
fields defined in payload.meta.browser, as fields were
|
||||
defined in the struct.
|
||||
- pyroscope.scrape no longer tries to scrape endpoints which
|
||||
are not active targets anymore. (@wildum @mattdurham
|
||||
@dehaansa @ptodev)
|
||||
- Fixed a bug with loki.source.podlogs not starting in large
|
||||
clusters due to short informer sync timeout.
|
||||
(@elburnetto-intapp)
|
||||
- prometheus.exporter.windows: Fixed bug with exclude regular
|
||||
expression config arguments which caused missing metrics.
|
||||
(@ptodev)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 13:32:08 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.4.2:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.4.2/CHANGELOG.md
|
||||
* Bugfixes
|
||||
- Update windows_exporter from v0.27.2 vo v0.27.3: (@jkroepke)
|
||||
- Fixes a bug where scraping Windows service crashes alloy
|
||||
- Update yet-another-cloudwatch-exporter from v0.60.0 vo
|
||||
v0.61.0: (@morremeyer)
|
||||
- Fixes a bug where cloudwatch S3 metrics are reported as 0
|
||||
- Issue 1687 - otelcol.exporter.awss3 fails to configure
|
||||
(@cydergoth)
|
||||
- Fix parsing of the Level configuration attribute in
|
||||
debug_metrics config block
|
||||
- Ensure "optional" debug_metrics config block really is
|
||||
optional
|
||||
- Fixed an issue with loki.process where stage.luhn and
|
||||
stage.timestamp would not apply default configuration
|
||||
settings correctly (@thampiotr)
|
||||
- Fixed an issue with loki.process where configuration could be
|
||||
reloaded even if there were no changes. (@ptodev, @thampiotr)
|
||||
- Fix issue where loki.source.kubernetes took into account all
|
||||
labels, instead of specific logs labels. Resulting in
|
||||
duplication. (@mattdurham)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 13:23:03 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.4.1:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.4.1/CHANGELOG.md
|
||||
* Bugfixes
|
||||
- Windows installer: Don't quote Alloy's binary path in the
|
||||
Windows Registry. (@jkroepke)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 13:06:50 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.4.0:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.4.0/CHANGELOG.md
|
||||
* Security fixes
|
||||
- Add quotes to windows service path to prevent path
|
||||
interception attack. CVE-2024-8975 (@mattdurham)
|
||||
* Breaking changes
|
||||
- Some debug metrics for otelcol components have changed.
|
||||
(@thampiotr) For example, otelcol.exporter.otlp's
|
||||
exporter_sent_spans_ratio_total metric is now
|
||||
otelcol_exporter_sent_spans_total.
|
||||
- [otelcol.processor.transform] The functions
|
||||
convert_sum_to_gauge and convert_gauge_to_sum must now be
|
||||
used in the metric context rather than in the datapoint
|
||||
context.
|
||||
open-telemetry/opentelemetry-collector-contrib#34567
|
||||
(@wildum)
|
||||
- Upgrade Beyla from 1.7.0 to 1.8.2. A complete list of changes
|
||||
can be found on the Beyla releases page:
|
||||
https://github.com/grafana/beyla/releases. (@wildum) It
|
||||
contains a few breaking changes for the component beyla.ebpf:
|
||||
- renamed metric process.cpu.state to cpu.mode
|
||||
- renamed metric beyla_build_info to
|
||||
beyla_internal_build_info
|
||||
* Features
|
||||
- Added Datadog Exporter community component, enabling
|
||||
exporting of otel-formatted Metrics and traces to Datadog.
|
||||
(@polyrain) (Experimental) Add an otelcol.processor.interval
|
||||
component to aggregate metrics and periodically forward the
|
||||
latest values to the next component in the pipeline.
|
||||
* Enhancements
|
||||
- Clustering peer resolution through --cluster.join-addresses
|
||||
flag has been improved with more consistent behaviour, better
|
||||
error handling and added support for A/AAAA DNS records. If
|
||||
necessary, users can temporarily opt out of this new
|
||||
behaviour with the --cluster.use-discovery-v1, but this can
|
||||
only be used as a temporary measure, since this flag will be
|
||||
disabled in future releases. (@thampiotr)
|
||||
- Added a new panel to Cluster Overview dashboard to show the
|
||||
number of peers seen by each instance in the cluster. This
|
||||
can help diagnose cluster split brain issues. (@thampiotr)
|
||||
- Updated Snowflake exporter with performance improvements for
|
||||
larger environments. Also added a new panel to track deleted
|
||||
tables to the Snowflake mixin. (@Caleb-Hurshman)
|
||||
- Add a otelcol.processor.groupbyattrs component to reassociate
|
||||
collected metrics that match specified attributes from
|
||||
opentelemetry. (@kehindesalaam)
|
||||
- Update windows_exporter to v0.27.2. (@jkroepke) The
|
||||
smb.enabled_list and smb_client.enabled_list doesn't have any
|
||||
effect anymore. All sub-collectors are enabled by default.
|
||||
* Bugfixes
|
||||
- Fix a bug where the scrape timeout for a Probe resource was
|
||||
not applied, overwriting the scrape interval instead.
|
||||
(@morremeyer, @stefanandres)
|
||||
- Fix a bug where custom components don't always get updated
|
||||
when the config is modified in an imported directory.
|
||||
(@ante012)
|
||||
- Fixed an issue where providing <hostname>:<port> in
|
||||
--cluster.join-addresses would only resolve with DNS to a
|
||||
single address, instead of using all the available records.
|
||||
(@thampiotr)
|
||||
* Other
|
||||
- Update OTel from v0.105.0 vo v0.108.0: (@wildum)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 12:57:01 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.3.4:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.3.4/CHANGELOG.md
|
||||
* Bugfixes
|
||||
- Windows installer: Don't quote Alloy's binary path in the
|
||||
Windows Registry. (@jkroepke)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 12:45:20 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.3.3 (1.3.2 was not released):
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.3.3/CHANGELOG.md
|
||||
* Security fixes
|
||||
- Add quotes to windows service path to prevent path
|
||||
interception attack. CVE-2024-8975 (@mattdurham)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 11:54:01 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.3.1:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.3.1/CHANGELOG.md
|
||||
* Notable changes:
|
||||
- Changed the cluster startup behaviour, reverting to the
|
||||
previous logic where a failure to resolve cluster join peers
|
||||
results in the node creating its own cluster. This is to
|
||||
facilitate the process of bootstrapping a new cluster
|
||||
following user feedback (@thampiotr)
|
||||
- Fix a memory leak which would occur any time loki.process had
|
||||
its configuration reloaded. (@ptodev)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 11:36:13 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.3.0:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.3.0/CHANGELOG.md
|
||||
* Breaking changes
|
||||
- [otelcol.exporter.otlp,otelcol.exporter.loadbalancing]:
|
||||
Change the default gRPC load balancing strategy. The default
|
||||
value for the balancer_name attribute has changed to
|
||||
round_robin open-telemetry/opentelemetry-collector#10319
|
||||
* Breaking changes to non-GA functionality
|
||||
- Update Public preview remotecfg argument from metadata to
|
||||
attributes. (@erikbaranowski)
|
||||
- The default value of the argument unmatched in the block
|
||||
routes of the component beyla.ebpf was changed from unset to
|
||||
heuristic (@marctc)
|
||||
* Features
|
||||
- Added community components support, enabling community
|
||||
members to implement and maintain components. (@wildum)
|
||||
- A new otelcol.exporter.debug component for printing OTel
|
||||
telemetry from other otelcol components to the console.
|
||||
(@BarunKGP)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 11:20:07 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.2.1:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.2.1/CHANGELOG.md
|
||||
* Bugfixes
|
||||
- Fixed an issue with loki.source.kubernetes_events not
|
||||
starting in large clusters due to short informer sync
|
||||
timeout. (@nrwiersma)
|
||||
- Updated ckit to fix an issue with armv7 panic on startup when
|
||||
forming a cluster. (@imavroukakis)
|
||||
- Fixed a clustering mode issue where a failure to perform
|
||||
static peers discovery did not result in a fatal failure at
|
||||
startup and could lead to potential split-brain issues.
|
||||
(@thampiotr)
|
||||
* Other
|
||||
- Use Go 1.22.5 for builds. (@mattdurham)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 10:11:44 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 1.2.0:
|
||||
For a full list of changes, please refer to the CHANGELOG!
|
||||
https://github.com/grafana/alloy/blob/v1.2.0/CHANGELOG.md#v120
|
||||
* Breaking changes
|
||||
- Updated OpenTelemetry to v0.102.1. (@mattdurham)
|
||||
- Components
|
||||
otelcol.receiver.otlp,otelcol.receiver.zipkin,otelcol.extension.jaeger_remote_sampling,
|
||||
and otelcol.receiver.jaeger setting max_request_body_size
|
||||
default changed from unlimited size to 20MiB. This is due
|
||||
to CVE-2024-36129.
|
||||
* Breaking changes to non-GA functionality
|
||||
- Component otelcol.receiver.vcenter removed
|
||||
vcenter.host.network.packet.errors,
|
||||
vcenter.host.network.packet.count, and
|
||||
vcenter.vm.network.packet.count.
|
||||
- vcenter.host.network.packet.errors replaced by
|
||||
vcenter.host.network.packet.error.rate.
|
||||
- vcenter.host.network.packet.count replaced by
|
||||
vcenter.host.network.packet.rate.
|
||||
- vcenter.vm.network.packet.count replaced by
|
||||
vcenter.vm.network.packet.rate.
|
||||
* Features
|
||||
- Add an otelcol.exporter.kafka component to send OTLP metrics,
|
||||
logs, and traces to Kafka.
|
||||
- Added live debugging to the UI. Live debugging streams data
|
||||
as they flow through components for debugging telemetry data.
|
||||
Individual components must be updated to support live
|
||||
debugging. (@wildum)
|
||||
- Added live debugging support for prometheus.relabel.
|
||||
(@wildum)
|
||||
- (Experimental) Add a otelcol.processor.deltatocumulative
|
||||
component to convert metrics from delta temporality to
|
||||
cumulative by accumulating samples in memory. (@rfratto)
|
||||
- (Experimental) Add an otelcol.receiver.datadog component to
|
||||
receive metrics and traces from Datadog. (@carrieedwards,
|
||||
@jesusvazquez, @alexgreenbank, @fedetorres93)
|
||||
* Enhancements
|
||||
- (Public preview) Add native histogram support to
|
||||
otelcol.receiver.prometheus. (@wildum)
|
||||
- Added scrape_protocols option to prometheus.scrape, which
|
||||
allows to control the preferred order of scrape protocols.
|
||||
(@thampiotr)
|
||||
- Improved filesystem error handling when working with
|
||||
loki.source.file and local.file_match, which removes some
|
||||
false-positive error log messages on Windows (@thampiotr)
|
||||
- Updates receiver/vcenter to use new features and bugfixes
|
||||
introduced in OTEL releases v0.100.0 and v0.101.0. Refer to
|
||||
the v0.100.0 and v0.101.0 release notes for more detailed
|
||||
information.
|
||||
- Add yaml_decode to standard library. (@mattdurham, @djcode)
|
||||
- Add base64_decode to standard library. (@hainenber)
|
||||
- Updated OpenTelemetry Contrib to v0.102.0. (@mattdurham)
|
||||
- otelcol.processor.resourcedetection: Added a tags config
|
||||
argument to the azure detection mechanism. It exposes
|
||||
regex-matched Azure resource tags as OpenTelemetry resource
|
||||
attributes.
|
||||
* Bugfixes
|
||||
- Fixed an issue with prometheus.scrape in which targets that
|
||||
move from one cluster instance to another could have a
|
||||
staleness marker inserted and result in a gap in metrics
|
||||
(@thampiotr)
|
||||
- Fix panic when import.git is given a revision that does not
|
||||
exist on the remote repo. (@hainenber)
|
||||
- Fixed an issue with loki.source.docker where collecting logs
|
||||
from targets configured with multiple networks would result
|
||||
in errors. (@wildum)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 10:05:16 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 1.1.1:
|
||||
* Notable changes:
|
||||
- Fix panic when component ID contains / in
|
||||
otelcomponent.MustNewType(ID).(@qclaogui)
|
||||
- Exit Alloy immediately if the port it runs on is not
|
||||
available.
|
||||
This port can be configured with --server.http.listen-addr or
|
||||
using the default listen address127.0.0.1:12345.
|
||||
(@mattdurham)
|
||||
- Fix a panic in loki.source.docker when trying to stop a
|
||||
target that was never started. (@wildum)
|
||||
- Fix error on boot when using IPv6 advertise addresses without
|
||||
explicitly specifying a port. (@matthewpi)
|
||||
- Fix an issue where having long component labels (>63 chars)
|
||||
on otelcol.auth components lead to a panic. (@tpaschalis)
|
||||
- Update prometheus.exporter.snowflake with the latest version
|
||||
of the exporter as of May 28, 2024 (@StefanKurek)
|
||||
- Fixes issue where returned NULL values from database could
|
||||
cause unexpected errors.
|
||||
- Bubble up SSH key conversion error to facilitate failed
|
||||
import.git. (@hainenber)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 09:55:00 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 1.1.0:
|
||||
* Features
|
||||
- (Public preview) Add support for setting GOMEMLIMIT based on
|
||||
cgroup setting. (@mattdurham)
|
||||
- (Public preview) Introduce BoringCrypto Docker images. The
|
||||
BoringCrypto image is tagged with the -boringcrypto suffix
|
||||
and is only available on AMD64 and ARM64 Linux containers.
|
||||
(@rfratto, @mattdurham)
|
||||
- (Public preview) Introduce boringcrypto release assets.
|
||||
BoringCrypto builds are publshed for Linux on AMD64 and ARM64
|
||||
platforms. (@rfratto, @mattdurham)
|
||||
- otelcol.exporter.loadbalancing: Add a new aws_cloud_map
|
||||
resolver. (@ptodev)
|
||||
- Introduce a otelcol.receiver.file_stats component from the
|
||||
upstream OpenTelemetry filestatsreceiver component.
|
||||
(@rfratto)
|
||||
* Enhancements
|
||||
- Update prometheus.exporter.kafka with the following
|
||||
functionalities (@wildum):
|
||||
- GSSAPI config
|
||||
- enable/disable PA_FX_FAST
|
||||
- set a TLS server name
|
||||
- show the offset/lag for all consumer group or only the
|
||||
connected ones
|
||||
- set the minimum number of topics to monitor
|
||||
- enable/disable auto-creation of requested topics if they
|
||||
don't already exist
|
||||
- regex to exclude topics / groups
|
||||
- added metric kafka_broker_info
|
||||
- In prometheus.exporter.kafka, the interpolation table used to
|
||||
compute estimated lag metrics is now pruned on
|
||||
metadata_refresh_interval instead of prune_interval_seconds.
|
||||
(@wildum)
|
||||
- Don't restart tailers in loki.source.kubernetes component by
|
||||
above-average time deltas if K8s version is >= 1.29.1
|
||||
(@hainenber)
|
||||
- In mimir.rules.kubernetes, add support for running in a
|
||||
cluster of Alloy instances by electing a single instance as
|
||||
the leader for the mimir.rules.kubernetes component to avoid
|
||||
conflicts when making calls to the Mimir API. (@56quarters)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 09:01:35 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
name: alloy
|
||||
version: 1.0.0
|
||||
mtime: 1712346539
|
||||
commit: 1eef9b3ae92cb806181dc6ad39a660864f778764
|
||||
version: 1.9.2
|
||||
mtime: 1750946147
|
||||
commit: 30277f7c6a6c8363a6c7715e17431dbabf93ac69
|
||||
|
17
alloy.spec
17
alloy.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package alloy
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,10 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
|
||||
|
||||
Name: alloy
|
||||
Version: 1.0.0
|
||||
Version: 1.9.2
|
||||
Release: 0
|
||||
Summary: OpenTelemetry Collector distribution with programmable pipelines
|
||||
License: Apache-2.0
|
||||
@@ -29,7 +27,7 @@ Source1: vendor.tar.gz
|
||||
Source2: ui-%{version}.tar.gz
|
||||
Source3: PACKAGING_README.md
|
||||
Source4: Makefile
|
||||
BuildRequires: go >= 1.22
|
||||
BuildRequires: go >= 1.23.5
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: user(alloy)
|
||||
# Require the system user and group
|
||||
@@ -37,6 +35,8 @@ Requires(pre): user(alloy)
|
||||
Requires(pre): group(alloy)
|
||||
# for the sysconfig file
|
||||
Requires(post): %fillup_prereq
|
||||
# /usr/lib/go/1.23/pkg/tool/linux_386/link: mapping output file failed: cannot allocate memory
|
||||
ExcludeArch: %{ix86} armv7hl armv7l armv7l:armv6l:armv5tel armv6hl
|
||||
|
||||
%description
|
||||
Grafana Alloy is an open source OpenTelemetry Collector distribution with
|
||||
@@ -76,7 +76,7 @@ cd ../../
|
||||
|
||||
%build
|
||||
# hash will be shortended by COMMIT_HASH:0:8 later
|
||||
COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/alloy.obsinfo)"
|
||||
COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %{_sourcedir}/alloy.obsinfo)"
|
||||
|
||||
DATE_FMT="+%%Y-%%m-%%dT%%H:%%M:%%SZ"
|
||||
BUILD_DATE=$(date -u -d "@${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u -r "${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u "${DATE_FMT}")
|
||||
@@ -99,8 +99,8 @@ install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name}
|
||||
# systemd unit
|
||||
install -D -m 0644 packaging/rpm/%{name}.service %{buildroot}/%{_unitdir}/%{name}.service
|
||||
|
||||
# configuration directory
|
||||
install -d -m 0755 %{buildroot}/%{_sysconfdir}/%{name}
|
||||
# configuration file
|
||||
install -D -m 0644 packaging/config.alloy %{buildroot}/%{_sysconfdir}/%{name}/config.alloy
|
||||
|
||||
# sysconfig file
|
||||
install -D -m 0644 packaging/environment-file %{buildroot}%{_fillupdir}/sysconfig.alloy
|
||||
@@ -124,6 +124,7 @@ install -d -m 0770 %{buildroot}/%{_sharedstatedir}/%{name}/data/
|
||||
|
||||
%files
|
||||
%doc README.md packaging/config.alloy
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/config.alloy
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_unitdir}/%{name}.service
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a9325b0e24475d441f2aca6987a3ace02b88066ab187d9e7ecd36ed01b690a0d
|
||||
size 57514307
|
BIN
ui-1.9.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
ui-1.9.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
vendor.tar.gz
(Stored with Git LFS)
BIN
vendor.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user