未验证 提交 2ec89da3 编写于 作者: W Wing 提交者: GitHub

Refine Hour-Day-Metrics-Stopping.md and How-to-build-with-mac-m1.md (#6500)

上级 28f338c0
# Why metrics indexes in Hour and Day precisions stop update after upgrade to 7.x?
# Why do metrics indexes with Hour and Day precisions stop updating after upgrade to 7.x?
This is an expected case when 6.x->7.x upgrade.
Read [Downsampling Data Packing feature](../setup/backend/backend-storage.md#downsampling-data-packing)
This issue is to be expected with an upgrade from 6.x to 7.x.
See the [Downsampling Data Packing feature](../setup/backend/backend-storage.md#downsampling-data-packing)
of the ElasticSearch storage.
The users could simply delete all expired `*-day_xxxxx` and `*-hour_xxxxx`(`xxxxx` is a timestamp) indexes.
SkyWalking is using `metrics name-xxxxx` and `metrics name-month_xxxxx` indexes only.
\ No newline at end of file
You may simply delete all expired `*-day_xxxxx` and `*-hour_xxxxx`(`xxxxx` is a timestamp) indexes.
Currently, SkyWalking uses the `metrics name-xxxxx` and `metrics name-month_xxxxx` indexes only.
# Fix compiling on MacBook M1 chip
# Compiling issues on Mac's M1 chip
### Problem
- When compiling according to [How-to-build](../guides/How-to-build.md), The following problems will occur, causing the build to fail.
- When compiling according to [How-to-build](../guides/How-to-build.md), The following problems may occur, causing the build to fail.
```
[ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (grpc-build) on project apm-network: Unable to resolve artifact: Missing:
[ERROR] ----------
......@@ -24,7 +24,7 @@
```
### Reason
Because the dependent Protocol Buffers v3.14.0 does not have an osx-aarch_64 version, Protocol Buffers Releases link: https://github.com/protocolbuffers/protobuf/releases, fortunately, mac m1 is compatible with the osx-x86_64 version, before this version is available for download, you need to manually specify the osx-x86_64 version.
The dependent Protocol Buffers v3.14.0 does not come with an osx-aarch_64 version. You may find the osx-aarch_64 version at the Protocol Buffers Releases link here: https://github.com/protocolbuffers/protobuf/releases. Since Mac's M1 is compatible with the osx-x86_64 version, before this version is available for downloading, you need to manually specify the osx-x86_64 version.
### Resolve
We can add -Dos.detected.classifier=osx-x86_64 after the original compilation parameters, for example: `./mvnw clean package -DskipTests -Dos.detected.classifier=osx-x86_64`, After specifying, compile and run normally.
### Resolution
You may add -Dos.detected.classifier=osx-x86_64 after the original compilation parameters, such as: `./mvnw clean package -DskipTests -Dos.detected.classifier=osx-x86_64`. After specifying the version, compile and run normally.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册