Commit 42aa242e by jiangxd2016

release: v1.2.9

parent 0ab9e443
{ {
"name": "@grafana/vue", "name": "@grafana/vue",
"version": "1.2.0", "version": "1.2.0",
"builtAt": "2026-07-24T08:41:56.787Z", "builtAt": "2026-07-24T10:05:43.400Z",
"mode": "library-esm-single-file", "mode": "library-esm-single-file",
"entries": { "entries": {
"index": "src/index.ts", "index": "src/index.ts",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -4899,6 +4899,8 @@ type ExportResult = UpstreamExportResult | CursorExportResult | LoadedOnlyExport ...@@ -4899,6 +4899,8 @@ type ExportResult = UpstreamExportResult | CursorExportResult | LoadedOnlyExport
type SigNozSignal = "metrics" | "logs" | "traces"; type SigNozSignal = "metrics" | "logs" | "traces";
type SigNozQueryMode = "builder" | "promql" | "clickhouse_sql"; type SigNozQueryMode = "builder" | "promql" | "clickhouse_sql";
type SigNozApiProfileId = "signoz-v3" | "signoz-v5" | "prometheus-compatible" | "custom" | "signoz-v4" | "argus-v5"; type SigNozApiProfileId = "signoz-v3" | "signoz-v5" | "prometheus-compatible" | "custom" | "signoz-v4" | "argus-v5";
type SigNozCredentialKind = "bearer" | "signozApiKey" | "apiKey" | "headers" | "session" | "proxy";
type SigNozFetchCredentials = "omit" | "same-origin" | "include";
interface SigNozField { interface SigNozField {
name: string; name: string;
fieldDataType: "string" | "float64" | "int64" | "bool"; fieldDataType: "string" | "float64" | "int64" | "bool";
...@@ -4912,6 +4914,51 @@ interface SigNozMetricMeta { ...@@ -4912,6 +4914,51 @@ interface SigNozMetricMeta {
temporality: string; temporality: string;
isMonotonic: boolean; isMonotonic: boolean;
} }
interface SigNozDataSourceOptions extends DataSourceJsonData {
/** live = real network; fixture = offline fixtures only (tests). Default live. */
dataMode?: "live" | "fixture";
schema: 1;
apiProfile: SigNozApiProfileId;
organizationId?: string;
defaultEnvironment?: string;
timeout: number;
metadataCacheTTL: string;
rawPageSize?: number;
liveTailIntervalMs?: number;
maxConcurrentRequests?: number;
customMetricsPath?: string;
customLogsPath?: string;
customTracesPath?: string;
customAlertsPath?: string;
customTraceByIdPath?: string;
customMetadataPath?: string;
customHealthPath?: string;
customMetricsListPath?: string;
customFieldsKeysPath?: string;
customFieldsValuesPath?: string;
customAcknowledgePath?: string;
customResolvePath?: string;
credentialKind: SigNozCredentialKind;
credentialHeaderName?: string;
fetchCredentials?: SigNozFetchCredentials;
customHealthOk: boolean;
customHealthSignature: string;
/** experimental capabilities verified for this UID (never invent) */
experimentalCapabilities?: {
distribution?: boolean;
builderSubQuery?: boolean;
builderJoin?: boolean;
anomaly?: boolean;
/** SSE live tail Content-Type verified for this UID */
liveTailSse?: boolean;
/** legacy /api/v1/logs/tail verified */
liveTailLegacy?: boolean;
/** POST export_raw_data verified */
exportRaw?: boolean;
waterfallV3Observed?: boolean;
actionsVerified?: boolean;
};
}
type SigNozMetadataResponse = { type SigNozMetadataResponse = {
type: "metrics"; type: "metrics";
values: SigNozMetricMeta[]; values: SigNozMetricMeta[];
...@@ -4971,6 +5018,9 @@ interface SigNozApiProfile { ...@@ -4971,6 +5018,9 @@ interface SigNozApiProfile {
isHealthy?: (status: number, data: unknown) => boolean; isHealthy?: (status: number, data: unknown) => boolean;
} }
declare const SIGNOZ_PROFILES: Record<string, SigNozApiProfile>; declare const SIGNOZ_PROFILES: Record<string, SigNozApiProfile>;
/** True for official SigNoz v5 and Argus APM v5 (same wire envelope, different base paths). */
declare function isV5WireProfile(id: string | undefined | null): boolean;
declare function resolveSigNozProfile(options: Partial<SigNozDataSourceOptions> | undefined): SigNozApiProfile;
type MetricFindValue = { type MetricFindValue = {
text: string; text: string;
...@@ -5143,7 +5193,7 @@ declare const SIGNOZ_CAPABILITY_MANIFEST: { ...@@ -5143,7 +5193,7 @@ declare const SIGNOZ_CAPABILITY_MANIFEST: {
readonly name: "Argus v5"; readonly name: "Argus v5";
readonly signals: ["metrics", "logs", "traces"]; readonly signals: ["metrics", "logs", "traces"];
readonly queryModes: ["builder", "promql", "clickhouse_sql"]; readonly queryModes: ["builder", "promql", "clickhouse_sql"];
readonly healthPaths: ["/api/v2/healthz", "/api/v1/health"]; readonly healthPaths: ["/api/apm/v1/health", "/api/apm/v2/healthz"];
}, { }, {
readonly id: "signoz-v5"; readonly id: "signoz-v5";
readonly name: "SigNoz v5 (Native)"; readonly name: "SigNoz v5 (Native)";
...@@ -5453,7 +5503,7 @@ declare const SIGNOZ_CAPABILITY_MANIFEST: { ...@@ -5453,7 +5503,7 @@ declare const SIGNOZ_CAPABILITY_MANIFEST: {
declare const SIGNOZ_PANEL_ID = "signoz-issues"; declare const SIGNOZ_PANEL_ID = "signoz-issues";
declare const SIGNOZ_DATASOURCE_ID = "signoz"; declare const SIGNOZ_DATASOURCE_ID = "signoz";
export { SIGNOZ_CAPABILITIES, SIGNOZ_CAPABILITY_MANIFEST, SIGNOZ_DATASOURCE_ID, SIGNOZ_PANEL_ID, SIGNOZ_PROFILES, createSignozDataSource, issuesWriteEnabled, registerSigNozPlugin }; export { SIGNOZ_CAPABILITIES, SIGNOZ_CAPABILITY_MANIFEST, SIGNOZ_DATASOURCE_ID, SIGNOZ_PANEL_ID, SIGNOZ_PROFILES, createSignozDataSource, isV5WireProfile, issuesWriteEnabled, registerSigNozPlugin, resolveSigNozProfile };
// ----- bootstrap (also on ./register) ----- // ----- bootstrap (also on ./register) -----
export declare function bootstrapGrafanaVue(): void; export declare function bootstrapGrafanaVue(): void;
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"name": "@grafana/vue", "name": "@grafana/vue",
"version": "1.2.7", "version": "1.2.9",
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/index.js",
"exports": { "exports": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment