elastic-agent-client 0.0.1.dev1__tar.gz → 0.0.1.dev2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/.gitignore +2 -1
  2. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/NOTICE.txt +242 -5
  3. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/PKG-INFO +5 -11
  4. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/README.md +0 -6
  5. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/generated/elastic_agent_client_deprecated_pb2.py +3 -3
  6. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/generated/elastic_agent_client_deprecated_pb2_grpc.py +1 -1
  7. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/generated/elastic_agent_client_future_pb2.py +3 -3
  8. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/generated/elastic_agent_client_future_pb2_grpc.py +1 -1
  9. elastic_agent_client-0.0.1.dev2/elastic_agent_client/generated/elastic_agent_client_pb2.py +106 -0
  10. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/generated/elastic_agent_client_pb2.pyi +4 -2
  11. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/generated/elastic_agent_client_pb2_grpc.py +1 -1
  12. elastic_agent_client-0.0.1.dev2/elastic_agent_client/version.py +7 -0
  13. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/pyproject.toml +8 -5
  14. elastic_agent_client-0.0.1.dev1/elastic_agent_client/generated/elastic_agent_client_pb2.py +0 -106
  15. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/LICENSE +0 -0
  16. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/__init__.py +0 -0
  17. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/client.py +0 -0
  18. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/generated/__init__.py +0 -0
  19. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/generated/elastic_agent_client_deprecated_pb2.pyi +0 -0
  20. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/generated/elastic_agent_client_future_pb2.pyi +0 -0
  21. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/handler/__init__.py +0 -0
  22. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/handler/action.py +0 -0
  23. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/handler/checkin.py +0 -0
  24. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/reader.py +0 -0
  25. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/service/__init__.py +0 -0
  26. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/service/actions.py +0 -0
  27. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/service/checkin.py +0 -0
  28. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/util/__init__.py +0 -0
  29. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/util/async_tools.py +0 -0
  30. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.1.dev2}/elastic_agent_client/util/logger.py +0 -0
@@ -1,5 +1,6 @@
1
1
  bin
2
2
  lib
3
+ lib64
3
4
  include
4
5
  .coverage
5
6
  *.un~
@@ -20,4 +21,4 @@ dist
20
21
  .proto
21
22
 
22
23
  # pyoxidize
23
- build
24
+ build
@@ -7,7 +7,7 @@ Apache Software License
7
7
  UNKNOWN
8
8
 
9
9
  grpcio
10
- 1.67.0
10
+ 1.68.1
11
11
  Apache Software License
12
12
 
13
13
  Apache License
@@ -622,12 +622,12 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
622
622
 
623
623
 
624
624
  grpcio-tools
625
- 1.67.0
625
+ 1.68.1
626
626
  Apache Software License
627
627
  UNKNOWN
628
628
 
629
629
  protobuf
630
- 5.27.4
630
+ 5.28.1
631
631
  3-Clause BSD License
632
632
  Copyright 2008 Google Inc. All rights reserved.
633
633
 
@@ -664,9 +664,246 @@ support library is itself covered by the above license.
664
664
 
665
665
 
666
666
  types-protobuf
667
- 5.27.0.20240907
667
+ 5.28.3.20241203
668
668
  Apache Software License
