All Classes and Interfaces
Class
Description
The health of Actuator in KubFly: every indicator the application has — the database (
db), the disk, the
brokers Boot configured, the indicators of the application — becomes a check
sdk/spring-boot/actuator/health/<name> run by KubFly with its others (UP — OK, DOWN and
OUT_OF_SERVICE — CRITICAL, other — WARNING).The alert of a metric: its thresholds, given by the programmer together with the metric — the one who knows it —
so the metric and its limits never drift apart.
The state of the thresholds of a metric over an interval (the open stream
alerts).The part of the API (
sdk/api, sdk/api/jfr, sdk/api/trace and the metrics sdk/* of no
module of their own) in STATUS.The checks of SmallRye Health of the application — its own, the data sources, the clients — as checks of KubFly
sdk/quarkus/smallrye/health/<name>, run on the schedule of KubFly: DOWN is CRITICAL.An argument of an event, as a collector receives it: a kind, the bits of a primitive, a reference
(
EnumConstant for an enumeration, ObjectValue for an object); a string longer than the limit is
cut, and its whole may be in a pack of attachments — Arg.attachment(), read by Stand.text.The kind of an event argument, with an identifier shared by the SDKs of all languages — it never changes and is never
reused (a tag is a string,
Tag).Writes values into a
byte[] at an offset and returns the offset after them — or, with a null
buffer, only counts: returns the same offset without writing anything.The platform of Android: the Android Runtime (ART) in the environment — reserved: the KubFly SDK for it is planned,
and its fields come with it.
The platform of Android: the Android Runtime (ART) — Java and Kotlin on Android, the clients of the hand-held
terminals — reserved: the KubFly SDK for it is planned, and its fields come with it.
A
Blob, an Image or a long string kept beside the event that refers to it, in a pack of attachments
(format.md §10d): a blob or an image beyond the budget of its record (64 KiB of the strings, blobs and
images of an event), a string argument longer than 8 KiB or than what is left of the budget — its whole UTF-8, of
the type Attachment.TEXT.A pack of attachments (
format.md §10d): the blobs, the images and the long strings of the events of an
instance, laid one after another into a half of the buffer of attachments of its output and put by one request, at
attachments/v1/<ns>/<service>/<pod>/<container>/<instance>/<pack>.kfb.A header of a pack and its data key.
What the thresholds of an
Alert are compared with, with an identifier shared by the SDKs
of all languages: it never changes and is never reused.What an output sends at once — a segment of the bucket, a request of a collector of logs: bytes in chunks of
65536, the name of its stream, its key and the number of its records.
Batch of executions of one prepared statement with different arguments, sent to the database in pipelined
chunks (no round trip per row).
Who filled a batch learns from the thread of the output what became of it.
A frame of a scope begins.
An attachment of an event: binary data (a document, a dump, a payload).
Walks the bodies of records (
format.md §4) and reports what they refer to — the strings of the dictionary
and the stack traces — without decoding the values or allocating: the collector uses it when it releases records
into a segment (the definitions each segment must carry, decision 45) and it checks every record on the way.The platform of a web browser in the environment — reserved: the KubFly SDK for it is planned, and its fields come
with it.
The platform of a web browser: JavaScript and WebAssembly — reserved: the KubFly SDK for it is planned, and its
fields come with it.
The part of the clients of buckets (
sdk/bucket): the settings of the bucket of the collector are the
parameters sdk/output-bucket/bucket/store of STATUS.The part of the bucket of the collector (
sdk/output-bucket/output/bucket) in STATUS.A connection to one bucket of object storage: objects by key, listed in the order of their keys (the order of their
UTF-8 bytes, as S3 lists them).
The builder of a bucket of a
BucketKind: an immutable record whose settings return a new record, and
BucketBuilder.build() checks what is required and connects.A collector of a bucket alone: a
PipelineCollector with the BucketOutput as its only output, for
reading what it writes in the same process (kubfly-sdk-test: a bucket in memory and reflector) and
for tests.The only failure of a
Bucket and a BucketBuilder: a key that is not valid, a configuration that is
not complete, a failed input or output, a refusal of the bucket.The kinds of buckets, as an
enum with a typed builder of each kind: BucketKind.FS, BucketKind.S3 and
BucketKind.MEM, each BucketKind.builder() — an immutable record whose settings return a new record, and
BucketBuilder.build() checks what is required and connects.The output of the bucket as
ServiceLoader finds it for the pipeline: on when Config.BUCKET is on,
and then made by Config; on without a usable bucket or stand, it fails at once and the application does not
start (decisions 22, 27).The time of a bucket by one of its responses (
Bucket.time()): a pair for the estimate of the difference of
the clocks.Data that
ArrayBufferWriter could not have written: a variable-length integer longer than its type, one
written with more bytes than needed, bytes that are not UTF-8, a date or a time out of range.Reads from an
InputStream the values ArrayBufferWriter wrote, in the same order, with the same
methods: readLong() for writeLong, readString() for writeString.An immutable builder of a database connection: its settings, and the configuration the database is opened with.
The platform of C in the environment — reserved: the KubFly SDK for it is planned, and its fields come with
it.
The platform of C: native code — reserved: the KubFly SDK for it is planned, and its fields come with it.
The caller of a frame in another process: a request of another service that this frame serves.
The telemetry of one test as the types of
reflector: a body runs in a root frame of its own, and its capture
is everything of the trace of that frame — the frames under it, by their parent, in any thread; the frames of other
services of the process it called, by their caller (HTTP, Kafka, RabbitMQ in the same JVM); the events and the ends
of all of them.The collector of
kubfly-sdk-test as ServiceLoader finds it on the class path of the tests:
everything of the process goes to the one BucketCollector of the bucket in memory (Recording),
whatever else is installed — Collectors.install(Collector) stays free.The catalog of a process,
catalog.kfl beside start-*.kfl of its instance (format.md §10):
every metric it defined, without values, the labels and the hints of the fields of STATUS and the
descriptions of the parameters, in the language of the process — "KFLY", u8 version, u8 cipher,
[recipients]; the body deflated and, with the envelope, encrypted; a CRC32C.The texts of a field of
STATUS in a catalog (catalog.kfl, Catalog): its label and
its hint for people, in the language of the process.A metric of the catalog of a process (
catalog.kfl, Catalog): its path, scale, units, description and
whether a scope defined it — no values.A parameter of the process in a catalog (
catalog.kfl, Catalog): its path, its units and its
description for people, in the language of the process; its value is in START, STATUS and
FINISH.CBOR written with the
CborGenerator into a buffer of its own that grows, in the deterministic form of RFC
8949 (4.2.1) whole: an array or a map is opened and closed without its count known in advance — its head, in the
fewest bytes, goes before its items when it closes — and the pairs of a map are put into the order of the bytes of
their keys, a key repeated failing.What
CborParser.next() read.The CBOR generator (RFC 8949): every data item written straight into a
byte[] at an offset, the offset after
it returned — nothing left for the collector of garbage, as JsonGenerator; a
null buffer writes nothing and counts the bytes.A streaming parser of CBOR (RFC 8949), strict and without a tree, as
JsonParser
is of JSON: CborParser.next() reads item by item (CborEvent).The aggregation cell of one
Metric: one per metric, shared by all collectors and updated once per
add.The last result of a health check of the process, of the application too.
The classes of the JVM and the memory they live in.
The metrics of outgoing requests:
sdk/http/client/<host>/<METHOD>:<route>/<measure> — the host with its port
when it is given (stock.local:8080); the route is the URI template of Spring (/stock/{id} as
stock.{id}) without the scheme, the host and the query, or, when the client gives no template
(RestTemplate, a ready URI), the path.A pair of clocks (
CLOCK): the local time when the bucket answered and the time it gave (Date,
whole seconds).The place of the application in Kubernetes, by the rules of
Config: KUBFLY_NODE,
KUBFLY_NAMESPACE, KUBFLY_POD (set them through the downward API), KUBFLY_CONTAINER (set it
literally: the downward API has no field for it); else the namespace from the service account and the pod from
HOSTNAME.The code of a build (
format.md §10c): the sources the build was made of, once in the bucket for every
instance of it — code/v1/<build>.kfc, the build its KUBFLY_BUILD.The archive of the sources a build plugin puts into the application, "META-INF/kubfly/sources.zip": the files the SDK
takes (
CodeSources.taken(String)) under the roots of the sources and the files of the build, by their paths from the
top of the project.The only failure of the parsers and the generators: a document that is not of its format, or one beyond its
Limits.A file of the code of a build (
Code): its path from the root of the sources and its text.Puts the stamp of the build (
META-INF/kubfly/build.properties) and the archive of its sources
(META-INF/kubfly/sources.zip) into the classes of the application: the SDK reads them at the start, its
first instance puts the code of the build into the bucket of the stand (sdk/spec/format.md §10c).The revision of the sources a build plugin stamps: the commit and the ref from Git —
git of the system in
the directory of the project.The sources of a build for its code in the bucket (
format.md §10c, Code): from a directory, from a
.zip or .jar of them (KUBFLY_OUTPUT_BUCKET_CODE), or from a stream of a .zip — the
archive "META-INF/kubfly/sources.zip" the build plugin puts into the application.A receiver of the start and the finish of the process, scope frames, log events, usage snapshots, metrics, alerts
and health checks: the observability runtime, a bridge to SLF4J, a test probe.
The registry of
Collectors, the dispatcher of frames and events, and the metrics timer.Column of an entity: a record component or a non-private field.
Immutable description of result columns: names and database type names.
The global configuration of the process: taken once, when the class loads, and immutable — read by any number of
threads without locks.
The configuration of the collector of Elasticsearch and OpenSearch, taken once from
Config.VARS.The configuration of the collector of Loki, taken once from
Config.VARS.The configuration of the collector of OpenTelemetry, taken once from
Config.VARS: the
variables of the OpenTelemetry specification where they exist (OTEL_EXPORTER_OTLP_*,
OTEL_SERVICE_NAME, OTEL_RESOURCE_ATTRIBUTES, OTEL_*_EXPORTER), ours for the rest (
KUBFLY_COLLECTOR_OTEL_*).The configuration of the collector of syslog, taken once from
Config.VARS.The configuration of the HTTP module, taken once from
Config.VARS.The configuration of the JDBC module, taken once from
Config.VARS.The configuration of the Kafka module, taken once from
Config.VARS.The configuration of the Micrometer bridge, taken once from
Config.VARS.The switches of the Micronaut module: every part is on unless its property is
OFF or false — the
variable KUBFLY_MICRONAUT_HTTP is the property kubfly.micronaut.http of Micronaut, so both work, in
application.yml and in the environment.The configuration of the collector, taken once from
Config.VARS: the bucket, the names of
the stand and the limits of the format.The configuration of the output of the console, taken once from
Config.VARS
(Variables): the parameters sdk/output-console/* (Param).The configuration of the pipeline, taken once from
Config.VARS: the mode, the limits of
the encoder and the ring of every output (KUBFLY_PIPELINE_*) — the parameters sdk/pipeline/*
(Param); the window and the drain are constants (PipelineSettings.WINDOW,
PipelineSettings.DRAIN).The switches of the integration, properties of the application (
application.properties, profiles) or
variables (KUBFLY_QUARKUS_HTTP=OFF): everything is on unless set to OFF or false — a flag
of the SDK.The configuration of the RabbitMQ module, taken once from
Config.VARS.The configuration of the Spring Boot module, taken once from
Config.VARS — the
environment over kubfly.* of the application: every part is on unless switched off.The kinds of clusters.
The format of the lines (
KUBFLY_OUTPUT_CONSOLE_FORMAT).The settings of an output of the console.
The signals of OpenTelemetry.
The stream of the lines (
KUBFLY_OUTPUT_CONSOLE_STREAM).Where the messages go.
Database kind and connection factory.
The part of the console (
sdk/output-console/output/console) in STATUS.The output of the console as
ServiceLoader finds it for the pipeline: on unless
KUBFLY_OUTPUT_CONSOLE=OFF, made by Config.The cgroup v2 of the process: the container in Kubernetes (on a bare host — the systemd unit or session of the
process).
A container of a pod.
The TCP counters of the network namespace (
/proc/net/snmp, /proc/net/netstat): cumulative, as the
kernel keeps them — over an interval, their increments.The platform of C++ in the environment — reserved: the KubFly SDK for it is planned, and its fields come with
it.
The platform of C++: native code — reserved: the KubFly SDK for it is planned, and its fields come with it.
The processors of the cgroup: its quota, the time it used and was throttled (cumulative), its pressure.
The processors of the host.
A critical section with many writers and one reader that switches it off and waits until it is drained.
A reusable cursor that scans encoded bytes in an array without allocating: unsigned and zigzag integers, single
bytes, skips.
Database — a connection pool (analogue of JDBC
DataSource).The check of every
DataSource of the application when Actuator is not there to give its db:
sdk/spring-boot/jdbc/datasource/<bean> takes a connection from the pool and asks it Connection.isValid(int) within the timeout of health checks.Delete statement of an entity, executed by
Sql.delete(Object).A block device of the host (
/proc/diskstats: whole devices, not partitions, loop or RAM devices), with
cumulative counters as the kernel keeps them.The metrics of the process, numbered for their definitions (
METRIC) in the segments of metrics
and alerts.The nodes of the tree of the stacks of the profiles (
format.md §9b), by the numbers the process gave
them (Stacks): for their definitions (STACK) in the segments of
profiles.Holder of the stack traces of the process, numbered like strings: an exception storm writes one trace once per
segment.
Which side of an
Edge the process is, with an identifier shared by the SDKs of all languages.The file system of a path, in bytes: the root
/ always, plus the paths of KUBFLY_USAGE_DISKS
(data volumes — in Kubernetes the root is the ephemeral layer of the container, the data lives on mounted volumes).Reads a configuration file of the
.env format — the same in the SDKs of all languages, checked by reference
files.The traffic of one link of the process over one interval: every request or message of a protocol, an operation and
a route with one peer, without sampling.
The collector of Elasticsearch and OpenSearch: what KubFly records, as documents of the Elastic Common Schema
(
Documents) in the data streams logs-kubfly-* (events, alerts, health), metrics-kubfly-*
(one document per metric and interval) and, by choice, traces-kubfly-* (frames) — sent by the bulk API in
Smile (kubfly-sdk-codec).Encodes the bodies of records (
format.md §4.3–§4.4) with ArrayBufferWriter: every method takes a
buffer or null to count only and returns the offset after what it wrote, so a record is measured and
written by the same code.A string argument cut in its record — longer than the limit of a string, or than what is left of the budget of
the record — whose whole UTF-8 is kept in a pack of attachments, or nowhere: the record holds the string cut to
its preview and the attachment (
format.md §10d).An object argument taken apart once: its class and its text.
A frame of a scope ends.
The nested entities of records —
Environment, Usage and their parts (sdk/spec/entities.md,
decision 10): no schema in the data, a version byte before every entity (0 — none), its fields in the order
of its version.A field of a version of an entity.
An entity read: its value, none (version 0), or newer than this reader — passed over by its length and told
to the report.
Newer than this reader, it or a required part of it: passed over, the report tells what and where.
Version 0: no entity.
The entity.
Marks a record or class as an entity — a row of a table.
Compile-time metadata of an entity, generated by the SDK annotation processor for records and classes
annotated with
Entity, and found at run time through ServiceLoader.Annotation processor of SDK entities and queries:
for every record or class annotated with
@Entity(table = ...) generates an
io.kubfly.sdk.sql.EntityMeta;
for every enum implementing EntitySelect<Entity> with @Select constants generates an
io.kubfly.sdk.sql.SelectMeta;
registers both in META-INF/services.
Validates at compile time: named parameters (:column) of write statements refer to existing columns,
queries use positional parameters only, every query enum constant has a @Select, the entity of a query
enum is an entity and can be created from a row, column types are supported by Row, every entity has
@Entity with a non-blank table, write statements and column annotations appear only on entities, and
an entity has at most one @Id and at most one @Revision.Entity query before its arguments are bound; without arguments it is executed as is.
Result of an entity query: rows mapped to entities by the generated metadata.
Enum of named queries of an entity: every constant carries a
Select.Write statement of an entity with parameters bound from its columns.
An enum constant as the data holds it: its type and its name — never its ordinal, which changes when constants are
reordered.
The envelope of encrypted segments (
format.md §11, decisions 40 and 71): a random AES-256 data key per
segment, wrapped for every recipient by HPKE (RFC 9180) in the base mode with the post-quantum hybrid KEM
MLKEM1024-P384 (HybridKem), HKDF-SHA384 and AES-256-GCM; every block and the table — AES-256-GCM with the
data key, the nonce — the number of the block, the additional data — the header.A recipient of a segment.
The facts about the application that do not change while it runs: the place in Kubernetes, the machine, the
platform (the JVM here; Go in the segments of a service of the KubFly SDK for Go), the application itself.
An event of one
project/module/area/system path and level: the call site of logging.A log event.
Decoding of event arguments and tag values: a primitive travels in a
long (ArgumentKind), a reference
— as is.An exception as written: its class by name, without the class itself.
The open file descriptors of the process — files, sockets, pipes — and their limit.
The label and the hint of a field of
STATUS for people (StatusTexts): a viewer shows the
label beside the value and the hint over it.Selects the objects of a listing.
The finish of the process: when it began and what the lanes lost after that.
The finish of a process: the last record of its stream, with the largest number.
Immutable fixed-size list backed by an array.
JDK Flight Recorder streamed inside the process: what the management beans do not tell, as events and metrics of
sdk/api/jfr/… through the public logging API.The constants of the KubFly format (
sdk/spec/format.md): magics, versions, streams, record types, flags and
the limits of the dictionary.Data that is not a valid segment of the KubFly format: a wrong magic or version, a checksum that does not match,
a record that does not end where its frame says.
The methods of a resource run in the frame of their request (
KubFlyInterceptor): added at build time to
every class with @Path, not written by hand.Which collectors want the frames of one
Scope path (Collector.frames(String, String, String, String, String)): kept by the scope, so entering
a scope whose frames nobody wants costs one atomic read.A directory as a bucket (
BucketKind.FS): a key is a path under the directory, its levels — directories.The file system as a bucket: a directory is the bucket, a key is a path under it (
BucketKind.FS).A loss (
format.md §15).The level gate of one
project/module/area/system path, shared by all its Events: the most verbose
level wanted by any collector (the largest code) and the threshold of each collector.What one collector keeps of a path, to spare work on every event of it: the numbers of its four levels in the
dictionary of its pipeline.
The garbage collector of the Go runtime (
runtime/metrics); -1 — unknown.One garbage collector of the JVM, with cumulative counters.
Garbage collection of the JVM: the collectors with their counters, and what the collection notifications tell —
pauses, full collections, explicit
System.gc() calls, the heap left after a collection — with the bytes
allocated by all threads.The platform of Go in the environment: the Go runtime of a service written in Go, as the KubFly SDK for Go records
it: read here from its segments.
The platform of Go: the Go runtime of a service written in Go, as the KubFly SDK for Go records it from
runtime/metrics — read here from its segments.The result of a health check: the state of the service inside — its own state and its connections to other systems
(a database, a queue, a store) — as the programmer judges it.
The functional form of a check that judges the state itself.
The functional form of a check that only has to pass: returning normally is
Severity.OK, an exception
is Severity.CRITICAL.A health check changed its state (in the encrypted
events: with its message and exception).A registered health check of a
project/module/area/system/component path (KubFly.health(String, Health.Check)): the
health thread kf-health runs it every Config.HEALTH_INTERVAL seconds, each check in a virtual thread
of its own, and gives every result to the collectors (Collector.health(long, long, long, HealthCheck, Health)); the duration of each run goes to the
metric …/component/health-duration (milliseconds).A result of a health check (the open stream
health: no message).The variables of the framework that hosts the process —
kubfly.* of the application.yml of Spring
Boot, say — given before KubFly starts: Config takes them once, when it loads, between the
configuration file and the environment (the environment wins, the file loses).The host (the node in Kubernetes): processors, load and memory of the whole machine, not of the container.
The part of HTTP in
STATUS.The identifiers of the process: numbers unique in the process and growing within a thread (
Ids.next()), and
time-ordered UUIDs (v7).A value recorded by the method that does not match the basis of the alert of the metric:
addLong(value) or
addDouble(value) for Basis.PERCENTAGE thresholds, or addPercentageLong(value, limit) or
addPercentageDouble(value, limit) for Basis.ABSOLUTE ones.An attachment of an event: a picture (a screenshot, a photo of a label) that a viewer can show inline.
The logs of another system of logs as events of KubFly — shared by the appender of Logback and the handlers of the
framework integrations (java.util.logging, JBoss LogManager): the logger
com.acme.orders.OrderService is
the path sdk/slf4j/com.acme.orders/OrderService (Slf4jCollector.IMPORTED: the bridge of KubFly does
not print them a second time).Insert statement of an entity, executed by
Sql.insert(Object).An instance: one start of the process in a container, with its markers in the tree —
start-[time].kfl with
the start object and finish-[time].kfl once it has finished.The start object of an instance in the tree of the stand (
start-[time].kfl, format.md §10):
"KFLY", u8 version 1, the fields of the origin in the order of these components, then the intervals of the
streams, CRC32C.What an instance knew of itself at a moment (decision 87): the unchanging from
START — the origin, the
machine, the platform, the names of the variables of the environment — the resources from the last USAGE,
the rest from the last STATUS, and FINISH if the process finished.An interval of metrics.
The input and output of the cgroup of the process (the container in Kubernetes):
io.stat summed over the
devices, with cumulative counters, and io.pressure.The platform of iOS and iPadOS in the environment — reserved: the KubFly SDK for it is planned, and its fields come
with it.
The platform of iOS and iPadOS: Swift and Objective-C applications — reserved: the KubFly SDK for it is planned, and
its fields come with it.
An item of a stand: a record of a stream — its kind, its time and where it comes from (
Item.origin(): the
instance, its build, its platform, its place), shared by the items of an instance and filtering them while they are
iterated (ItemFilter, Where).Which items an iteration gives: a test of each item read, and the part of it the reader knows before reading
(
ItemFilter.where()) — the fields of the origin, which skip whole instances and their segments.The identity of an item on a stand, unique and immutable: the instance that wrote it and its number there
(
Ids of the collector, format.md §4.2) — a key of a map or a set, of a row of a database, of a
reference to another item (Begin.parent(), End.frame(), Event.frame(), the frame of a caller
in another service: new ItemKey(begin.caller().unwrap())).The kind of an item: one per implementation of the sealed
Item, for filters and for a switch by
a constant.The part of JDBC in
STATUS.The mode of the streaming of JFR (
KUBFLY_JFR, JfrMode.BASIC by default).The just-in-time compiler of the JVM: the code cache that holds compiled code (the
CodeHeap segments summed,
or the single Code Cache), and the compilation time.The canonical JSON of items, one line each (
sdk/spec/segments/*.jsonl): the type of the item first as
"record", then its components in their order; nested records the same without the type.A JSON document written with the
JsonGenerator into a buffer of its own that grows: the commas and the
colons in their places, the structure checked as it goes.What
JsonParser.next() read.The JSON generator: every value written straight into a
byte[] at an offset, the offset after it returned
— no StringBuilder, no string in between, nothing left for the collector of garbage.A streaming parser of JSON (RFC 8259), strict and without a tree:
JsonParser.next() reads the document event by event
(JsonEvent), a reader takes what it needs and skips the rest.The platform of the JVM in the environment: the Java runtime.
The part of Kafka in
STATUS.The rules of keys, the same for every bucket: at most 1024 bytes of UTF-8; levels separated by
'/', none
empty, none "." or ".."; no leading or trailing '/', no backslash, no control character.The keys from the command line: of recipients, MLKEM1024-P384 (
RecipientKey), and of the stand, that sign
KubFly-Peer (PeerKey):The entry point of the KubFly SDK in code: one per
project/module/area/system path, created once and
shared — its events (one Event per level), metrics, scopes.The logs of the application through Logback become events of KubFly, in the frame of the thread that logs
(
Imported): the logger com.acme.orders.OrderService is the path
sdk/slf4j/com.acme.orders/OrderService, the template and up to sixteen arguments as they are (more — the
formatted message as the one argument of the template {}), the exception, the MDC and the key-value pairs
of SLF4J as tags.KubFly in a Spring Boot application, with no code: the frames and the route metrics of servlet requests
(
KubFlyFilter) and of WebFlux requests (KubFlyWebFilter), of outgoing requests of
RestClient, RestTemplate (KubFlyClientInterceptor) and WebClient
(KubFlyExchangeFilter), the frame between services in the messages of Kafka (KubFlyKafkaProducers,
KubFlyKafkaListeners) and RabbitMQ (KubFlyRabbitPublisher, KubFlyRabbitListeners), the
frames in the signals of Reactor
(ReactorFrames), the frames of tasks (KubFlyTasks), the statements of every DataSource
(KubFlyDataSources), the meters of Micrometer (KubFlyMeterRegistry), the logs of Logback
(KubFlyLogback), health in both directions with Actuator (ActuatorHealth,
KubFlyHealthIndicator) or, without Actuator, the check of every DataSource
(DataSourceHealth).The frame of every outgoing request of the clients of Micronaut — declarative
@Client interfaces and
HttpClient: the scope sdk/micronaut/http/client/request with the tags method, host
and uri (the path, without the query), under the frame of the caller — the current frame, or the frame of the
current request.Every call of the REST client of Quarkus in a frame
sdk/quarkus/http/client/request with the tags
method, host and uri, under the frame of the caller — the current one, or the frame of the
request being handled; the headers of the frame go to the hosts Caller.sends(String) allows.The frame of every outgoing request of
RestClient and RestTemplate: the scope
sdk/spring-boot/http/rest-client/request with the tags method, host and uri (the
path, without the query), under the frame of the caller — the request to another service is a branch of the call
tree, and the headers of the frame let that service continue it (Trace).Any
DataSource in KubFly: a frame of the scope sdk/jdbc/<name>/statement/<operation> around every
execute* of its statements — select, insert, update, delete, merge,
call, other, batch — with the duration and the failures of each operation as the metrics of
the scope, and a frame sdk/jdbc/<name>/pool/acquire around every getConnection(): the wait for the
pool.Every
DataSource bean through KubFlyDataSource: the frames sdk/jdbc/<name>/statement/<op> of
its statements and the waits of its pool, the name of the bean (default for the default one).Every data source of Agroal in KubFly (
KubFlyDataSource): the frames of the connections and the queries,
the waiting for the pool.Wraps every
DataSource bean of the application with KubFlyDataSource, named by its bean: the frames
sdk/jdbc/<bean>/statement/<operation> of its statements and sdk/jdbc/<bean>/pool/acquire of its waits
for a connection, with no code.Gives the properties
kubfly.* of the application (application.yml, the environments of Micronaut,
the command line) to KubFly as its variables, before KubFly starts (Host.variables(Iterable, Function, String)): the first bean of the
context.Gives the properties
kubfly.* of the application (application.yml, profiles, command line) to KubFly
as its variables, before KubFly starts: kubfly.output.bucket.endpoint is
KUBFLY_OUTPUT_BUCKET_ENDPOINT, kubfly.output.bucket.events-flush and kubfly.eventsFlush are
KUBFLY_OUTPUT_BUCKET_EVENTS_FLUSH, a list kubfly.output.bucket.keys[0],
kubfly.output.bucket.keys[1] is KUBFLY_OUTPUT_BUCKET_KEYS joined by commas.The frame of every outgoing request of
WebClient: the scope sdk/spring-boot/http/web-client/request
with the tags method, host and uri (the path, without the query), from the subscription to
the response (KubFlyReactor.mono(Scope, Supplier)), under the frame of the caller — the frame of a WebFlux request in the
context, or the frame of the thread that subscribes; its headers let the service called continue it (Trace).The tasks of the executors of Micronaut in frames: every
ExecutorService bean — the executor of
@ExecuteOn, the virtual threads of the blocking routes, @Async — runs a task in the frame its
submitter had: the current frame of the submitting thread, or else the frame of the current request
(KubFlyServerFilter.FRAME).The frame of every request of the servlet stack: the scope
sdk/spring-boot/http/servlet/request with the tags
method and uri, around the whole chain — every log of the request, every nested scope, every query
sees it.The checks of KubFly in the health of Micronaut (
/health, kubfly): CRITICAL is
DOWN, WARNING is UP with the warning in the details, a check that has not run yet is
UNKNOWN.The checks of KubFly in the health of Actuator (
/actuator/health/kubfly): the last result of every check
registered with kubfly.health(…), except those that came from Actuator itself (ActuatorHealth).A resource method runs in the frame of its request on any thread — the event loop, a worker, a virtual thread:
logs, events, queries and outgoing calls of the handler are in it, with no annotation in the code.
The frame of KubFly in the records of Kafka, the headers of
Caller in the headers of a record:
KubFly-Frame, traceparent, tracestate — the names and the forms the W3C gives for messages.The listeners of Spring for Apache Kafka in frames: every container factory gets an advice first in its chain,
around the listener — a record is processed in its frame
sdk/kafka/consumer/<topic>/process under the frame
of its producer (KubFlyKafka.call(ConsumerRecord, Scope.Call)), a batch in one frame sdk/kafka/consumer/<topic>/batch.The producers of Spring Boot put the headers of their frame into every record: the producer factory of Boot gets
KubFlyProducerInterceptor in interceptor.classes, after the interceptors of the application.The logs of Logback as events of KubFly for the lifetime of the context: the appender of
kubfly-sdk-slf4j on the root logger, unless one is attached already (logback.xml).Attaches
KubFlyAppender of kubfly-sdk-slf4j to the root logger of Logback when the context starts
and detaches it when it closes; an appender of KubFly already there (declared in logback-spring.xml) is kept
as it is.The logs of the application through the JBoss LogManager of Quarkus (JBoss Logging, SLF4J, java.util.logging)
become events of KubFly in the frame of the thread that logs (
Imported): the logger
com.acme.orders.OrderService is the path sdk/slf4j/com.acme.orders/OrderService, the message — a
pattern of MessageFormat with plain {0} … {n} in order as the template with its parameters
(Imported.template(String, int)), any other formatted as the one argument of the template {}
(Imported.logFormatted(Event, String, Throwable)) — the exception, the MDC as tags.A registry of Micrometer whose meters are metrics of KubFly:
sdk/micrometer/<first part of the name>/<the rest
of the name>/<tags>/<measure> — hikaricp.connections.active with the tag pool=main is
sdk/micrometer/hikaricp/connections.active/pool=main/value.The meters of Micrometer in KubFly: the registry of
kubfly-sdk-micrometer among the registries of Micronaut,
which binds the meters of the server, the client, the pools and the executors to it.The meters of Micrometer — what Quarkus and the libraries measure — in KubFly: one more registry of Micrometer,
which Quarkus adds to its global one.
The build steps of KubFly in Quarkus: what the application has decides what is wired, a switch
kubfly.quarkus.*=OFF (or false) leaves a part out.The headers of the sending frame in every record of a producer (
KubFlyKafka.inject(Headers)):
interceptor.classes=io.kubfly.sdk.kafka.KubFlyProducerInterceptor in the configuration of the producer, or
the interceptor of a KafkaTemplate.The frame of KubFly in the messages of RabbitMQ, the headers of
Caller in the headers of a message:
KubFly-Frame, traceparent, tracestate.The listeners of Spring AMQP in frames: every container factory gets an advice first in its chain, around the
listener — a message is processed in its frame
sdk/rabbitmq/consumer/<queue>/process under the frame of its
publisher (KubFlyRabbit.call(String, String, String, Map, Scope.Call)), a batch in one frame sdk/rabbitmq/consumer/<queue>/batch.The messages of
RabbitTemplate carry the headers of the frame that publishes them
(KubFlyRabbit.inject(Map)): a post-processor before publishing, given by Boot to every template it builds; each
message also adds to the link of its exchange in the stream traffic (KubFlyRabbit.published(String, long, boolean)).The frames of KubFly in Project Reactor.
The end of a pipeline in a frame.
What the build steps of the extension record to run when the application starts.
The template of the endpoint of Quarkus REST that matched (
/orders/{id}), for the metrics of the route:
one handler right after the match, set up at build time for every resource method.Adds the handler to the chain of every resource method.
The frame of every request of the server of Micronaut: the scope
sdk/micronaut/http/server/request with the
tags method and uri, from the start of the filters to the response, first of all filters.Every incoming request in a frame
sdk/quarkus/http/server/request with the tags method and
uri, continuing the frame of the caller (Caller.accepted(String, String, String)): the first filter of the router, so the rest of
the handling on the event loop runs in it; on other threads (blocking endpoints, virtual threads) the resource
methods see it through KubFlyInterceptor.The tasks of the executors of Spring Boot —
@Async methods, the Callable of asynchronous MVC,
applicationTaskExecutor — continue the frame that submitted them: each task is a frame
sdk/spring-boot/task/executor/run under the frame of the submitter, in its own thread.The frame of every request of WebFlux: the scope
sdk/spring-boot/http/reactive/request with the tags
method and uri, from the subscription of the chain to its end (KubFlyReactor.mono(Scope, Supplier)) — with the hook
of Reactor (ReactorFrames) every log, scope and query of the handler sees it, in whatever thread.The checks of KubFly in SmallRye Health, as one wellness check
kubfly (/q/health/well): each check
with its last state, DOWN when one is CRITICAL.A language of the texts of a process: the one
Config.LANGUAGE chooses, with an
identifier shared by the SDKs of all languages — it never changes and is never reused; a new language takes the next
one.Event level.
The limits of a document a parser takes: beyond any of them it fails with
CodecException, so a document
from outside cannot take the memory or the stack of the process.One network interface (
/proc/net/dev), with cumulative counters as the kernel keeps them.One link between two sides, both edges of it joined (
Links.of(Iterable)): the outgoing edge of the client and the
incoming edge of the server — one of them may be missing, when the other side has no SDK or wrote to another
bucket.The links of a stand: the edges of all its processes over a time range, summed, and the two sides of each link
joined (
format.md §9a).The load average of the host (
/proc/loadavg on Linux): the average number of tasks running or waiting —
on Linux including tasks waiting for disk, so it is not the processor usage (Cpu is).A place over the surface of the Earth: WGS84 (EPSG:4326, as
geography(Point, 4326) of PostGIS and as GPS
gives it) — a latitude and a longitude in degrees, an altitude in metres over the WGS84 ellipsoid (NaN —
unknown: a phone indoors often has none).The collector of Grafana Loki: the events, the changes of alerts and checks and, by choice, the frames pushed
straight to Loki (
Push, protobuf with Snappy).The machine — the host — the service runs on, as the process sees it: its name is the host name inside the
container (in Kubernetes the pod), not the node of Kubernetes (
Cluster.node()).The indicators of the health of Micronaut as checks of KubFly: each indicator of the application — the data
sources, the disk space, the indicators of its own — is the check
sdk/micronaut/management/health/<name>,
run by KubFly with its own: UP is OK, DOWN is CRITICAL with the details,
anything else is WARNING.A bucket with the metrics of its operations (
Measures): every builder wraps its bucket in it.The metrics of a kind of bucket, per operation:
sdk/bucket/client/<kind>/<operation>/duration (ns),
…/errors (failures — any is CRITICAL), …/retries (attempts again after a failure that may
pass), …/bytes (read or written).A bucket in the memory of the process (
MemBuilder): objects in a sorted map by the order of their keys
(Keys.ORDER), the same rules of keys and ranges as the other kinds.The memory of the process as a bucket (
BucketKind.MEM): for tests and for reading what was just written
in the same process.The memory of the cgroup, in bytes: used, its limit, what it consists of, the working set, the kills, the pressure.
The memory of the host, in bytes (
/proc/meminfo on Linux; elsewhere from the JVM, where available memory
is the free memory).The memory of the Go runtime, in bytes (
runtime/metrics); -1 — unknown.The memory of the JVM, in bytes: the heap, and the memory outside it — non-heap (metaspace, code cache …) and direct
buffers.
A metric: created once (usually in a static field) and recorded without any lookup.
The definition of a metric in a segment: its path, scale, units, description and the thresholds in force.
The part of the bridge of Micrometer in
STATUS.The part of Micronaut in
STATUS.The mode of the pipeline (
KUBFLY_PIPELINE_MODE, Mode.ASYNC by default): what a writer does when every
lane is full, and the drain when the ring of an output is full.SQL text with positional parameters and the columns bound to them, in order.
A namespace of the stand.
The platform of .NET: the common language runtime in the environment — reserved: the KubFly SDK for it is planned,
and its fields come with it.
The platform of .NET: the common language runtime (CLR) — reserved: the KubFly SDK for it is planned, and its fields
come with it.
The network of the network namespace of the process, read on Linux only (the JVM has no network statistics): in
Kubernetes the network of the pod (all its containers), on a bare host the whole host.
What a reading passed over as newer than this reader (decision 89): records of a type it does not know, entities
of a version it does not know.
A kind of what was passed over.
The platform of Node.js in the environment — reserved: the KubFly SDK for it is planned, and its fields come with
it.
The platform of Node.js: the V8 engine and its event loop — reserved: the KubFly SDK for it is planned, and its
fields come with it.
The system fields of an object.
An argument of the kind
OBJECT: its class and its toString(), cut to the limit of the collector.A value or nothing, as
Option of Rust: Option.Some holds a value that is never null,
Option.None — nothing.Nothing.
A value.
The order of reading by time: the two orders of the
direct index level of the keys.Where items come from: the instance that wrote them, its build, its platform and its place on the stand — the
Config of the process that wrote them (io.kubfly.sdk.api.Config) and the stand that holds them.The collector of OpenTelemetry: what KubFly records, sent by OTLP/HTTP in protobuf — the frames as spans, the
events as log records with the trace and the span of their frame, the metrics as exponential histograms
(
Otlp, Metrics).The outlet of the pipeline to an output.
The sending side of an output: a ring of batches ready to go and the thread
kf-<output> that gives them
to the Transport, so the drain never waits for a network or a disk.The outputs of the process in
STATUS.Where the pipeline writes the process: the bucket, the console, a collector of logs.
One stream of an output: a format (the beginning of a batch, the records, its end) and the rules of a batch
(when it is due).
An output as
ServiceLoader finds it: the jar of an output names its provider in
META-INF/services/io.kubfly.sdk.pipeline.OutputProvider; the PipelineCollector asks every provider
on the class path whether its output is on, and makes those that are.A parameter of the process: a value a variable of the environment sets, read once, with the methods of an
Option — so a parameter is used as its value is.A parameter of the process as the records carry it (
START, FINISH, STATUS): the value of a
Param at the moment, a secret masked.The parameters of the SDK — of the project
sdk (Param): their paths, units, secrecy and
descriptions in every language, by their names, the same in the SDKs of all languages
(sdk/spec/params.tsv).The other side of an
Edge: the most exact that the process knows of it.A destination of a broker.
A database.
A caller without the SDK and without a name: an incoming request without the headers of KubFly.
A host without the SDK, as the code wrote it, in lower case.
A process with the SDK: its instance always, its names when
KubFly-Peer came, in the order of the
fields of Config.The peers beyond the limit of a route (
KUBFLY_TRAFFIC_PEERS), as one.A key of the stand that signs
KubFly-Peer with HMAC-SHA256 (KUBFLY_TRACE_PEER_KEYS): at least
32 bytes, a secret shared by the services of a stand.The identity of the process on the wire, the header
KubFly-Peer, and the peers of the stream
traffic it gives: the fields of Config in their order — namespace, service,
pod, container, instance, version — the known ones, percent-encoded (RFC 3986).What the process knows of a peer.
PEM handling: certificates, unencrypted PKCS#8 private keys, explicit trust in the given CAs
without the default Java trust store.
TLS socket factory for pgjdbc that trusts only the CA given as PEM text.
The tasks of the cgroup — processes and threads.
The part of the pipeline (
sdk/pipeline) in STATUS.What the outputs of one pipeline share: its settings, the registries of the process its records refer to — the
strings (
Dictionary), the stack traces, the metrics, the nodes of the stacks of the profiles — and the
Encoder that wrote them.The collector of the pipeline: what the application gives it goes to every
Output — the bucket, the
console, a collector of logs.What the pipeline works with — from
Config in an application, given directly in tests.The platform part of an
Environment: the facts of the execution platform of the
SDK that do not change while it runs — the runtime, its version and settings.The platform part of a
Usage: the execution platform of the SDK that took the
snapshot.The platform threads of the JVM — each on its own operating system thread — with their states and deadlocks.
A pod of a service.
Snapshot of the connection pool state.
A point of the track of a moving object (
format.md §9c): who tracks it (project/module/area/system
of the KubFly that called track or logged the event) and the point — the track, the time of the fix, the
place.A bucket under a prefix of another one: several stands share a bucket, each under its own prefix
(
KUBFLY_BUCKET_PREFIX=prod — the keys prod/events/v1/…).Pressure stall information (PSI) of a resource: the share of time tasks were stalled waiting for it.
The operating system process of the application: the same in every language, since the operating system keeps it.
The profile of one kind over an interval of metrics (
format.md §9b): the samples folded by stack.The profile of one kind of a process over an interval (the stream
profiles, format.md §9b): its
samples folded by stack, as Collector.profile(long, long, long, Profile) gave them.The kind of a
Profile, with an identifier shared by the SDKs of all languages: it never changes and is never
reused (format.md §9b).One row of a
Profile: the samples of an interval that ended in one stack (and, for
ProfileKind.ALLOC, allocated one type), summed.The profiles of the process being folded (
format.md §9b): the sampler (kf-jfr) adds samples by
stack, the usage thread takes the folded rows of every kind once per interval of metrics and gives them to the
collectors (Collector.profile(long, long, long, Profile)).One row of a
ProfileInterval: the samples that ended in one stack (and, for allocations, allocated one type).The protocol of an
Edge, with an identifier shared by the SDKs of all languages: it never changes and
is never reused.The platform of Python: CPython in the environment — reserved: the KubFly SDK for it is planned, and its fields come
with it.
The platform of Python: CPython — reserved: the KubFly SDK for it is planned, and its fields come with it.
The part of Quarkus in
STATUS.The queries by time over everything beneath a resource of the stand (
Resource.query()): its instances alive
in a span, the items of its streams merged by time, its segments.SQL statement prepared for execution within a transaction; created by
Sql.query(String).The part of RabbitMQ in
STATUS.The hook of Reactor for the lifetime of the context: the frame of a pipeline current in the signals of its
operators (
KubFlyReactor.install()) — the requests of WebFlux, the pipelines with
contextWrite(KubFlyReactor.current()).A private key of a recipient of encrypted segments, MLKEM1024-P384 (
format.md §11): the keys of the JDK of
ML-KEM-1024 and of P-384 — derived from a seed of 32 bytes, or handles from a KeyStore or a token of
PKCS #11 whose bytes never leave it — with its public key and the fingerprint the headers of segments name it by,
computed once.A public key of a recipient of encrypted segments, MLKEM1024-P384 (
format.md §11): 1665 bytes — the key of
ML-KEM-1024, then the point of P-384 uncompressed — checked once, with the fingerprint the headers of segments name
the recipient by.One record as the drain gives it to the outputs: a view of the bytes of a lane or a channel, reused for every
record — nothing is allocated.
Reads the bodies of records (
format.md §4.3–§4.4) as the pipeline gives them to its outputs, without
allocating: a pull reader, in the order of the body.An edge of
TRAFFIC (format.md §9a), a view the reader reuses; its histogram follows by
RecordReader.nextBucket().The registries of the process that the numbers of a body refer to: strings of the dictionary and stack traces.
A row of
PROFILE (format.md §9b), a view the reader reuses.A snapshot of
METRICS (format.md §7), a view the reader reuses; its histogram follows by
RecordReader.nextBucket().A value of a body: an argument or the value of a tag, the kind and the primitive as the API keeps them
(
Tag), the rest without allocating; RecordReader.Value.ref() makes the object.Receives the references a record makes to the definitions of its segment, as
Bodies walks it: the
strings of the dictionary, the stack traces, the metrics and the nodes of the stacks of profiles.A resource of the stand, a level of its tree — the stand, a namespace, a service, a pod, a container, an instance,
named as Kubernetes and the stand name them: its kind and its queries by time over everything beneath it
(
Query); the resource itself gives its name, its parent and its children.The kind of a resource of the stand: one per implementation of the sealed
Resource, for filters; the
resource itself is taken apart by a switch by pattern.A value or an error, as
Result of Rust: Result.Ok holds the value, Result.Err — the error; neither is
ever null (a value that may be missing is an Option).Terminal operations of a statement.
The error.
The value.
Revision column of an
Entity for optimistic concurrency; also a column.Immutable snapshot of one result row: column description plus values.
The platform of Ruby in the environment — reserved: the KubFly SDK for it is planned, and its fields come with
it.
The platform of Ruby — reserved: the KubFly SDK for it is planned, and its fields come with it.
The platform of Rust in the environment — reserved: the KubFly SDK for it is planned, and its fields come with
it.
The platform of Rust: native code, its allocator and asynchronous executor — reserved: the KubFly SDK for it is
planned, and its fields come with it.
A bucket of S3 by its REST API:
HEAD, GET (with Range), PUT, DELETE of an
object, ListObjectsV2 page by page; every request signed by AWS Signature Version 4 with the hash of its
payload — a stream is read twice, to hash it and to send it.S3 and S3-compatible clouds (Yandex, VK Cloud, Selectel, MinIO) as a bucket (
BucketKind.S3): one name,
requests signed by AWS Signature Version 4, no dependencies but the JDK.The snapshot of a metric over an interval.
Takes
Usage snapshots.The scheduler of the Go runtime (
runtime/metrics); -1 — unknown.A named scope of execution: the modern replacement of MDC on top of
ScopedValue.A body with a result.
A body without a result.
A sealed object of the bucket (
format.md §10, §10c) — the catalog of a process, the code of a build: in the
open "KFLY", u8 version, u8 cipher (0 — none, 1 — the envelope of §11) and, with the envelope, varint
recipients and each of them; then the body deflated (raw deflate) and, with the envelope, encrypted with the data
key as block 0, the header its additional data; last a u32 CRC32C of the bytes before it.A key of a segment taken apart (
format.md §2):
<stream>/v1/index/all/direct/YYYY/MM/DD/HH/mm/ss/SSS/<namespace>/<service>/<pod>/<container>/<instance>/
<begin>-<end>-<statistics>.<ext>.Reads a segment (
format.md §3): the header from the start, the trailer and the table from the end, the
blocks on demand — forward from the first, backward from the last — so a reader of a remote object asks only for
the ranges it needs.A block of the table.
The header.
The bytes of a segment: a file, an array, the ranges of an object.
The summary of the table.
Receives the records of a segment.
Reads the records of segments into items: the definitions first from the table (so a segment reads backward as
well as forward), then the records in the order asked; the blocks are read from the bucket by ranges only when
reached.
Query of an entity, declared on a constant of an enum implementing
EntitySelect:Compile-time metadata of an
EntitySelect enum, generated by the SDK annotation processor and found at
run time through ServiceLoader.The metrics of incoming routes, of every framework:
sdk/http/server/<METHOD>/<route>/<measure> — the route is
the pattern of the framework (Spring MVC, WebFlux, Micronaut: /orders/{id} as orders.{id}, /
as root), known only after the handling; a request that no handler took is unmatched (the static
resources of Spring take the rest as
**), a method beyond the standard ones is OTHER: the number of metrics follows the code, not the
traffic.The application process.
A service of a namespace.
The state of a metric with an
Alert over one interval, with an identifier shared by the SDKs of all
languages: it never changes and is never reused.The bridge to SLF4J (bridge mode): events are formatted (with the one-off tags of the event and the scope frame
with its tags appended) and passed to the SLF4J logger named by the event path
project/module/area/system,
so the bound provider (for example Logback) decides levels and output.Smile documents written with the
SmileGenerator into a buffer of their own that grows, with shared names:
a name already written in the document is a reference back by its index — the names of a schema repeat in every
document.What
SmileParser.next() read.The Smile generator: Smile 1.0, the binary JSON of Jackson that the bulk API of Elasticsearch and OpenSearch takes
(
application/smile).A streaming parser of Smile 1.0 — the binary JSON of Jackson — strict and without a tree, as
JsonParser is of JSON: SmileParser.next() reads event by event (SmileEvent).The aggregate of one
Metric over one interval, delivered to every collector by
Collector.metrics(long, long, long, Snapshot[]).The TCP sockets of the network namespace now, by state (
/proc/net/tcp and tcp6), and the accept
queues of the listening ones.A memory area of the JVM, in bytes: used, committed by the JVM, and its limit — the heap, the metaspace, the
compressed class space, the code cache.
The part of Spring Boot in
STATUS.The part of the SQL of entities in
STATUS.What a statement does, read from its text without a parser: its operation —
select, insert,
update, delete, merge, call, other — and its first table, past spaces,
comments and parentheses.Database access within a single transaction — a dedicated connection (analogue of JDBC
Connection).System database error (unchecked wrapper around
SQLException).Transaction completion: called after
Transaction.run(Sql), but before the transaction is
committed or rolled back in the database.Transaction setup at its start, before
Transaction.run(Sql) is called.A frame of a stack trace.
A node of the tree of the stacks of the process (
format.md §9b): a frame and the node of its caller.The tree of the stacks of a process (
format.md §9b): one StackNode per path of frames, numbered from
1 in the order they are first seen, at most limit of them; a path that needs a node beyond the limit ends in
StackNode.OTHERS.The stamp of the build: "META-INF/kubfly/build.properties", put into the application by a build plugin (
kubfly:code of
Maven, kubflyCode of Gradle) — the build, the commit, the branch or tag and the version, as the properties
build, commit, ref, version (Stamp.text(UUID, String, String, String)).The stand: the root of the tree of a stand bucket.
The start of a process.
The state of the API.
The state of the bucket of the collector.
The state of the console.
The state of the pipeline.
The state of a process as it knows it (
STATUS, decision 87): one part per module of the SDK in the process —
none for a module it lacks — and the last results of its health checks; the last record of every segment of
events.The parts of the modules of the SDK in the process for
STATUS (decision 87, format.md §10a).The state of the process as it knew it (
STATUS, decision 87): the last record of every segment of
events; its time is that of the record before it.The labels and the hints of the fields of
STATUS for people, in every language (the integrations too): what
catalog.kfl carries in the language of the process for a viewer of the layout (format.md §10), the
same in the SDKs of all languages (sdk/spec/status-texts.tsv).The storage of the application: space and input-output, at the levels they are known — the file systems of the
configured paths, the block devices and the I/O pressure of the host (the node in Kubernetes), the I/O of the
container (its cgroup).
An object that is there: its value with its fields — what a read gives inside
Option.Some, for a
switch by pattern:The streams of segments of a stand bucket (
format.md §2): their prefixes, extensions and the index of their
interval in the start object of an instance.The stripes of the process (
sdk/spec/stripes.md): counters that application threads write each on its own
128 bytes, so threads on different processors never write the same cache line.Takes the
Environment: from the variables of Config (the environment completed by the configuration
file), a few system files on Linux, the system properties and the management beans of the JVM — the identity by the
same rules as Config (Variables).The platform of Swift on servers in the environment — reserved: the KubFly SDK for it is planned, and its fields come
with it.
The platform of Swift on servers — reserved: the KubFly SDK for it is planned, and its fields come with it.
A setting that is on, off, or decided by its module (
KUBFLY_…=AUTO, ON or OFF).The switches of the integrations as the conditions of their beans (
@Requires(condition = …)): a part is on
unless its property is OFF or false in any case — a flag of the SDK (Variables.off(String)).The collector of syslog, for a SIEM: events, the changes of alerts and of health, and the problems of the collector
itself as messages of RFC 5424 (
Messages) over UDP, TCP or TLS — or of RFC 3164 for old receivers.A key/value tag of a
Scope or of one event: every event inside the scope carries it (the modern replacement
of MDC).Starts a list of
Tags: Tags.of("order", orderId).of("sklad", skladId).The tasks — processes and threads — allowed to the user of the process: like the cgroup limit, at this limit the
JVM cannot start a thread.
TCP of the network namespace: the sockets by state now, and the cumulative counters — two kinds of values, read
differently (a current value as it is, a counter by its increment over an interval).
A text for people in every language: a function of the
Language, written next to the code that uses it —
like the thresholds of a metric, with no bundles of resources:A string of a record body as
RecordReader reads it, without allocating: either a String that already
exists — a string of the dictionary of the process, a frame of a known stack trace — or UTF-8 in the body itself.The threads of the JVM: platform threads with their states and deadlocks, and virtual threads with their scheduler.
The kind of thresholds of an
Alert, with an identifier shared by the SDKs of all
languages: it never changes and is never reused.Items of a span of time in an order:
Order.DIRECT — the time never decreases, Order.REVERSE — it
never increases.The totals of a metric
sdk/* since the start of the process: the sums of the snapshots of all intervals, the
least and the greatest of all time, the last and the severity of the last interval.The totals of one
Metric since the start of the process: the sums of the snapshots of all its intervals,
the least and the greatest value of all time, the last value and the severity of the last interval.A track: the points of one name (
TrackPoint.track() — a moving object or its trip), ordered by the time of
their fixes, gathered by Query.tracks(long, long) from the stream tracks and from the arguments of
events of every instance beneath the query.A point of the track of a moving object — a phone, a drone, a car: which track it belongs to (
track — the
name of the object, courier-7, or of its trip, courier-7/trip-42; the same in every point of the
track, not of one point), when (time — of the fix, not of the log) and where (Location), with what
GPS knows besides — its accuracy, speed and heading (NaN — unknown).A track in a span as the tables of the segments of
tracks tell it (format.md §9c,
Query.trackSummaries(long, long)): its points there, the frame of their places and the span of their fixes — known
without reading the points; in a table, the summary of a track in that segment, by which a segment is chosen.The links of the process with its peers, the stream
traffic: every request and message of the integrations
(HTTP, SQL, Kafka, AMQP) adds to one Traffic.Link — a protocol, a direction, an operation, a route and a peer —
without sampling.The traffic of one route with one peer: what a request or a message adds to.
The links of one protocol, direction, operation and route, by peer and trust.
The links of a process with its peers over an interval (the stream
traffic): its edges, as
Collector.traffic(long, long, long, Edge[]) gave them.Transaction code called from
Database.write(Transaction) or Database.read(Transaction).Outer transaction hook called last: after the transaction is committed or rolled back and before
the connection returns to the pool.
Outer transaction hook called first: right after a connection is taken from the pool and before
any SQL work (
SET TRANSACTION, SqlInitializer, Transaction.run(Sql)).Where an output sends its batches: a bucket, a collector of logs, a socket.
What became of a batch.
How far the names of a
Peer.KubFly are to be trusted, with an identifier shared by the SDKs of all
languages: the signature of KubFly-Peer is an option of the stand, off by default.An unsigned 64-bit integer, 0 … 2^64 − 1: the
u64 of Rust, Go, C, C++, .NET and Swift and the
kotlin.ULong of Kotlin, which Java does not have.Update statement of an entity, executed by
Sql.update(Object).Insert-or-update (for example
insert ... on conflict ... do update) statement of an entity, executed by
Sql.upsert(Object).A periodic snapshot of the resources around the application: the host, the container (the cgroup of the process),
the storage, the network, the operating system process and the platform (the JVM).
A usage snapshot.
Strict UTF-8 (RFC 3629): a code point of its shortest form only — no overlong forms, no surrogates, nothing above
U+10FFFF, no sequence cut by the end.
The variables of
Config: their names (all with the prefix KUBFLY_), defaults, and
how each value is taken — pure functions of the variables, the same in the SDKs of all languages, used by
Config once and by tests with prepared variables.The variables of the collector and their defaults — the only place of the defaults (the rule of the SDK): code
takes the values from
Config.The variables of the output of the console and their defaults — the only place of the defaults (the rule of the
SDK): code takes the values from
Config.The names of the settings of the pipeline and their defaults:
KUBFLY_PIPELINE_*, shared by every output.Variable-length integers of the record frame: the size of a LEB128 integer, and the reverse varint at the
end of a record — the bytes of the LEB128 integer in reverse order, so that, read from its last byte backwards, it
ends at the first byte without the high bit.
Configuration variables: an immutable map of names to values, sorted by name — iteration gives the same order in
every run — read by any number of threads without locks.
A version of the SDK:
major.minor.patch.The virtual threads of the JVM and their scheduler: virtual threads run mounted on carrier threads.
What items must come from: fields of their
Origin, each None — any.Opening physical JDBC connections over the PG wire protocol.
PG wire database with its own connection pool.
PG wire database access within a single transaction: a pooled connection handed out to the transaction.
An XML document written with the
XmlGenerator into a buffer of its own that grows: the end tags by the
elements open, an element without content as <name/>, the structure checked as it goes (an attribute after
the content, an attribute repeated, a text outside the element of the document, a second element of the document,
an end with nothing open — IllegalStateException).What
XmlParser.next() read.The XML generator: tags, attributes and text written straight into a
byte[] at an offset, the offset after
them returned — nothing left for the collector of garbage, as JsonGenerator; a
null buffer writes nothing and counts the bytes.A streaming parser of XML, strict and without a tree:
XmlParser.next() reads the document event by event
(XmlEvent), a reader takes what it needs and skips the rest.