寫點東西吧,懒人。
· ☕ 1 分钟
Website docs Java | OpenTelemetry Manual Instrumentation | OpenTelemetry OpenTelemetry Client Design Principles | OpenTelemetry Instrumentation Examples | OpenTelemetry OpenTelemetry to Jaeger Transformation | OpenTelemetry Java | OpenTelemetry GitHub - open-telemetry/opentelemetry-java-docs Getting Started | OpenTelemetry Java | OpenTelemetry Manual Instrumentation | OpenTelemetry OpenTelemetry Client Design Principles | OpenTelemetry Instrumentation Examples | OpenTelemetry OpenTelemetry to Jaeger Transformation | OpenTelemetry Java | OpenTelemetry GitHub - open-telemetry/opentelemetry-java-docs Getting Started | OpenTelemetry Java | OpenTelemetry Manual Instrumentation | OpenTelemetry OpenTelemetry Client Design Principles | OpenTelemetry Instrumentation Examples | OpenTelemetry OpenTelemetry to Jaeger Transformation | OpenTelemetry Java | OpenTelemetry GitHub - open-telemetry/opentelemetry-java-docs Getting Started | OpenTelemetry https://stackoverflow.
· ☕ 1 分钟
Website docs Github GitHub - open-telemetry/opentelemetry-java-instrumentation: OpenTelemetry auto-instrumentation and instrumentation libraries for Java
opentelemetry-java-instrumentation/suppressing-instrumentation.md at main · open-telemetry/opentelemetry-java-instrumentation · GitHub
opentelemetry-java-instrumentation/supported-libraries.md at main · open-telemetry/opentelemetry-java-instrumentation · GitHub
org.springframework.web.reactive (Spring Framework 5.3.16 API)
opentelemetry-java-instrumentation/supported-libraries.md at main · open-telemetry/opentelemetry-java-instrumentation · GitHub
opentelemetry-java-instrumentation/logger-mdc-instrumentation.md at main · open-telemetry/opentelemetry-java-instrumentation · GitHub
opentelemetry-java/README.md at main · open-telemetry/opentelemetry-java · GitHub
opentelemetry-java-instrumentation/agent-config.md at main · open-telemetry/opentelemetry-java-instrumentation · GitHub
opentelemetry-java-instrumentation/common.md at main · open-telemetry/opentelemetry-java-instrumentation · GitHub
opentelemetry-java/README.md at main · open-telemetry/opentelemetry-java · GitHub
· ☕ 2 分钟
https://grafana.com/docs/grafana/latest/variables/variable-types/global-variables/
$__range Currently only supported for Prometheus and Loki data sources. This variable represents the range for the current dashboard. It is calculated by to - from. It has a millisecond and a second representation called $__range_ms and $__range_s.
$__interval You can use the $__interval variable as a parameter to group by time (for InfluxDB, MySQL, Postgres, MSSQL), Date histogram interval (for Elasticsearch), or as a summarize function parameter (for Graphite).
· ☕ 2 分钟
https://iximiuz.com/en/posts/prometheus-metrics-labels-time-series/
What is a time series in Prometheus? *Side note 1: Despite being born in the age of distributed systems, every Prometheus server node is autonomous. I.e., there is no distributed metric storage in the default Prometheus setup, and every node acts as a self-sufficient monitoring server with local metric storage. It simplifies a lot of things, including the following explanation, because we don’t need to think of how to merge overlapping series from different Prometheus nodes *😉
· ☕ 3 分钟
https://iximiuz.com/en/posts/prometheus-functions-agg-over-time/
Almost all the functions in the aggregation family accept just a single parameter - a range vector. It means that the over time part, i.e., the duration of the aggregation period, comes from the range vector definition itself.
The only way to construct a range vector in PromQL is by appending a bracketed duration to a vector selector. E.g. http_requests_total[5m]. Therefore, an <agg>_over_time() function can be applied only to a vector selector, meaning the aggregation will always be done using raw scrapes.
· ☕ 1 分钟
https://en.wikipedia.org/wiki/Cache_coherence
Theoretically, coherence can be performed at the load/store granularity. However, in practice it is generally performed at the granularity of cache blocks.[3]
https://www.geeksforgeeks.org/cache-coherence/
Cache coherence is the discipline that ensures that changes in the values of shared operands are propagated throughout the system in a timely fashion.
http://tutorials.jenkov.com/java-concurrency/cache-coherence-in-java-concurrency.html
· ☕ 1 分钟
https://events.static.linuxfound.org/sites/events/files/slides/Optimizing%20Application%20Performance%20in%20Large%20Multi-core%20Systems_0.pdf
Ticket spinlock is the spinlock implementation used in the Linux kernel prior to 4.2. A lock waiter gets a ticket number and spin on the lock cacheline until it sees its ticket number. By then, it becomes the lock owner and enters the critical section.
Queued spinlock is the new spinlock implementation used in 4.2 Linux kernel and beyond. A lock waiter goes into a queue and spins in its own cacheline until it becomes the queue head.
· ☕ 2 分钟
reference cycle https://easyperf.net/blog/2018/09/04/Performance-Analysis-Vocabulary
Majority of modern CPUs including Intel’s and AMD’s ones don’t have fixed frequency on which they operate. Instead, they have dynamic frequency scaling. In Intel’s CPUs this technology is called Turbo Boost, in AMD’s processors it’s called Turbo Core. There is nice explanation of the term “reference cycles” on this stackoverflow thread:
Having a snippet A to run in 100 core clocks and a snippet B in 200 core clocks means that B is slower in general (it takes double the work), but not necessarily that B took more time than A since the units are different.
· ☕ 5 分钟
retired instruction https://easyperf.net/blog/2018/09/04/Performance-Analysis-Vocabulary
https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/custom-analysis/custom-analysis-options/hardware-event-list/instructions-retired-event.html
The Instructions Retired is an important hardware performance event that shows how many instructions were completely executed.
Modern processors execute much more instructions that the program flow needs. This is called a speculative execution. Instructions that were “proven” as indeed needed by the program execution flow are “retired”.
In the Core Out Of Order pipeline leaving the Retirement Unit means that the instructions are finally executed and their results are correct and visible in the architectural state as if they execute in-order.