669
- UNKNOWN
669
+ The "typeshed" project is licensed under the terms of the Apache license, as
670
+ reproduced below.
671
+
672
+ = = = = =
673
+
674
+ Apache License
675
+ Version 2.0, January 2004
676
+ http://www.apache.org/licenses/
677
+
678
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
679
+
680
+ 1. Definitions.
681
+
682
+ "License" shall mean the terms and conditions for use, reproduction,
683
+ and distribution as defined by Sections 1 through 9 of this document.
684
+
685
+ "Licensor" shall mean the copyright owner or entity authorized by
686
+ the copyright owner that is granting the License.
687
+
688
+ "Legal Entity" shall mean the union of the acting entity and all
689
+ other entities that control, are controlled by, or are under common
690
+ control with that entity. For the purposes of this definition,
691
+ "control" means (i) the power, direct or indirect, to cause the
692
+ direction or management of such entity, whether by contract or
693
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
694
+ outstanding shares, or (iii) beneficial ownership of such entity.
695
+
696
+ "You" (or "Your") shall mean an individual or Legal Entity
697
+ exercising permissions granted by this License.
698
+
699
+ "Source" form shall mean the preferred form for making modifications,
700
+ including but not limited to software source code, documentation
701
+ source, and configuration files.
702
+
703
+ "Object" form shall mean any form resulting from mechanical
704
+ transformation or translation of a Source form, including but
705
+ not limited to compiled object code, generated documentation,
706
+ and conversions to other media types.
707
+
708
+ "Work" shall mean the work of authorship, whether in Source or
709
+ Object form, made available under the License, as indicated by a
710
+ copyright notice that is included in or attached to the work
711
+ (an example is provided in the Appendix below).
712
+
713
+ "Derivative Works" shall mean any work, whether in Source or Object
714
+ form, that is based on (or derived from) the Work and for which the
715
+ editorial revisions, annotations, elaborations, or other modifications
716
+ represent, as a whole, an original work of authorship. For the purposes
717
+ of this License, Derivative Works shall not include works that remain
718
+ separable from, or merely link (or bind by name) to the interfaces of,
719
+ the Work and Derivative Works thereof.
720
+
721
+ "Contribution" shall mean any work of authorship, including
722
+ the original version of the Work and any modifications or additions
723
+ to that Work or Derivative Works thereof, that is intentionally
724
+ submitted to Licensor for inclusion in the Work by the copyright owner
725
+ or by an individual or Legal Entity authorized to submit on behalf of
726
+ the copyright owner. For the purposes of this definition, "submitted"
727
+ means any form of electronic, verbal, or written communication sent
728
+ to the Licensor or its representatives, including but not limited to
729
+ communication on electronic mailing lists, source code control systems,
730
+ and issue tracking systems that are managed by, or on behalf of, the
731
+ Licensor for the purpose of discussing and improving the Work, but
732
+ excluding communication that is conspicuously marked or otherwise
733
+ designated in writing by the copyright owner as "Not a Contribution."
734
+
735
+ "Contributor" shall mean Licensor and any individual or Legal Entity
736
+ on behalf of whom a Contribution has been received by Licensor and
737
+ subsequently incorporated within the Work.
738
+
739
+ 2. Grant of Copyright License. Subject to the terms and conditions of
740
+ this License, each Contributor hereby grants to You a perpetual,
741
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
742
+ copyright license to reproduce, prepare Derivative Works of,
743
+ publicly display, publicly perform, sublicense, and distribute the
744
+ Work and such Derivative Works in Source or Object form.
745
+
746
+ 3. Grant of Patent License. Subject to the terms and conditions of
747
+ this License, each Contributor hereby grants to You a perpetual,
748
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
749
+ (except as stated in this section) patent license to make, have made,
750
+ use, offer to sell, sell, import, and otherwise transfer the Work,
751
+ where such license applies only to those patent claims licensable
752
+ by such Contributor that are necessarily infringed by their
753
+ Contribution(s) alone or by combination of their Contribution(s)
754
+ with the Work to which such Contribution(s) was submitted. If You
755
+ institute patent litigation against any entity (including a
756
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
757
+ or a Contribution incorporated within the Work constitutes direct
758
+ or contributory patent infringement, then any patent licenses
759
+ granted to You under this License for that Work shall terminate
760
+ as of the date such litigation is filed.
761
+
762
+ 4. Redistribution. You may reproduce and distribute copies of the
763
+ Work or Derivative Works thereof in any medium, with or without
764
+ modifications, and in Source or Object form, provided that You
765
+ meet the following conditions:
766
+
767
+ (a) You must give any other recipients of the Work or
768
+ Derivative Works a copy of this License; and
769
+
770
+ (b) You must cause any modified files to carry prominent notices
771
+ stating that You changed the files; and
772
+
773
+ (c) You must retain, in the Source form of any Derivative Works
774
+ that You distribute, all copyright, patent, trademark, and
775
+ attribution notices from the Source form of the Work,
776
+ excluding those notices that do not pertain to any part of
777
+ the Derivative Works; and
778
+
779
+ (d) If the Work includes a "NOTICE" text file as part of its
780
+ distribution, then any Derivative Works that You distribute must
781
+ include a readable copy of the attribution notices contained
782
+ within such NOTICE file, excluding those notices that do not
783
+ pertain to any part of the Derivative Works, in at least one
784
+ of the following places: within a NOTICE text file distributed
785
+ as part of the Derivative Works; within the Source form or
786
+ documentation, if provided along with the Derivative Works; or,
787
+ within a display generated by the Derivative Works, if and
788
+ wherever such third-party notices normally appear. The contents
789
+ of the NOTICE file are for informational purposes only and
790
+ do not modify the License. You may add Your own attribution
791
+ notices within Derivative Works that You distribute, alongside
792
+ or as an addendum to the NOTICE text from the Work, provided
793
+ that such additional attribution notices cannot be construed
794
+ as modifying the License.
795
+
796
+ You may add Your own copyright statement to Your modifications and
797
+ may provide additional or different license terms and conditions
798
+ for use, reproduction, or distribution of Your modifications, or
799
+ for any such Derivative Works as a whole, provided Your use,
800
+ reproduction, and distribution of the Work otherwise complies with
801
+ the conditions stated in this License.
802
+
803
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
804
+ any Contribution intentionally submitted for inclusion in the Work
805
+ by You to the Licensor shall be under the terms and conditions of
806
+ this License, without any additional terms or conditions.
807
+ Notwithstanding the above, nothing herein shall supersede or modify
808
+ the terms of any separate license agreement you may have executed
809
+ with Licensor regarding such Contributions.
810
+
811
+ 6. Trademarks. This License does not grant permission to use the trade
812
+ names, trademarks, service marks, or product names of the Licensor,
813
+ except as required for reasonable and customary use in describing the
814
+ origin of the Work and reproducing the content of the NOTICE file.
815
+
816
+ 7. Disclaimer of Warranty. Unless required by applicable law or
817
+ agreed to in writing, Licensor provides the Work (and each
818
+ Contributor provides its Contributions) on an "AS IS" BASIS,
819
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
820
+ implied, including, without limitation, any warranties or conditions
821
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
822
+ PARTICULAR PURPOSE. You are solely responsible for determining the
823
+ appropriateness of using or redistributing the Work and assume any
824
+ risks associated with Your exercise of permissions under this License.
825
+
826
+ 8. Limitation of Liability. In no event and under no legal theory,
827
+ whether in tort (including negligence), contract, or otherwise,
828
+ unless required by applicable law (such as deliberate and grossly
829
+ negligent acts) or agreed to in writing, shall any Contributor be
830
+ liable to You for damages, including any direct, indirect, special,
831
+ incidental, or consequential damages of any character arising as a
832
+ result of this License or out of the use or inability to use the
833
+ Work (including but not limited to damages for loss of goodwill,
834
+ work stoppage, computer failure or malfunction, or any and all
835
+ other commercial damages or losses), even if such Contributor
836
+ has been advised of the possibility of such damages.
837
+
838
+ 9. Accepting Warranty or Additional Liability. While redistributing
839
+ the Work or Derivative Works thereof, You may choose to offer,
840
+ and charge a fee for, acceptance of support, warranty, indemnity,
841
+ or other liability obligations and/or rights consistent with this
842
+ License. However, in accepting such obligations, You may act only
843
+ on Your own behalf and on Your sole responsibility, not on behalf
844
+ of any other Contributor, and only if You agree to indemnify,
845
+ defend, and hold each Contributor harmless for any liability
846
+ incurred by, or claims asserted against, such Contributor by reason
847
+ of your accepting any such warranty or additional liability.
848
+
849
+ END OF TERMS AND CONDITIONS
850
+
851
+ APPENDIX: How to apply the Apache License to your work.
852
+
853
+ To apply the Apache License to your work, attach the following
854
+ boilerplate notice, with the fields enclosed by brackets "{}"
855
+ replaced with your own identifying information. (Don't include
856
+ the brackets!) The text should be enclosed in the appropriate
857
+ comment syntax for the file format. We also recommend that a
858
+ file or class name and description of purpose be included on the
859
+ same "printed page" as the copyright notice for easier
860
+ identification within third-party archives.
861
+
862
+ Copyright {yyyy} {name of copyright owner}
863
+
864
+ Licensed under the Apache License, Version 2.0 (the "License");
865
+ you may not use this file except in compliance with the License.
866
+ You may obtain a copy of the License at
867
+
868
+ http://www.apache.org/licenses/LICENSE-2.0
869
+
870
+ Unless required by applicable law or agreed to in writing, software
871
+ distributed under the License is distributed on an "AS IS" BASIS,
872
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
873
+ See the License for the specific language governing permissions and
874
+ limitations under the License.
875
+
876
+ = = = = =
877
+
878
+ Parts of typeshed are licensed under different licenses (like the MIT
879
+ license), reproduced below.
880
+
881
+ = = = = =
882
+
883
+ The MIT License
884
+
885
+ Copyright (c) 2015 Jukka Lehtosalo and contributors
886
+
887
+ Permission is hereby granted, free of charge, to any person obtaining a
888
+ copy of this software and associated documentation files (the "Software"),
889
+ to deal in the Software without restriction, including without limitation
890
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
891
+ and/or sell copies of the Software, and to permit persons to whom the
892
+ Software is furnished to do so, subject to the following conditions:
893
+
894
+ The above copyright notice and this permission notice shall be included in
895
+ all copies or substantial portions of the Software.
896
+
897
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
898
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
899
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
900
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
901
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
902
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
903
+ DEALINGS IN THE SOFTWARE.
904
+
905
+ = = = = =
906
+
670
907
 
671
908
  uvloop
672
909
  0.21.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: elastic_agent_client
3
- Version: 0.0.1.dev1
3
+ Version: 0.0.1.dev2
4
4
  Summary: A python implementation of an Elastic Agent Client
5
5
  Author-email: Search Extract and Transform Team <enterprise-search-ingestion-team@elastic.co>
6
6
  License: Elastic V2
@@ -14,10 +14,10 @@ Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Requires-Python: >=3.10
16
16
  Requires-Dist: ecs-logging>=2
17
- Requires-Dist: grpcio-tools<2,>=1.65
18
- Requires-Dist: grpcio<2,>=1.65
19
- Requires-Dist: protobuf<5.28,>=5.27
20
- Requires-Dist: types-protobuf<5.28,>=5.27
17
+ Requires-Dist: grpcio-tools<1.69,>=1.65
18
+ Requires-Dist: grpcio<1.69,>=1.65
19
+ Requires-Dist: protobuf<5.29,>=5.28
20
+ Requires-Dist: types-protobuf<5.29,>=5.28
21
21
  Requires-Dist: uvloop<1,>=0.20
22
22
  Description-Content-Type: text/markdown
23
23
 
@@ -109,12 +109,6 @@ Instead, when `make generate` runs, it will:
109
109
 
110
110
  ### TODO List
111
111
  - [ ] remove all inline TODOs
112
- - [ ] write tests
113
- - [ ] use ECS logging
114
- - [ ] add NOTICE file
115
- - [ ] push to pypi
116
- - [ ] open source
117
- - [ ] record a demo
118
112
  - [ ] write a blog
119
113
  - [ ] one day...
120
114
  - [ ] support "custom actions" to trigger a sync, test connection, etc
@@ -86,12 +86,6 @@ Instead, when `make generate` runs, it will:
86
86
 
87
87
  ### TODO List
88
88
  - [ ] remove all inline TODOs
89
- - [ ] write tests
90
- - [ ] use ECS logging
91
- - [ ] add NOTICE file
92
- - [ ] push to pypi
93
- - [ ] open source
94
- - [ ] record a demo
95
89
  - [ ] write a blog
96
90
  - [ ] one day...
97
91
  - [ ] support "custom actions" to trigger a sync, test connection, etc
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: elastic-agent-client-deprecated.proto
5
- # Protobuf Python Version: 5.27.2
5
+ # Protobuf Python Version: 5.28.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 27,
16
- 2,
15
+ 28,
16
+ 1,
17
17
  '',
18
18
  'elastic-agent-client-deprecated.proto'
19
19
  )
