Accepting request 1219636 from server:monitoring

OBS-URL: https://build.opensuse.org/request/show/1219636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alloy?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2024-10-30 21:58:28 +00:00 committed by Git OBS Bridge
commit ccb4a6bff5
12 changed files with 374 additions and 24 deletions

View File

@ -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. To do that, you need to have `make` and `yarn` installed locally.
1. Change the version in the `_service` file 1. Change the version in the `_service` file
2. Change the version in the spec file 2. Run `make`
3. Run `make` 3. Create a changelog entry
4. Create a changelog entry 4. Commit the changes as usual
5. Commit the changes as usual
For the OBS workflow you also need `obs-service-go_modules` as well For the OBS workflow you also need `obs-service-go_modules` as well
as `obs-service-tar_scm` and `obs-service-recompress`. as `obs-service-tar_scm` and `obs-service-recompress`.

8
_constraints Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<constraints>
<hardware>
<memory>
<size unit="G">8</size>
</memory>
</hardware>
</constraints>

View File

@ -3,19 +3,20 @@
<param name="url">https://github.com/grafana/alloy</param> <param name="url">https://github.com/grafana/alloy</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="exclude">.git</param> <param name="exclude">.git</param>
<param name="revision">v1.0.0</param> <param name="revision">v1.4.3</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">disable</param>
</service> </service>
<service name="set_version" mode="manual"> <service name="set_version" mode="manual">
</service> </service>
<service name="go_modules" mode="manual">
</service>
<!-- services below are running at buildtime -->
<service name="tar" mode="buildtime"> <service name="tar" mode="buildtime">
</service> </service>
<service name="recompress" mode="buildtime"> <service name="recompress" mode="buildtime">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">gz</param> <param name="compression">gz</param>
</service> </service>
<service name="go_modules" mode="manual">
</service>
</services> </services>

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/grafana/alloy</param> <param name="url">https://github.com/grafana/alloy</param>
<param name="changesrevision">1eef9b3ae92cb806181dc6ad39a660864f778764</param></service></servicedata> <param name="changesrevision">7d95579015e121941001f0f06167e873dc7aabcc</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16686139cbf0aa7a7e2555a5ed92653dd06f83d40b6359cd17e8cd3df963ed2c
size 29902861

3
alloy-1.4.3.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63f4fb9ce320f7467779b739ace15124ad45ccb911cfa4fb74a2cebcb5208997
size 31401485

View File

@ -1,3 +1,344 @@
-------------------------------------------------------------------
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> Tue May 21 09:01:35 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@ -1,4 +1,4 @@
name: alloy name: alloy
version: 1.0.0 version: 1.4.3
mtime: 1712346539 mtime: 1729264710
commit: 1eef9b3ae92cb806181dc6ad39a660864f778764 commit: 21d118c9a816177efd01312a44b630a7568aded0

View File

@ -16,10 +16,8 @@
# #
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: alloy Name: alloy
Version: 1.0.0 Version: 1.4.3
Release: 0 Release: 0
Summary: OpenTelemetry Collector distribution with programmable pipelines Summary: OpenTelemetry Collector distribution with programmable pipelines
License: Apache-2.0 License: Apache-2.0
@ -29,7 +27,7 @@ Source1: vendor.tar.gz
Source2: ui-%{version}.tar.gz Source2: ui-%{version}.tar.gz
Source3: PACKAGING_README.md Source3: PACKAGING_README.md
Source4: Makefile Source4: Makefile
BuildRequires: go >= 1.22 BuildRequires: go >= 1.22.5
BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libsystemd)
BuildRequires: user(alloy) BuildRequires: user(alloy)
# Require the system user and group # Require the system user and group
@ -38,6 +36,9 @@ Requires(pre): group(alloy)
# for the sysconfig file # for the sysconfig file
Requires(post): %fillup_prereq Requires(post): %fillup_prereq
# /usr/lib/go/1.23/pkg/tool/linux_386/link: mapping output file failed: cannot allocate memory
ExcludeArch: %{ix86}
%description %description
Grafana Alloy is an open source OpenTelemetry Collector distribution with Grafana Alloy is an open source OpenTelemetry Collector distribution with
built-in Prometheus pipelines and support for metrics, logs, traces, and built-in Prometheus pipelines and support for metrics, logs, traces, and

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9325b0e24475d441f2aca6987a3ace02b88066ab187d9e7ecd36ed01b690a0d
size 57514307

3
ui-1.4.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9775393894e7d3d79ca0b4cabfb6b3a06ad7e51757f00ecd3d7aae58127daac
size 115813577

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:0a1b7b32a48999a676324a04007076ad18c60b1f6fea1f34a11029cf98fac605 oid sha256:13b8e72175f712770f53dddcd6a00d12a868350cf36f2f361f612cd6e5334f8b
size 42621236 size 49929637