@@ -4,7 +4,7 @@ import grpc
4
4
  import warnings
5
5
 
6
6
 
7
- GRPC_GENERATED_VERSION = '1.66.1'
7
+ GRPC_GENERATED_VERSION = '1.68.1'
8
8
  GRPC_VERSION = grpc.__version__
9
9
  _version_not_supported = False
10
10
 
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: elastic-agent-client-future.proto
5
- # Protobuf Python Version: 5.27.2
5
+ # Protobuf Python Version: 5.28.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 27,
16
- 2,
15
+ 28,
16
+ 1,
17
17
  '',
18
18
  'elastic-agent-client-future.proto'
19
19
  )
@@ -5,7 +5,7 @@ import warnings
5
5
 
6
6
  from . import elastic_agent_client_future_pb2 as elastic__agent__client__future__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.66.1'
8
+ GRPC_GENERATED_VERSION = '1.68.1'
9
9
  GRPC_VERSION = grpc.__version__
10
10
  _version_not_supported = False
11
11
 
@@ -0,0 +1,106 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: elastic-agent-client.proto
5
+ # Protobuf Python Version: 5.28.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 28,
16
+ 1,
17
+ '',
18
+ 'elastic-agent-client.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+ from . import elastic_agent_client_deprecated_pb2 as elastic__agent__client__deprecated__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x65lastic-agent-client.proto\x12\x05proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%elastic-agent-client-deprecated.proto\"Q\n\x07Package\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\"P\n\x04Meta\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1f\n\x07package\x18\x02 \x01(\x0b\x32\x0e.proto.Package\"g\n\nDataStream\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x64\x61taset\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"e\n\x06Stream\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x02 \x01(\t\x12&\n\x0b\x64\x61ta_stream\x18\x03 \x01(\x0b\x32\x11.proto.DataStream\"\xda\x01\n\x12UnitExpectedConfig\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x10\n\x08revision\x18\x05 \x01(\x04\x12\x19\n\x04meta\x18\x06 \x01(\x0b\x32\x0b.proto.Meta\x12&\n\x0b\x64\x61ta_stream\x18\x07 \x01(\x0b\x32\x11.proto.DataStream\x12\x1e\n\x07streams\x18\x08 \x03(\x0b\x32\r.proto.Stream\"\xc3\x01\n\x0cUnitExpected\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1d\n\x04type\x18\x02 \x01(\x0e\x32\x0f.proto.UnitType\x12\x1b\n\x05state\x18\x03 \x01(\x0e\x32\x0c.proto.State\x12\x18\n\x10\x63onfig_state_idx\x18\x04 \x01(\x04\x12)\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x19.proto.UnitExpectedConfig\x12&\n\tlog_level\x18\x06 \x01(\x0e\x32\x13.proto.UnitLogLevel\"w\n\tAgentInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x10\n\x08snapshot\x18\x03 \x01(\x08\x12%\n\x04mode\x18\x04 \x01(\x0e\x32\x17.proto.AgentManagedMode\x12\x14\n\x0cUnprivileged\x18\x05 \x01(\x08\"U\n\x08\x46\x65\x61tures\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12 \n\x04\x66qdn\x18\x02 \x01(\x0b\x32\x12.proto.FQDNFeature\"\x1e\n\x0b\x46QDNFeature\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"L\n\rElasticAPMTLS\x12\x13\n\x0bskip_verify\x18\x01 \x01(\x08\x12\x13\n\x0bserver_cert\x18\x02 \x01(\t\x12\x11\n\tserver_ca\x18\x03 \x01(\t\"\xbf\x01\n\nElasticAPM\x12!\n\x03tls\x18\x01 \x01(\x0b\x32\x14.proto.ElasticAPMTLS\x12\x13\n\x0b\x65nvironment\x18\x02 \x01(\t\x12\x0f\n\x07\x61pi_key\x18\x03 \x01(\t\x12\x14\n\x0csecret_token\x18\x04 \x01(\t\x12\r\n\x05hosts\x18\x05 \x03(\t\x12\x15\n\rglobal_labels\x18\x06 \x01(\t\x12\x1a\n\rsampling_rate\x18\x07 \x01(\x02H\x00\x88\x01\x01\x42\x10\n\x0e_sampling_rate\"/\n\tAPMConfig\x12\"\n\x07\x65lastic\x18\x01 \x01(\x0b\x32\x11.proto.ElasticAPM\"m\n\tComponent\x12&\n\x06limits\x18\x01 \x01(\x0b\x32\x16.proto.ComponentLimits\x12)\n\napm_config\x18\x02 \x01(\x0b\x32\x10.proto.APMConfigH\x00\x88\x01\x01\x42\r\n\x0b_apm_config\"P\n\x0f\x43omponentLimits\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x14\n\x0cgo_max_procs\x18\x02 \x01(\x04\"\x85\x02\n\x0f\x43heckinExpected\x12\"\n\x05units\x18\x01 \x03(\x0b\x32\x13.proto.UnitExpected\x12$\n\nagent_info\x18\x02 \x01(\x0b\x32\x10.proto.AgentInfo\x12!\n\x08\x66\x65\x61tures\x18\x03 \x01(\x0b\x32\x0f.proto.Features\x12\x14\n\x0c\x66\x65\x61tures_idx\x18\x04 \x01(\x04\x12#\n\tcomponent\x18\x05 \x01(\x0b\x32\x10.proto.Component\x12\x15\n\rcomponent_idx\x18\x06 \x01(\x04\x12\x33\n\x0funits_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xab\x01\n\x0cUnitObserved\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1d\n\x04type\x18\x02 \x01(\x0e\x32\x0f.proto.UnitType\x12\x18\n\x10\x63onfig_state_idx\x18\x03 \x01(\x04\x12\x1b\n\x05state\x18\x04 \x01(\x0e\x32\x0c.proto.State\x12\x0f\n\x07message\x18\x05 \x01(\t\x12(\n\x07payload\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xa6\x01\n\x1a\x43heckinObservedVersionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x39\n\x04meta\x18\x03 \x03(\x0b\x32+.proto.CheckinObservedVersionInfo.MetaEntry\x12\x12\n\nbuild_hash\x18\x04 \x01(\t\x1a+\n\tMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbf\x02\n\x0f\x43heckinObserved\x12\r\n\x05token\x18\x01 \x01(\t\x12\"\n\x05units\x18\x02 \x03(\x0b\x32\x13.proto.UnitObserved\x12<\n\x0cversion_info\x18\x03 \x01(\x0b\x32!.proto.CheckinObservedVersionInfoH\x00\x88\x01\x01\x12\x14\n\x0c\x66\x65\x61tures_idx\x18\x05 \x01(\x04\x12\x15\n\rcomponent_idx\x18\x06 \x01(\x04\x12\x33\n\x0funits_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08supports\x18\x08 \x03(\x0e\x32\x19.proto.ConnectionSupports\x12\x0b\n\x03pid\x18\t \x01(\x04\x42\x0f\n\r_version_infoJ\x04\x08\x04\x10\x05R\x08\x66\x65\x61tures\"\x92\x02\n\rActionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06params\x18\x03 \x01(\x0c\x12\x0f\n\x07unit_id\x18\x04 \x01(\t\x12\"\n\tunit_type\x18\x05 \x01(\x0e\x32\x0f.proto.UnitType\x12\'\n\x04type\x18\x06 \x01(\x0e\x32\x19.proto.ActionRequest.Type\x12)\n\x05level\x18\x07 \x01(\x0e\x32\x1a.proto.ActionRequest.Level\"#\n\x04Type\x12\n\n\x06\x43USTOM\x10\x00\x12\x0f\n\x0b\x44IAGNOSTICS\x10\x01\")\n\x05Level\x12\x07\n\x03\x41LL\x10\x00\x12\r\n\tCOMPONENT\x10\x01\x12\x08\n\x04UNIT\x10\x02\"\xa7\x01\n\x1a\x41\x63tionDiagnosticUnitResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x14\n\x0c\x63ontent_type\x18\x04 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x05 \x01(\x0c\x12-\n\tgenerated\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc3\x01\n\x0e\x41\x63tionResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12,\n\x06status\x18\x03 \x01(\x0e\x32\x1c.proto.ActionResponse.Status\x12\x0e\n\x06result\x18\x04 \x01(\x0c\x12\x35\n\ndiagnostic\x18\x05 \x03(\x0b\x32!.proto.ActionDiagnosticUnitResult\"!\n\x06Status\x12\x0b\n\x07SUCCESS\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\"\x8d\x02\n\x0bStartUpInfo\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x13\n\x0bserver_name\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x63\x61_cert\x18\x04 \x01(\x0c\x12\x11\n\tpeer_cert\x18\x05 \x01(\x0c\x12\x10\n\x08peer_key\x18\x06 \x01(\x0c\x12)\n\x08services\x18\x07 \x03(\x0e\x32\x17.proto.ConnInfoServices\x12+\n\x08supports\x18\x08 \x03(\x0e\x32\x19.proto.ConnectionSupports\x12\x18\n\x10max_message_size\x18\t \x01(\r\x12$\n\nagent_info\x18\n \x01(\x0b\x32\x10.proto.AgentInfo*)\n\x12\x43onnectionSupports\x12\x13\n\x0f\x43heckinChunking\x10\x00*h\n\x05State\x12\x0c\n\x08STARTING\x10\x00\x12\x0f\n\x0b\x43ONFIGURING\x10\x01\x12\x0b\n\x07HEALTHY\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06*!\n\x08UnitType\x12\t\n\x05INPUT\x10\x00\x12\n\n\x06OUTPUT\x10\x01*C\n\x0cUnitLogLevel\x12\t\n\x05\x45RROR\x10\x00\x12\x08\n\x04WARN\x10\x01\x12\x08\n\x04INFO\x10\x02\x12\t\n\x05\x44\x45\x42UG\x10\x03\x12\t\n\x05TRACE\x10\x04*/\n\x10\x41gentManagedMode\x12\x0b\n\x07MANAGED\x10\x00\x12\x0e\n\nSTANDALONE\x10\x01*P\n\x10\x43onnInfoServices\x12\x0b\n\x07\x43heckin\x10\x00\x12\r\n\tCheckinV2\x10\x01\x12\t\n\x05Store\x10\x02\x12\x0c\n\x08\x41rtifact\x10\x03\x12\x07\n\x03Log\x10\x04\x32\xc6\x01\n\x0c\x45lasticAgent\x12?\n\tCheckinV2\x12\x16.proto.CheckinObserved\x1a\x16.proto.CheckinExpected(\x01\x30\x01\x12:\n\x07\x41\x63tions\x12\x15.proto.ActionResponse\x1a\x14.proto.ActionRequest(\x01\x30\x01\x12\x39\n\x07\x43heckin\x12\x14.proto.StateObserved\x1a\x14.proto.StateExpected(\x01\x30\x01\x42\x14Z\x0fpkg/proto;proto\xf8\x01\x01\x62\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'elastic_agent_client_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'Z\017pkg/proto;proto\370\001\001'
38
+ _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._loaded_options = None
39
+ _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_options = b'8\001'
40
+ _globals['_CONNECTIONSUPPORTS']._serialized_start=3531
41
+ _globals['_CONNECTIONSUPPORTS']._serialized_end=3572
42
+ _globals['_STATE']._serialized_start=3574
43
+ _globals['_STATE']._serialized_end=3678
44
+ _globals['_UNITTYPE']._serialized_start=3680
45
+ _globals['_UNITTYPE']._serialized_end=3713
46
+ _globals['_UNITLOGLEVEL']._serialized_start=3715
47
+ _globals['_UNITLOGLEVEL']._serialized_end=3782
48
+ _globals['_AGENTMANAGEDMODE']._serialized_start=3784
49
+ _globals['_AGENTMANAGEDMODE']._serialized_end=3831
50
+ _globals['_CONNINFOSERVICES']._serialized_start=3833
51
+ _globals['_CONNINFOSERVICES']._serialized_end=3913
52
+ _globals['_PACKAGE']._serialized_start=139
53
+ _globals['_PACKAGE']._serialized_end=220
54
+ _globals['_META']._serialized_start=222
55
+ _globals['_META']._serialized_end=302
56
+ _globals['_DATASTREAM']._serialized_start=304
57
+ _globals['_DATASTREAM']._serialized_end=407
58
+ _globals['_STREAM']._serialized_start=409
59
+ _globals['_STREAM']._serialized_end=510
60
+ _globals['_UNITEXPECTEDCONFIG']._serialized_start=513
61
+ _globals['_UNITEXPECTEDCONFIG']._serialized_end=731
62
+ _globals['_UNITEXPECTED']._serialized_start=734
63
+ _globals['_UNITEXPECTED']._serialized_end=929
64
+ _globals['_AGENTINFO']._serialized_start=931
65
+ _globals['_AGENTINFO']._serialized_end=1050
66
+ _globals['_FEATURES']._serialized_start=1052
67
+ _globals['_FEATURES']._serialized_end=1137
68
+ _globals['_FQDNFEATURE']._serialized_start=1139
69
+ _globals['_FQDNFEATURE']._serialized_end=1169
70
+ _globals['_ELASTICAPMTLS']._serialized_start=1171
71
+ _globals['_ELASTICAPMTLS']._serialized_end=1247
72
+ _globals['_ELASTICAPM']._serialized_start=1250
73
+ _globals['_ELASTICAPM']._serialized_end=1441
74
+ _globals['_APMCONFIG']._serialized_start=1443
75
+ _globals['_APMCONFIG']._serialized_end=1490
76
+ _globals['_COMPONENT']._serialized_start=1492
77
+ _globals['_COMPONENT']._serialized_end=1601
78
+ _globals['_COMPONENTLIMITS']._serialized_start=1603
79
+ _globals['_COMPONENTLIMITS']._serialized_end=1683
80
+ _globals['_CHECKINEXPECTED']._serialized_start=1686
81
+ _globals['_CHECKINEXPECTED']._serialized_end=1947
82
+ _globals['_UNITOBSERVED']._serialized_start=1950
83
+ _globals['_UNITOBSERVED']._serialized_end=2121
84
+ _globals['_CHECKINOBSERVEDVERSIONINFO']._serialized_start=2124
85
+ _globals['_CHECKINOBSERVEDVERSIONINFO']._serialized_end=2290
86
+ _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_start=2247
87
+ _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_end=2290
88
+ _globals['_CHECKINOBSERVED']._serialized_start=2293
89
+ _globals['_CHECKINOBSERVED']._serialized_end=2612
90
+ _globals['_ACTIONREQUEST']._serialized_start=2615
91
+ _globals['_ACTIONREQUEST']._serialized_end=2889
92
+ _globals['_ACTIONREQUEST_TYPE']._serialized_start=2811
93
+ _globals['_ACTIONREQUEST_TYPE']._serialized_end=2846
94
+ _globals['_ACTIONREQUEST_LEVEL']._serialized_start=2848
95
+ _globals['_ACTIONREQUEST_LEVEL']._serialized_end=2889
96
+ _globals['_ACTIONDIAGNOSTICUNITRESULT']._serialized_start=2892
97
+ _globals['_ACTIONDIAGNOSTICUNITRESULT']._serialized_end=3059
98
+ _globals['_ACTIONRESPONSE']._serialized_start=3062
99
+ _globals['_ACTIONRESPONSE']._serialized_end=3257
100
+ _globals['_ACTIONRESPONSE_STATUS']._serialized_start=3224
101
+ _globals['_ACTIONRESPONSE_STATUS']._serialized_end=3257
102
+ _globals['_STARTUPINFO']._serialized_start=3260
103
+ _globals['_STARTUPINFO']._serialized_end=3529
104
+ _globals['_ELASTICAGENT']._serialized_start=3916
105
+ _globals['_ELASTICAGENT']._serialized_end=4114
106
+ # @@protoc_insertion_point(module_scope)
@@ -186,20 +186,22 @@ class ElasticAPMTLS(_message.Message):
186
186
  def __init__(self, skip_verify: bool = ..., server_cert: _Optional[str] = ..., server_ca: _Optional[str] = ...) -> None: ...
187
187
 
188
188
  class ElasticAPM(_message.Message):
189
- __slots__ = ("tls", "environment", "api_key", "secret_token", "hosts", "global_labels")
189
+ __slots__ = ("tls", "environment", "api_key", "secret_token", "hosts", "global_labels", "sampling_rate")
190
190
  TLS_FIELD_NUMBER: _ClassVar[int]
191
191
  ENVIRONMENT_FIELD_NUMBER: _ClassVar[int]
192
192
  API_KEY_FIELD_NUMBER: _ClassVar[int]
193
193
  SECRET_TOKEN_FIELD_NUMBER: _ClassVar[int]
194
194
  HOSTS_FIELD_NUMBER: _ClassVar[int]
195
195
  GLOBAL_LABELS_FIELD_NUMBER: _ClassVar[int]
196
+ SAMPLING_RATE_FIELD_NUMBER: _ClassVar[int]
196
197
  tls: ElasticAPMTLS
197
198
  environment: str
198
199
  api_key: str
199
200
  secret_token: str
200
201
  hosts: _containers.RepeatedScalarFieldContainer[str]
201
202
  global_labels: str
202
- def __init__(self, tls: _Optional[_Union[ElasticAPMTLS, _Mapping]] = ..., environment: _Optional[str] = ..., api_key: _Optional[str] = ..., secret_token: _Optional[str] = ..., hosts: _Optional[_Iterable[str]] = ..., global_labels: _Optional[str] = ...) -> None: ...
203
+ sampling_rate: float
204
+ def __init__(self, tls: _Optional[_Union[ElasticAPMTLS, _Mapping]] = ..., environment: _Optional[str] = ..., api_key: _Optional[str] = ..., secret_token: _Optional[str] = ..., hosts: _Optional[_Iterable[str]] = ..., global_labels: _Optional[str] = ..., sampling_rate: _Optional[float] = ...) -> None: ...
203
205
 
204
206
  class APMConfig(_message.Message):
205
207
  __slots__ = ("elastic",)
@@ -6,7 +6,7 @@ import warnings
6
6
  from . import elastic_agent_client_deprecated_pb2 as elastic__agent__client__deprecated__pb2
7
7
  from . import elastic_agent_client_pb2 as elastic__agent__client__pb2
8
8
 
9
- GRPC_GENERATED_VERSION = '1.66.1'
9
+ GRPC_GENERATED_VERSION = '1.68.1'
10
10
  GRPC_VERSION = grpc.__version__
11
11
  _version_not_supported = False
12
12
 
@@ -0,0 +1,7 @@
1
+ #
2
+ # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ # or more contributor license agreements. Licensed under the Elastic License 2.0;
4
+ # you may not use this file except in compliance with the Elastic License 2.0.
5
+ #
6
+
7
+ __version__ = "0.0.1.dev2"
@@ -1,6 +1,5 @@
1
1
  [project]
2
2
  name = "elastic_agent_client"
3
- version = "0.0.1.dev1"
4
3
  description = "A python implementation of an Elastic Agent Client"
5
4
  url = "https://github.com/elastic/python-elastic-agent-client"
6
5
  readme = "README.md"
@@ -18,6 +17,7 @@ classifiers = [
18
17
  "Programming Language :: Python :: 3.12",
19
18
  "License :: Other/Proprietary License"
20
19
  ]
20
+ dynamic = ["version"]
21
21
 
22
22
  requires-python = ">=3.10"
23
23
 
@@ -27,10 +27,10 @@ requires-python = ">=3.10"
27
27
  # If you add a dependancy here you will need to add it below
28
28
  # to the [tools.pip-licenses].packages definition.
29
29
  dependencies = [
30
- "grpcio>=1.65, <2",
31
- "grpcio-tools>=1.65, <2",
32
- "protobuf>=5.27, <5.28",
33
- "types-protobuf>=5.27, <5.28",
30
+ "grpcio>=1.65, <1.69",
31
+ "grpcio-tools>=1.65, <1.69",
32
+ "protobuf>=5.28, <5.29",
33
+ "types-protobuf>=5.28, <5.29",
34
34
  "uvloop>=0.20, <1",
35
35
  "ecs-logging>=2"
36
36
  ]
@@ -78,6 +78,9 @@ show_missing=true
78
78
  dev-mode-dirs = ["."]
79
79
  directory="dist"
80
80
 
81
+ [tool.hatch.version]
82
+ path = "elastic_agent_client/version.py"
83
+
81
84
  [tool.hatch.build.targets.sdist]
82
85
  include = [
83
86
  "elastic_agent_client"
@@ -1,106 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: elastic-agent-client.proto
5
- # Protobuf Python Version: 5.27.2
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 27,
16
- 2,
17
- '',
18
- 'elastic-agent-client.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
- from . import elastic_agent_client_deprecated_pb2 as elastic__agent__client__deprecated__pb2
28
-
29
-
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x65lastic-agent-client.proto\x12\x05proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%elastic-agent-client-deprecated.proto\"Q\n\x07Package\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\"P\n\x04Meta\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1f\n\x07package\x18\x02 \x01(\x0b\x32\x0e.proto.Package\"g\n\nDataStream\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x64\x61taset\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"e\n\x06Stream\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x02 \x01(\t\x12&\n\x0b\x64\x61ta_stream\x18\x03 \x01(\x0b\x32\x11.proto.DataStream\"\xda\x01\n\x12UnitExpectedConfig\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x10\n\x08revision\x18\x05 \x01(\x04\x12\x19\n\x04meta\x18\x06 \x01(\x0b\x32\x0b.proto.Meta\x12&\n\x0b\x64\x61ta_stream\x18\x07 \x01(\x0b\x32\x11.proto.DataStream\x12\x1e\n\x07streams\x18\x08 \x03(\x0b\x32\r.proto.Stream\"\xc3\x01\n\x0cUnitExpected\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1d\n\x04type\x18\x02 \x01(\x0e\x32\x0f.proto.UnitType\x12\x1b\n\x05state\x18\x03 \x01(\x0e\x32\x0c.proto.State\x12\x18\n\x10\x63onfig_state_idx\x18\x04 \x01(\x04\x12)\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x19.proto.UnitExpectedConfig\x12&\n\tlog_level\x18\x06 \x01(\x0e\x32\x13.proto.UnitLogLevel\"w\n\tAgentInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x10\n\x08snapshot\x18\x03 \x01(\x08\x12%\n\x04mode\x18\x04 \x01(\x0e\x32\x17.proto.AgentManagedMode\x12\x14\n\x0cUnprivileged\x18\x05 \x01(\x08\"U\n\x08\x46\x65\x61tures\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12 \n\x04\x66qdn\x18\x02 \x01(\x0b\x32\x12.proto.FQDNFeature\"\x1e\n\x0b\x46QDNFeature\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"L\n\rElasticAPMTLS\x12\x13\n\x0bskip_verify\x18\x01 \x01(\x08\x12\x13\n\x0bserver_cert\x18\x02 \x01(\t\x12\x11\n\tserver_ca\x18\x03 \x01(\t\"\x91\x01\n\nElasticAPM\x12!\n\x03tls\x18\x01 \x01(\x0b\x32\x14.proto.ElasticAPMTLS\x12\x13\n\x0b\x65nvironment\x18\x02 \x01(\t\x12\x0f\n\x07\x61pi_key\x18\x03 \x01(\t\x12\x14\n\x0csecret_token\x18\x04 \x01(\t\x12\r\n\x05hosts\x18\x05 \x03(\t\x12\x15\n\rglobal_labels\x18\x06 \x01(\t\"/\n\tAPMConfig\x12\"\n\x07\x65lastic\x18\x01 \x01(\x0b\x32\x11.proto.ElasticAPM\"m\n\tComponent\x12&\n\x06limits\x18\x01 \x01(\x0b\x32\x16.proto.ComponentLimits\x12)\n\napm_config\x18\x02 \x01(\x0b\x32\x10.proto.APMConfigH\x00\x88\x01\x01\x42\r\n\x0b_apm_config\"P\n\x0f\x43omponentLimits\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x14\n\x0cgo_max_procs\x18\x02 \x01(\x04\"\x85\x02\n\x0f\x43heckinExpected\x12\"\n\x05units\x18\x01 \x03(\x0b\x32\x13.proto.UnitExpected\x12$\n\nagent_info\x18\x02 \x01(\x0b\x32\x10.proto.AgentInfo\x12!\n\x08\x66\x65\x61tures\x18\x03 \x01(\x0b\x32\x0f.proto.Features\x12\x14\n\x0c\x66\x65\x61tures_idx\x18\x04 \x01(\x04\x12#\n\tcomponent\x18\x05 \x01(\x0b\x32\x10.proto.Component\x12\x15\n\rcomponent_idx\x18\x06 \x01(\x04\x12\x33\n\x0funits_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xab\x01\n\x0cUnitObserved\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1d\n\x04type\x18\x02 \x01(\x0e\x32\x0f.proto.UnitType\x12\x18\n\x10\x63onfig_state_idx\x18\x03 \x01(\x04\x12\x1b\n\x05state\x18\x04 \x01(\x0e\x32\x0c.proto.State\x12\x0f\n\x07message\x18\x05 \x01(\t\x12(\n\x07payload\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xa6\x01\n\x1a\x43heckinObservedVersionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x39\n\x04meta\x18\x03 \x03(\x0b\x32+.proto.CheckinObservedVersionInfo.MetaEntry\x12\x12\n\nbuild_hash\x18\x04 \x01(\t\x1a+\n\tMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbf\x02\n\x0f\x43heckinObserved\x12\r\n\x05token\x18\x01 \x01(\t\x12\"\n\x05units\x18\x02 \x03(\x0b\x32\x13.proto.UnitObserved\x12<\n\x0cversion_info\x18\x03 \x01(\x0b\x32!.proto.CheckinObservedVersionInfoH\x00\x88\x01\x01\x12\x14\n\x0c\x66\x65\x61tures_idx\x18\x05 \x01(\x04\x12\x15\n\rcomponent_idx\x18\x06 \x01(\x04\x12\x33\n\x0funits_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08supports\x18\x08 \x03(\x0e\x32\x19.proto.ConnectionSupports\x12\x0b\n\x03pid\x18\t \x01(\x04\x42\x0f\n\r_version_infoJ\x04\x08\x04\x10\x05R\x08\x66\x65\x61tures\"\x92\x02\n\rActionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06params\x18\x03 \x01(\x0c\x12\x0f\n\x07unit_id\x18\x04 \x01(\t\x12\"\n\tunit_type\x18\x05 \x01(\x0e\x32\x0f.proto.UnitType\x12\'\n\x04type\x18\x06 \x01(\x0e\x32\x19.proto.ActionRequest.Type\x12)\n\x05level\x18\x07 \x01(\x0e\x32\x1a.proto.ActionRequest.Level\"#\n\x04Type\x12\n\n\x06\x43USTOM\x10\x00\x12\x0f\n\x0b\x44IAGNOSTICS\x10\x01\")\n\x05Level\x12\x07\n\x03\x41LL\x10\x00\x12\r\n\tCOMPONENT\x10\x01\x12\x08\n\x04UNIT\x10\x02\"\xa7\x01\n\x1a\x41\x63tionDiagnosticUnitResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x14\n\x0c\x63ontent_type\x18\x04 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x05 \x01(\x0c\x12-\n\tgenerated\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc3\x01\n\x0e\x41\x63tionResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12,\n\x06status\x18\x03 \x01(\x0e\x32\x1c.proto.ActionResponse.Status\x12\x0e\n\x06result\x18\x04 \x01(\x0c\x12\x35\n\ndiagnostic\x18\x05 \x03(\x0b\x32!.proto.ActionDiagnosticUnitResult\"!\n\x06Status\x12\x0b\n\x07SUCCESS\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\"\x8d\x02\n\x0bStartUpInfo\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x13\n\x0bserver_name\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x63\x61_cert\x18\x04 \x01(\x0c\x12\x11\n\tpeer_cert\x18\x05 \x01(\x0c\x12\x10\n\x08peer_key\x18\x06 \x01(\x0c\x12)\n\x08services\x18\x07 \x03(\x0e\x32\x17.proto.ConnInfoServices\x12+\n\x08supports\x18\x08 \x03(\x0e\x32\x19.proto.ConnectionSupports\x12\x18\n\x10max_message_size\x18\t \x01(\r\x12$\n\nagent_info\x18\n \x01(\x0b\x32\x10.proto.AgentInfo*)\n\x12\x43onnectionSupports\x12\x13\n\x0f\x43heckinChunking\x10\x00*h\n\x05State\x12\x0c\n\x08STARTING\x10\x00\x12\x0f\n\x0b\x43ONFIGURING\x10\x01\x12\x0b\n\x07HEALTHY\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06*!\n\x08UnitType\x12\t\n\x05INPUT\x10\x00\x12\n\n\x06OUTPUT\x10\x01*C\n\x0cUnitLogLevel\x12\t\n\x05\x45RROR\x10\x00\x12\x08\n\x04WARN\x10\x01\x12\x08\n\x04INFO\x10\x02\x12\t\n\x05\x44\x45\x42UG\x10\x03\x12\t\n\x05TRACE\x10\x04*/\n\x10\x41gentManagedMode\x12\x0b\n\x07MANAGED\x10\x00\x12\x0e\n\nSTANDALONE\x10\x01*P\n\x10\x43onnInfoServices\x12\x0b\n\x07\x43heckin\x10\x00\x12\r\n\tCheckinV2\x10\x01\x12\t\n\x05Store\x10\x02\x12\x0c\n\x08\x41rtifact\x10\x03\x12\x07\n\x03Log\x10\x04\x32\xc6\x01\n\x0c\x45lasticAgent\x12?\n\tCheckinV2\x12\x16.proto.CheckinObserved\x1a\x16.proto.CheckinExpected(\x01\x30\x01\x12:\n\x07\x41\x63tions\x12\x15.proto.ActionResponse\x1a\x14.proto.ActionRequest(\x01\x30\x01\x12\x39\n\x07\x43heckin\x12\x14.proto.StateObserved\x1a\x14.proto.StateExpected(\x01\x30\x01\x42\x14Z\x0fpkg/proto;proto\xf8\x01\x01\x62\x06proto3')
31
-
32
- _globals = globals()
33
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'elastic_agent_client_pb2', _globals)
35
- if not _descriptor._USE_C_DESCRIPTORS:
36
- _globals['DESCRIPTOR']._loaded_options = None
37
- _globals['DESCRIPTOR']._serialized_options = b'Z\017pkg/proto;proto\370\001\001'
38
- _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._loaded_options = None
39
- _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_options = b'8\001'
40
- _globals['_CONNECTIONSUPPORTS']._serialized_start=3485
41
- _globals['_CONNECTIONSUPPORTS']._serialized_end=3526
42
- _globals['_STATE']._serialized_start=3528
43
- _globals['_STATE']._serialized_end=3632
44
- _globals['_UNITTYPE']._serialized_start=3634
45
- _globals['_UNITTYPE']._serialized_end=3667
46
- _globals['_UNITLOGLEVEL']._serialized_start=3669
47
- _globals['_UNITLOGLEVEL']._serialized_end=3736
48
- _globals['_AGENTMANAGEDMODE']._serialized_start=3738
49
- _globals['_AGENTMANAGEDMODE']._serialized_end=3785
50
- _globals['_CONNINFOSERVICES']._serialized_start=3787
51
- _globals['_CONNINFOSERVICES']._serialized_end=3867
52
- _globals['_PACKAGE']._serialized_start=139
53
- _globals['_PACKAGE']._serialized_end=220
54
- _globals['_META']._serialized_start=222
55
- _globals['_META']._serialized_end=302
56
- _globals['_DATASTREAM']._serialized_start=304
57
- _globals['_DATASTREAM']._serialized_end=407
58
- _globals['_STREAM']._serialized_start=409
59
- _globals['_STREAM']._serialized_end=510
60
- _globals['_UNITEXPECTEDCONFIG']._serialized_start=513
61
- _globals['_UNITEXPECTEDCONFIG']._serialized_end=731
62
- _globals['_UNITEXPECTED']._serialized_start=734
63
- _globals['_UNITEXPECTED']._serialized_end=929
64
- _globals['_AGENTINFO']._serialized_start=931
65
- _globals['_AGENTINFO']._serialized_end=1050
66
- _globals['_FEATURES']._serialized_start=1052
67
- _globals['_FEATURES']._serialized_end=1137
68
- _globals['_FQDNFEATURE']._serialized_start=1139
69
- _globals['_FQDNFEATURE']._serialized_end=1169
70
- _globals['_ELASTICAPMTLS']._serialized_start=1171
71
- _globals['_ELASTICAPMTLS']._serialized_end=1247
72
- _globals['_ELASTICAPM']._serialized_start=1250
73
- _globals['_ELASTICAPM']._serialized_end=1395
74
- _globals['_APMCONFIG']._serialized_start=1397
75
- _globals['_APMCONFIG']._serialized_end=1444
76
- _globals['_COMPONENT']._serialized_start=1446
77
- _globals['_COMPONENT']._serialized_end=1555
78
- _globals['_COMPONENTLIMITS']._serialized_start=1557
79
- _globals['_COMPONENTLIMITS']._serialized_end=1637
80
- _globals['_CHECKINEXPECTED']._serialized_start=1640
81
- _globals['_CHECKINEXPECTED']._serialized_end=1901
82
- _globals['_UNITOBSERVED']._serialized_start=1904
83
- _globals['_UNITOBSERVED']._serialized_end=2075
84
- _globals['_CHECKINOBSERVEDVERSIONINFO']._serialized_start=2078
85
- _globals['_CHECKINOBSERVEDVERSIONINFO']._serialized_end=2244
86
- _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_start=2201
87
- _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_end=2244
88
- _globals['_CHECKINOBSERVED']._serialized_start=2247
89
- _globals['_CHECKINOBSERVED']._serialized_end=2566
90
- _globals['_ACTIONREQUEST']._serialized_start=2569
91
- _globals['_ACTIONREQUEST']._serialized_end=2843
92
- _globals['_ACTIONREQUEST_TYPE']._serialized_start=2765
93
- _globals['_ACTIONREQUEST_TYPE']._serialized_end=2800
94
- _globals['_ACTIONREQUEST_LEVEL']._serialized_start=2802
95
- _globals['_ACTIONREQUEST_LEVEL']._serialized_end=2843
96
- _globals['_ACTIONDIAGNOSTICUNITRESULT']._serialized_start=2846
97
- _globals['_ACTIONDIAGNOSTICUNITRESULT']._serialized_end=3013
98
- _globals['_ACTIONRESPONSE']._serialized_start=3016
99
- _globals['_ACTIONRESPONSE']._serialized_end=3211
100
- _globals['_ACTIONRESPONSE_STATUS']._serialized_start=3178
101
- _globals['_ACTIONRESPONSE_STATUS']._serialized_end=3211
102
- _globals['_STARTUPINFO']._serialized_start=3214
103
- _globals['_STARTUPINFO']._serialized_end=3483
104
- _globals['_ELASTICAGENT']._serialized_start=3870
105
- _globals['_ELASTICAGENT']._serialized_end=4068
106
- # @@protoc_insertion_point(module_scope)